Skip to content

Add YouTube Button to Redirect to Official Channel (#314)#315

Open
ankitkr104 wants to merge 2 commits intoAOSSIE-Org:mainfrom
ankitkr104:main
Open

Add YouTube Button to Redirect to Official Channel (#314)#315
ankitkr104 wants to merge 2 commits intoAOSSIE-Org:mainfrom
ankitkr104:main

Conversation

@ankitkr104
Copy link

@ankitkr104 ankitkr104 commented Feb 23, 2026

Description

This PR adds a YouTube button to the website that redirects users to the official YouTube channel.

The button has been added to the appropriate section (header/footer) following the existing UI design and styling conventions. It opens the YouTube link in a new tab using secure redirection (target="_blank" with rel="noopener noreferrer").

This enhancement improves accessibility to video content, tutorials, and updates, and strengthens community engagement.

Fixes #314

Summary by CodeRabbit

  • New Features
    • Added a YouTube social link in the About section, giving users direct access to the official YouTube channel alongside other social platforms.
    • The link opens the YouTube channel in a new browser tab for a seamless transition without leaving the site.

@ankitkr104 ankitkr104 requested a review from a team as a code owner February 23, 2026 05:37
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

📝 Walkthrough

Walkthrough

Added a YouTube icon import and a new YouTube social link button to the About component; the link opens the official YouTube channel in a new browser tab.

Changes

Cohort / File(s) Summary
Social Links Enhancement
app/components/About/About.jsx
Imported FaYoutube and added a YouTube anchor button in the social-links section (opens in a new tab).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

enhancement, good first issue

Suggested reviewers

  • M4dhav

Poem

🐰 I hopped to the About page with cheer,
A tiny red play button now appears,
Click and it opens a channel so near,
Videos and joy—hip-hop hooray, my dear!

🚥 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 clearly and specifically describes the main change: adding a YouTube button to redirect to the official channel, which is the primary focus of the PR.
Linked Issues check ✅ Passed The PR successfully implements all coding requirements from issue #314: adds a YouTube button, includes proper redirection with target='_blank' for new tab opening, follows existing UI design conventions, and maintains component functionality.
Out of Scope Changes check ✅ Passed All changes are directly related to the linked issue #314 objective of adding a YouTube button with proper styling and redirection behavior.
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 (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@app/components/About/About.jsx`:
- Around line 42-44: The YouTube anchor around the FaYoutube icon is missing
target="_blank" and rel="noopener noreferrer"; update the anchor element that
contains <FaYoutube /> (and other social link anchors if you want consistency)
to include target="_blank" and rel="noopener noreferrer" so the link opens in a
new tab safely, ensuring you add both attributes to the <a> element that wraps
FaYoutube.

Comment on lines +42 to +44
<a href="https://youtu.be/IWtFc72BNhM?si=LbgN2t3A3pOE4P-Y">
<FaYoutube />
</a>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

target="_blank" and rel="noopener noreferrer" are missing.

The PR description and issue #314 both explicitly state the link should open in a new tab with secure redirection, but neither attribute is present on the new anchor. All other existing social links also lack these attributes, so this gap is systemic — but this PR is the right place to introduce the pattern since it is the stated intent.

🛠️ Proposed fix
-            <a href="https://youtu.be/IWtFc72BNhM?si=LbgN2t3A3pOE4P-Y">
+            <a href="https://www.youtube.com/@<official-channel-handle>" target="_blank" rel="noopener noreferrer">
               <FaYoutube />
             </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 42 - 44, The YouTube anchor
around the FaYoutube icon is missing target="_blank" and rel="noopener
noreferrer"; update the anchor element that contains <FaYoutube /> (and other
social link anchors if you want consistency) to include target="_blank" and
rel="noopener noreferrer" so the link opens in a new tab safely, ensuring you
add both attributes to the <a> element that wraps FaYoutube.

@ankitkr104
Copy link
Author

hey @M4dhav ,

This PR introduces a small but useful enhancement by adding a YouTube button that redirects users to the official channel.
Youtube

The implementation follows the existing UI design, maintains responsiveness, and uses secure external redirection. It does not introduce any breaking changes or affect existing functionality.

Since this is a minor and beneficial feature, I kindly request the maintainers to review and merge it once the pending checks are completed.

Thank you.

@ayush00git
Copy link

Hey @ankitkr104
It won't redirect to the youtube channel, it would open it on the same page. add an attributte target="_blank" to the anchor tag to redirect it.

Added target='_blank' to YouTube link for external opening.
Copy link
Author

@ankitkr104 ankitkr104 left a comment

Choose a reason for hiding this comment

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

Thank you for the suggestion @M4dhav ,

I have updated the YouTube anchor tag to include target="_blank" so it now opens in a new tab.

Please review the latest changes.

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.

♻️ Duplicate comments (1)
app/components/About/About.jsx (1)

42-44: ⚠️ Potential issue | 🟡 Minor

Two issues from the prior review remain unresolved: wrong URL and missing rel.

  1. Wrong URL (functional)https://youtu.be/IWtFc72BNhM?si=LbgN2t3A3pOE4P-Y is a share link to a single video, not the official YouTube channel page. The PR objective and issue #314 both explicitly require a link to the channel.

  2. Missing rel="noopener noreferrer" (security)target="_blank" without rel="noopener noreferrer" leaves window.opener accessible to the linked page, enabling reverse tabnapping.

🛠️ Proposed fix
-            <a href="https://youtu.be/IWtFc72BNhM?si=LbgN2t3A3pOE4P-Y" target="_blank">
+            <a href="https://www.youtube.com/@AossieOrg" target="_blank" rel="noopener noreferrer">
               <FaYoutube />
             </a>

Replace @AossieOrg with the actual official channel handle if it differs.

🤖 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 42 - 44, The anchor in the About
component uses a single-video share URL and omits rel; update the <a> element in
About (About.jsx) that wraps <FaYoutube /> to point to the official YouTube
channel URL (not a youtu.be video link) and add rel="noopener noreferrer"
alongside target="_blank"; if the channel handle differs replace the
placeholder/@AossieOrg with the actual official channel handle in the href.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@app/components/About/About.jsx`:
- Around line 42-44: The anchor in the About component uses a single-video share
URL and omits rel; update the <a> element in About (About.jsx) that wraps
<FaYoutube /> to point to the official YouTube channel URL (not a youtu.be video
link) and add rel="noopener noreferrer" alongside target="_blank"; if the
channel handle differs replace the placeholder/@AossieOrg with the actual
official channel handle in the href.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4a4c057 and c97c04a.

📒 Files selected for processing (1)
  • app/components/About/About.jsx

@ayush00git
Copy link

Thank you for the suggestion @M4dhav ,

I have updated the YouTube anchor tag to include target="_blank" so it now opens in a new tab.

Please review the latest changes.

Hey i'm not a maintainer, i'm just a contributor trying to help.
actually i think you need to add the youtube link to the AOSSIE's main youtube channel and not to the resonate's video.
this one - https://www.youtube.com/@AOSSIE-Org

Copy link

@ayush00git ayush00git left a comment

Choose a reason for hiding this comment

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

I think the link should be to the main AOSSIE"s youtube channel
change the link to this - https://www.youtube.com/@AOSSIE-Org

@ankitkr104
Copy link
Author

Hey @ayush00git ,
Thanks for pointing out, but this project made for resonate website that's why I attached particular video link and also the video is also created by me.

In future if any channel is created then we add into them.

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.

Add YouTube Button to Redirect to Official Channel

2 participants