-
-
Notifications
You must be signed in to change notification settings - Fork 29
Update: footer links #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,22 +13,26 @@ export const Footer = () => { | |
| <div className="font-medium text-sm sm:text-base">StablePay</div> | ||
| </div> | ||
| <nav className="flex flex-wrap justify-center gap-x-4 gap-y-2 sm:gap-4 w-full sm:w-auto lg:flex-1 lg:justify-center"> | ||
| <a href="#" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| <a href="https://docs.stability.nexus/about-us/the-djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| Features | ||
| </a> | ||
| <a href="#" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| <a href="https://docs.stability.nexus/about-us/the-djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| Docs | ||
| </a> | ||
| <a href="#" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| <a href="https://medium.com/djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| Blog | ||
| </a> | ||
| <a href="#" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| <a href="https://github.com/DjedAlliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition"> | ||
| Github | ||
| </a> | ||
| </nav> | ||
| <div className="flex gap-4 sm:gap-5 justify-center w-full sm:w-auto lg:flex-1 lg:justify-end"> | ||
| <XSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" /> | ||
| <YTSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" /> | ||
| <a href={"https://x.com/DjedAlliance"}> | ||
| <XSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" /> | ||
| </a> | ||
| <a href={"https://www.youtube.com/watch?v=v_9NHSBhWvs&t=6s"}> | ||
| <YTSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" /> | ||
| </a> | ||
|
Comment on lines
+30
to
+35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add security and accessibility attributes; verify YouTube link target. Several issues with the social media links:
🔗 Proposed fix- <a href={"https://x.com/DjedAlliance"}>
+ <a href="https://x.com/DjedAlliance" target="_blank" rel="noopener noreferrer" aria-label="Follow us on X (Twitter)">
<XSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" />
</a>
- <a href={"https://www.youtube.com/watch?v=v_9NHSBhWvs&t=6s"}>
+ <a href="https://www.youtube.com/@DjedAlliance" target="_blank" rel="noopener noreferrer" aria-label="Subscribe to our YouTube channel">
<YTSocial className="text-white/40 hover:text-white transition w-5 h-5 sm:w-6 sm:h-6" />
</a>Note: Replace 🤖 Prompt for AI Agents |
||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Features and Docs links point to the same URL; add security attributes for external links.
Two issues identified:
Duplicate URL (lines 16 and 19): Both "Features" and "Docs" navigate to the same URL (
https://docs.stability.nexus/about-us/the-djed-alliance). This is likely unintentional and creates a confusing user experience.Missing security and UX attributes: External links should include
target="_blank"andrel="noopener noreferrer"to open in a new tab and prevent potential security vulnerabilities viawindow.opener.🔗 Proposed fix
Replace
[CORRECT_DOCS_URL]with the intended documentation URL.🤖 Prompt for AI Agents