Skip to content

Update: footer links - #55

Open
Nikuunj wants to merge 1 commit into
DjedAlliance:mainfrom
Nikuunj:main
Open

Update: footer links#55
Nikuunj wants to merge 1 commit into
DjedAlliance:mainfrom
Nikuunj:main

Conversation

@Nikuunj

@Nikuunj Nikuunj commented Jan 10, 2026

Copy link
Copy Markdown

Updated footer link

fix #54

Summary by CodeRabbit

  • Bug Fixes
    • Fixed footer navigation links to point to actual destination pages for Features, Docs, Blog, and GitHub resources.
    • Social media icons in the footer now include clickable links to respective external social profiles, enabling users to easily connect.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 10, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The Footer component in src/sections/Footer.tsx was updated to replace placeholder navigation link hrefs with concrete external URLs and to wrap social media icons in anchor tags, enabling them to function as clickable links to external profiles.

Changes

Cohort / File(s) Summary
Footer Navigation Links
src/sections/Footer.tsx
Replaced placeholder hrefs (#) with actual external URLs for Features, Docs, Blog, and Github links; wrapped XSocial and YTSocial icon components in anchor tags linking to external profiles. (+10/-6 lines)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • Tanya-ruby

Poem

🐰 The footer links were sleeping deep,
No URLs to their promises keep,
But now with href awakened bright,
And social anchors shining tight,
Navigation hops with pure delight! 🔗

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update: footer links' directly corresponds to the main change: updating footer navigation links and social icon links with concrete URLs.
Linked Issues check ✅ Passed The PR addresses issue #54 by updating footer links with concrete external URLs and wrapping social icons in anchor tags, fulfilling the requirement to fix footer link functionality.
Out of Scope Changes check ✅ Passed All changes in the PR are scoped to footer link updates; no unrelated modifications were introduced beyond the stated objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In @src/sections/Footer.tsx:
- Around line 16-27: In Footer.tsx the "Features" and "Docs" anchors both point
to the same URL and external anchors lack security attributes; update the "Docs"
anchor's href to the correct documentation URL (replace the duplicated
https://docs.stability.nexus/about-us/the-djed-alliance with the intended docs
URL for the element labeled "Docs") and add target="_blank" and rel="noopener
noreferrer" to all external <a> elements (the anchors labeled "Features",
"Docs", "Blog", "Github") so they open in a new tab securely.
- Around line 30-35: Update the two social anchor elements wrapping XSocial and
YTSocial: remove unnecessary curly braces around the href string literals, add
target="_blank" and rel="noopener noreferrer" to open external links securely,
and add descriptive aria-label attributes (e.g., aria-label="X (formerly
Twitter)" and aria-label="YouTube") so the icon-only links are accessible; also
confirm whether the YTSocial href should point to the channel URL (e.g.,
https://www.youtube.com/@DjedAlliance) instead of the specific video URL and
update if needed.
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1ccf238 and 99c2277.

📒 Files selected for processing (1)
  • src/sections/Footer.tsx

Comment thread src/sections/Footer.tsx
Comment on lines +16 to 27
<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>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Features and Docs links point to the same URL; add security attributes for external links.

Two issues identified:

  1. 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.

  2. Missing security and UX attributes: External links should include target="_blank" and rel="noopener noreferrer" to open in a new tab and prevent potential security vulnerabilities via window.opener.

🔗 Proposed fix
-              <a href="https://docs.stability.nexus/about-us/the-djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
+              <a href="https://docs.stability.nexus/about-us/the-djed-alliance" target="_blank" rel="noopener noreferrer" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
                 Features
               </a>
-              <a href="https://docs.stability.nexus/about-us/the-djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
+              <a href="[CORRECT_DOCS_URL]" target="_blank" rel="noopener noreferrer" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
                 Docs
               </a>
-              <a href="https://medium.com/djed-alliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
+              <a href="https://medium.com/djed-alliance" target="_blank" rel="noopener noreferrer" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
                 Blog
               </a>
-              <a href="https://github.com/DjedAlliance" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
+              <a href="https://github.com/DjedAlliance" target="_blank" rel="noopener noreferrer" className="text-white/70 hover:text-white text-xs sm:text-sm transition">
                 Github
               </a>

Replace [CORRECT_DOCS_URL] with the intended documentation URL.

🤖 Prompt for AI Agents
In @src/sections/Footer.tsx around lines 16 - 27, In Footer.tsx the "Features"
and "Docs" anchors both point to the same URL and external anchors lack security
attributes; update the "Docs" anchor's href to the correct documentation URL
(replace the duplicated https://docs.stability.nexus/about-us/the-djed-alliance
with the intended docs URL for the element labeled "Docs") and add
target="_blank" and rel="noopener noreferrer" to all external <a> elements (the
anchors labeled "Features", "Docs", "Blog", "Github") so they open in a new tab
securely.

Comment thread src/sections/Footer.tsx
Comment on lines +30 to +35
<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>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add security and accessibility attributes; verify YouTube link target.

Several issues with the social media links:

  1. Missing security attributes: External links require target="_blank" and rel="noopener noreferrer" for security and UX.

  2. Missing accessibility labels: Icon-only links need aria-label attributes so screen reader users can identify their purpose.

  3. YouTube link specificity: The YouTube link points to a specific video with a timestamp rather than the channel page. Verify this is intentional.

  4. Unnecessary curly braces: The href values don't need curly braces around string literals.

🔗 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 https://www.youtube.com/@DjedAlliance with the correct channel URL if different, or keep the specific video URL if that's intentional.

🤖 Prompt for AI Agents
In @src/sections/Footer.tsx around lines 30 - 35, Update the two social anchor
elements wrapping XSocial and YTSocial: remove unnecessary curly braces around
the href string literals, add target="_blank" and rel="noopener noreferrer" to
open external links securely, and add descriptive aria-label attributes (e.g.,
aria-label="X (formerly Twitter)" and aria-label="YouTube") so the icon-only
links are accessible; also confirm whether the YTSocial href should point to the
channel URL (e.g., https://www.youtube.com/@DjedAlliance) instead of the
specific video URL and update if needed.

@Nikuunj

Nikuunj commented Jan 13, 2026

Copy link
Copy Markdown
Author

@Tanya-ruby

@Nikuunj

Nikuunj commented Jan 23, 2026

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Footer Link

1 participant