Skip to content

Update Twitter logo to X across the website#551

Open
prashantkumarniraj wants to merge 2 commits intoAOSSIE-Org:mainfrom
prashantkumarniraj:update-x-logo
Open

Update Twitter logo to X across the website#551
prashantkumarniraj wants to merge 2 commits intoAOSSIE-Org:mainfrom
prashantkumarniraj:update-x-logo

Conversation

@prashantkumarniraj
Copy link

@prashantkumarniraj prashantkumarniraj commented Feb 2, 2026

This PR updates the Twitter social media icon to the official X logo
while keeping the existing links unchanged.

Fixes #519

Summary by CodeRabbit

  • Style
    • Updated Twitter social link icons throughout the site
    • Adjusted responsive text sizing on the About page for medium-sized displays

@vercel
Copy link

vercel bot commented Feb 2, 2026

@prashantkumarniraj is attempting to deploy a commit to the AOSSIE Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link

coderabbitai bot commented Feb 2, 2026

📝 Walkthrough

Walkthrough

The pull request updates Twitter branding to X across two site components by replacing the faTwitter FontAwesome icon with faXTwitter, and simplifies responsive typography in the About page by removing intermediate CSS breakpoints for a narrower font-size coverage.

Changes

Cohort / File(s) Summary
Twitter/X Icon Update
src/components/Footer.jsx, src/pages/index.jsx
Replaced faTwitter with faXTwitter FontAwesome icon in imports and Twitter social link renderings to reflect X branding. Minor quote style consistency fix in one file.
Responsive Design Simplification
src/pages/about.jsx
Removed intermediate responsive breakpoints (sm:text-6xl, md:text-5xl, md:text-6xl) from section headings, reducing font-size variants for smaller and medium viewports.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 The bird has migrated to a letter X,
Icons updated—no more Twitter hex,
AOSSIE hops along with modern style,
Brand new logos make us smile! ✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR includes one out-of-scope change: removal of responsive Tailwind CSS breakpoints (md:text-6xl, md:text-5xl, sm:text-6xl) from the About page, unrelated to the Twitter-to-X logo update objective. Revert the responsive class removals in src/pages/about.jsx to keep changes focused solely on the Twitter-to-X logo update as specified in issue #519.
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
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly and accurately summarizes the main change: replacing the Twitter icon with the X logo across the website.
Linked Issues check ✅ Passed The PR successfully implements the requirement from issue #519: replacing the outdated Twitter bird icon with the official X logo while maintaining existing links.

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 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.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/pages/index.jsx (1)

90-95: ⚠️ Potential issue | 🟡 Minor

Update the aria-label to match X branding.

This keeps accessibility text consistent with the visual icon.

🔧 Suggested fix
-                  <Link
-                    aria-label="Follow on Twitter"
+                  <Link
+                    aria-label="Follow on X"
                     className="text-zinc-500 transition hover:text-[`#00843D`] dark:text-zinc-400 dark:hover:text-yellow-400"
                     href="https://twitter.com/aossie_org"
                   >
🤖 Fix all issues with AI agents
In `@src/components/Footer.jsx`:
- Around line 48-49: The aria-label for the social link currently reads "Follow
on Twitter" and should be updated to reflect X branding; in the Footer component
update the Link with aria-label (used in the JSX around FontAwesomeIcon and
className) to "Follow on X" or "Follow on X (Twitter)" so screen readers
announce the correct service name.
- Line 6: The import of faXTwitter in Footer.jsx fails because the project pins
`@fortawesome/free-brands-svg-icons` < v6.4.2; update the dependency to v6.4.2 or
later in your package manifest (e.g., package.json) and run install so the
module exports faXTwitter, then verify the import line "import { faDiscord,
faGithub, faGitlab, faXTwitter } from '@fortawesome/free-brands-svg-icons'"
resolves and the build succeeds.

import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
import { faDiscord, faGithub, faGitlab, faTwitter } from '@fortawesome/free-brands-svg-icons'
import { faDiscord, faGithub, faGitlab, faXTwitter } from '@fortawesome/free-brands-svg-icons'
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

@fortawesome/free-brands-svg-icons faXTwitter version history when added

💡 Result:

faXTwitter (the “X / Twitter” brand icon) was added to Font Awesome / @fortawesome/free-brands-svg-icons in v6.4.2. Evidence: the Font Awesome repo tracked the “X (New Twitter branding)” request under milestone 6.4.2 [1], and the @fortawesome/free-brands-svg-icons@6.4.2 package contains faXTwitter typings (faXTwitter.d.ts) [2]. Stack Overflow users also note it works starting in 6.4.2 (and not in 6.4.0) [3].

So, you need: @fortawesome/free-brands-svg-icons >= 6.4.2.

Sources: [1] FortAwesome/Font-Awesome#19827, [2] https://app.unpkg.com/%40fortawesome/free-brands-svg-icons%406.4.2/files/faXTwitter.d.ts, [3] https://stackoverflow.com/questions/77140202/twitter-x-using-font-awesome-6-not-working


Upgrade @fortawesome/free-brands-svg-icons to v6.4.2 or later.

The faXTwitter icon was added in v6.4.2. The current pinned version 6.2.1 does not export this icon, causing the build to fail. Upgrade the package dependency to resolve.

🤖 Prompt for AI Agents
In `@src/components/Footer.jsx` at line 6, The import of faXTwitter in Footer.jsx
fails because the project pins `@fortawesome/free-brands-svg-icons` < v6.4.2;
update the dependency to v6.4.2 or later in your package manifest (e.g.,
package.json) and run install so the module exports faXTwitter, then verify the
import line "import { faDiscord, faGithub, faGitlab, faXTwitter } from
'@fortawesome/free-brands-svg-icons'" resolves and the build succeeds.

Comment on lines 48 to +49
<Link aria-label="Follow on Twitter" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://twitter.com/aossie_org'>
<FontAwesomeIcon icon={faTwitter} size='xl' />
<FontAwesomeIcon icon={faXTwitter} size="xl" />
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

Update the aria-label to match X branding.

Screen readers will still announce “Twitter”. Consider “Follow on X” (or “Follow on X (Twitter)”).

🔧 Suggested fix
-                <Link aria-label="Follow on Twitter" className=' text-zinc-400 hover:text-[`#00843D`] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://twitter.com/aossie_org'>
+                <Link aria-label="Follow on X" className=' text-zinc-400 hover:text-[`#00843D`] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://twitter.com/aossie_org'>
                   <FontAwesomeIcon icon={faXTwitter} size="xl" />
                 </Link>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<Link aria-label="Follow on Twitter" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://twitter.com/aossie_org'>
<FontAwesomeIcon icon={faTwitter} size='xl' />
<FontAwesomeIcon icon={faXTwitter} size="xl" />
<Link aria-label="Follow on X" className=' text-zinc-400 hover:text-[`#00843D`] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://twitter.com/aossie_org'>
<FontAwesomeIcon icon={faXTwitter} size="xl" />
🤖 Prompt for AI Agents
In `@src/components/Footer.jsx` around lines 48 - 49, The aria-label for the
social link currently reads "Follow on Twitter" and should be updated to reflect
X branding; in the Footer component update the Link with aria-label (used in the
JSX around FontAwesomeIcon and className) to "Follow on X" or "Follow on X
(Twitter)" so screen readers announce the correct service name.

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.

Update Twitter logo to 'X' in the website

1 participant