Skip to content

Add AOSSIE YouTube to social links (header, footer, About, README)#312

Closed
Alishasaroha wants to merge 3 commits intoAOSSIE-Org:mainfrom
Alishasaroha:main
Closed

Add AOSSIE YouTube to social links (header, footer, About, README)#312
Alishasaroha wants to merge 3 commits intoAOSSIE-Org:mainfrom
Alishasaroha:main

Conversation

@Alishasaroha
Copy link

@Alishasaroha Alishasaroha commented Feb 22, 2026

Description

Added the official AOSSIE YouTube channel to all social link sections of the website, including the header, footer, and About section, and included it in the README under "Connect With Us".

This keeps social links consistent across the project and makes AOSSIE’s video content easier for users and contributors to discover.

Updates include:

  • Footer social icons
  • Header social icons
  • About section social icons
  • README "Connect With Us" section

This ensures users and contributors can easily access AOSSIE’s YouTube content from all relevant parts of the site.

Fixes #305
Fixes #312
Screenshot 2026-02-22 211108
Screenshot 2026-02-22 211147

Type of change

  • Documentation update
  • UI/UX update

How Has This Been Tested?

  • Ran the website locally using npm run dev
  • Verified the YouTube icon appears in the header, footer, and About section
  • Confirmed all YouTube links open the official AOSSIE channel in a new tab
  • Checked the README displays the updated "Connect With Us" section correctly

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Summary by CodeRabbit

  • New Features

    • Added YouTube social link across the navigation bar, footer, and About section so users can access the project's YouTube channel directly.
  • Documentation

    • Added a "Connect With Us" section listing social channels (GitHub, X/Twitter, LinkedIn, YouTube) for easier community engagement and visibility.

@Alishasaroha Alishasaroha requested a review from a team as a code owner February 22, 2026 15:44
@coderabbitai
Copy link

coderabbitai bot commented Feb 22, 2026

📝 Walkthrough

Walkthrough

Added YouTube social links to About, Footer, and NavBar; introduced a structured exported viewport object in app/layout.js; and added a "Connect With Us" section to README.md. Changes are UI/documentation additions plus a new exported layout config; no business logic altered.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added "Connect With Us" section with social links (GitHub, X/Twitter, LinkedIn, YouTube) and minor formatting adjustments.
UI: Social links
app/components/About/About.jsx, app/components/Layout/Footer/index.jsx, app/components/Layout/NavBar/index.jsx
Imported FaYoutube and added corresponding YouTube anchor/icon in three components using existing external-link attributes (href, target="_blank", rel="noopener noreferrer", aria-label).
Layout export
app/layout.js
Replaced inline viewport string with a new exported viewport object (themeColor, width: "device-width", initialScale: 1).

Sequence Diagram(s)

(omitted)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

enhancement

Suggested reviewers

  • M4dhav

Poem

🐇 I hopped along the site today, a bright YouTube star to show,
Icons sparkle in the navbar, footer, and About row.
A tiny viewport I deliver, tidy and polite,
Come click, subscribe, and giggle — the rabbit says good night! 🎬✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The app/layout.js viewport configuration change appears unrelated to adding YouTube social links and may be out of scope for this PR's stated objectives. Remove the viewport configuration changes from app/layout.js or clarify their relationship to the YouTube feature in the PR description.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and concisely summarizes the main change: adding YouTube social links across header, footer, About section, and README.
Linked Issues check ✅ Passed All objectives from #306 are met: YouTube links added to header (NavBar), footer, About section, and README with proper icon imports and accessibility attributes.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (4)
README.md (1)

101-106: Consider markdown link formatting in "Connect With Us".

Plain-text URLs are valid but markdown-formatted hyperlinks are more conventional in READMEs and keep the section visually consistent with the rest of the document (e.g., the Tech Stack and Contributing sections already use [text](url) style).

✏️ Proposed fix
 ## 🔗 Connect With Us
 
-- GitHub: https://github.com/AOSSIE-Org
-- X (Twitter): https://x.com/aossie_org
-- LinkedIn: https://www.linkedin.com/company/aossie
-- YouTube: https://youtube.com/@AOSSIE
+- [GitHub](https://github.com/AOSSIE-Org)
+- [X (Twitter)](https://x.com/aossie_org)
+- [LinkedIn](https://www.linkedin.com/company/aossie)
+- [YouTube](https://www.youtube.com/@AOSSIE)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 101 - 106, The "## 🔗 Connect With Us" list currently
uses plain-text URLs; update each list item under that heading (e.g., the
GitHub, X (Twitter), LinkedIn, and YouTube entries) to use markdown link syntax
like [GitHub](https://github.com/AOSSIE-Org) so the section matches the rest of
the README's `[text](url)` style and improves readability.
app/components/Layout/NavBar/index.jsx (1)

63-73: Attribute indentation is off by one space.

Lines 64–69 use 11-space indentation for the anchor's attributes, while the sibling GitHub anchor (lines 55–59) uses 12 spaces. There is also trailing whitespace on Line 73.

✏️ Proposed fix
          <a
-           href="https://youtube.com/@AOSSIE"
-           target="_blank"
-           rel="noopener noreferrer"
-           className="nav-link"
-           onClick={handleLinkClick}
-           aria-label="YouTube"
+            href="https://youtube.com/@AOSSIE"
+            target="_blank"
+            rel="noopener noreferrer"
+            className="nav-link"
+            onClick={handleLinkClick}
+            aria-label="YouTube"
          >
            <FaYoutube size={20} />
-          </a>
-          
+          </a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/components/Layout/NavBar/index.jsx` around lines 63 - 73, The anchor for
the YouTube link has misaligned attributes and trailing whitespace; update the
attribute indentation on the <a> element (the one with href
"https://youtube.com/@AOSSIE", onClick handler handleLinkClick and child
<FaYoutube>) so its attributes use the same column spacing as the sibling GitHub
anchor (match the 12-space indentation pattern) and remove the trailing
whitespace after the closing tag; ensure consistent indentation for all
attributes and no extra spaces at line ends.
app/components/About/About.jsx (1)

27-44: Existing external links in About are missing target, rel, and aria-label.

The new YouTube link correctly adds target="_blank", rel="noopener noreferrer", and aria-label, but the four pre-existing external links (GitLab, GitHub, Discord, Twitter) are missing all three, leaving them inconsistent and vulnerable to reverse tabnapping while also failing accessibility requirements for icon-only anchors.

✏️ Proposed fix
-            <a href="https://gitlab.com/aossie">
+            <a href="https://gitlab.com/aossie" target="_blank" rel="noopener noreferrer" aria-label="GitLab">
               <SiGitlab />
             </a>
-            <a href="https://github.com/AOSSIE-Org">
+            <a href="https://github.com/AOSSIE-Org" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
               <FaGithub />
             </a>
-            <a href="https://discord.com/invite/MMZBadkYFm">
+            <a href="https://discord.com/invite/MMZBadkYFm" target="_blank" rel="noopener noreferrer" aria-label="Discord">
               <FaDiscord />
             </a>
-            <a href="https://x.com/aossie_org">
+            <a href="https://x.com/aossie_org" target="_blank" rel="noopener noreferrer" aria-label="X (Twitter)">
               <BsTwitterX />
             </a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/components/About/About.jsx` around lines 27 - 44, In About.jsx add
target="_blank" rel="noopener noreferrer" and a descriptive aria-label to each
external icon anchor (the anchors wrapping SiGitlab, FaGithub, FaDiscord,
BsTwitterX) so they match the YouTube link and avoid reverse tabnapping and
improve accessibility; update the anchor elements in the About component that
currently wrap SiGitlab, FaGithub, FaDiscord and BsTwitterX to include those
attributes and meaningful aria-label values (e.g., "GitLab", "GitHub",
"Discord", "X / Twitter").
app/components/Layout/Footer/index.jsx (1)

38-45: Indentation inconsistency in new YouTube anchor.

target and aria-label (Line 41–42) are indented 11 spaces, and <FaYoutube /> (Line 44) 10 spaces, while all sibling anchor blocks indent their attributes and icon at 12 spaces.

✏️ Proposed fix
          <a
            href="https://youtube.com/@AOSSIE"
            rel="noopener noreferrer"
-           target="_blank"
-           aria-label="YouTube"
+            target="_blank"
+            aria-label="YouTube"
          >
-          <FaYoutube />
+            <FaYoutube />
          </a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/components/Layout/Footer/index.jsx` around lines 38 - 45, The new YouTube
anchor block has inconsistent indentation for its attributes and icon; adjust
the indentation in the Footer component so the anchor's attributes (target, rel,
aria-label) and the <FaYoutube /> element use the same 12-space alignment as the
other social anchors; locate the anchor with href="https://youtube.com/@AOSSIE"
and realign target and aria-label and the <FaYoutube /> line to match the
sibling anchor blocks.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@app/components/About/About.jsx`:
- Around line 27-44: In About.jsx add target="_blank" rel="noopener noreferrer"
and a descriptive aria-label to each external icon anchor (the anchors wrapping
SiGitlab, FaGithub, FaDiscord, BsTwitterX) so they match the YouTube link and
avoid reverse tabnapping and improve accessibility; update the anchor elements
in the About component that currently wrap SiGitlab, FaGithub, FaDiscord and
BsTwitterX to include those attributes and meaningful aria-label values (e.g.,
"GitLab", "GitHub", "Discord", "X / Twitter").

In `@app/components/Layout/Footer/index.jsx`:
- Around line 38-45: The new YouTube anchor block has inconsistent indentation
for its attributes and icon; adjust the indentation in the Footer component so
the anchor's attributes (target, rel, aria-label) and the <FaYoutube /> element
use the same 12-space alignment as the other social anchors; locate the anchor
with href="https://youtube.com/@AOSSIE" and realign target and aria-label and
the <FaYoutube /> line to match the sibling anchor blocks.

In `@app/components/Layout/NavBar/index.jsx`:
- Around line 63-73: The anchor for the YouTube link has misaligned attributes
and trailing whitespace; update the attribute indentation on the <a> element
(the one with href "https://youtube.com/@AOSSIE", onClick handler
handleLinkClick and child <FaYoutube>) so its attributes use the same column
spacing as the sibling GitHub anchor (match the 12-space indentation pattern)
and remove the trailing whitespace after the closing tag; ensure consistent
indentation for all attributes and no extra spaces at line ends.

In `@README.md`:
- Around line 101-106: The "## 🔗 Connect With Us" list currently uses
plain-text URLs; update each list item under that heading (e.g., the GitHub, X
(Twitter), LinkedIn, and YouTube entries) to use markdown link syntax like
[GitHub](https://github.com/AOSSIE-Org) so the section matches the rest of the
README's `[text](url)` style and improves readability.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
app/layout.js (1)

21-27: Correctly migrates viewport config out of metadata; width and initialScale are redundant.

The viewport option in metadata is deprecated as of Next.js 14 — the viewport configuration export should be used instead. Moving themeColor here is the right fix.

However, Next.js always adds <meta name="viewport" content="width=device-width, initial-scale=1" /> by default, even if a route doesn't define any viewport metadata. This makes width: "device-width" and initialScale: 1 redundant — only themeColor carries new information here.

♻️ Slim the viewport export to the non-default field only
 export const viewport = {
   themeColor: "#000000",
-  width: "device-width",
-  initialScale: 1,
 };

Optionally, since this is a .js file, a JSDoc annotation can add type safety: /** @type {import("next").Viewport} */.

🛡️ Optional JSDoc type annotation
+/** `@type` {import("next").Viewport} */
 export const viewport = {
   themeColor: "#000000",
 };
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/layout.js` around lines 21 - 27, The exported viewport object (export
const viewport) includes redundant defaults; remove the width and initialScale
properties so only the non-default field themeColor remains (i.e., change export
const viewport to only include themeColor), and optionally add a JSDoc type
annotation /** `@type` {import("next").Viewport} */ above the viewport export to
get type safety in this .js file.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@app/layout.js`:
- Around line 21-27: The exported viewport object (export const viewport)
includes redundant defaults; remove the width and initialScale properties so
only the non-default field themeColor remains (i.e., change export const
viewport to only include themeColor), and optionally add a JSDoc type annotation
/** `@type` {import("next").Viewport} */ above the viewport export to get type
safety in this .js file.

@aniket866
Copy link
Contributor

Closing as: PR without assignment

@aniket866 aniket866 closed this Mar 15, 2026
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.

Feat/Add Official YouTube Social Link to Website and README

2 participants