Skip to content

Conversation

@PAGARE-MANGESH
Copy link

@PAGARE-MANGESH PAGARE-MANGESH commented Jan 13, 2026

Hello 😇 @hackeramitkumar

I have updated the code in
src/pages/projects.jsx
to make the link display inline with the icon and text aligned correctly.

jsx


{project.link.label}

I added inline-flex items-center to the anchor tag's className. This ensures the icon and text sit side-by-side and are vertically centered, while respecting the existing styles.

Screenshot 2026-01-13 215716 Screenshot 2026-01-13 215637

Summary by CodeRabbit

Release Notes

  • New Features

    • Project links in cards are now fully clickable for direct navigation.
  • Updates

    • Updated Twitter platform icon to X throughout the site to reflect the platform's rebranding.
    • Updated FontAwesome icon library dependencies to the latest versions for enhanced icon support and compatibility improvements.

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

mangesh added 2 commits January 6, 2026 22:11
src/pages/projects.jsx
 to make the link display inline with the icon and text aligned correctly.
@vercel
Copy link

vercel bot commented Jan 13, 2026

Someone 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 Jan 13, 2026

📝 Walkthrough

Walkthrough

This pull request updates Font Awesome dependencies to newer major versions, replaces Twitter icon usage with X Twitter branding across components, and improves project link accessibility by making the entire link area clickable with proper anchor element styling.

Changes

Cohort / File(s) Summary
Font Awesome Package Updates
package.json
Updated @fortawesome/free-brands-svg-icons from ^6.2.1 to ^7.1.0 and @fortawesome/react-fontawesome from ^0.2.0 to ^3.1.1 for compatibility with newer Font Awesome API surface.
Twitter to X Icon Replacements
src/components/Footer.jsx, src/pages/index.jsx
Replaced faTwitter imports and usage with faXTwitter across Footer and homepage components to reflect X branding.
Project Link Interactivity
src/pages/projects.jsx
Converted static project link container from <p> element to clickable <a> element with href, target="_blank", and rel="noopener noreferrer"; updated hover color from #00843D to #32a852.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A hop towards X, we rebrand with glee,
Icons renewed in version three,
Projects now linked with a clickable embrace,
Dependencies dance at a swifter pace! 🎉

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
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.
Title check ❓ Inconclusive The title 'Project links on #481' is vague and does not clearly summarize the main changes; it references an issue number without explaining what was actually changed. Use a more descriptive title that summarizes the actual changes, such as 'Update FontAwesome dependencies and Twitter icon branding' or 'Make project links clickable with inline layout'.
✅ Passed checks (1 passed)
Check name Status Explanation
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

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

🤖 Fix all issues with AI agents
In @package.json:
- Around line 17-21: Update the dependency for @fortawesome/fontawesome-svg-core
in package.json to a v7 range (change "@fortawesome/fontawesome-svg-core":
"^6.2.1" to "@fortawesome/fontawesome-svg-core": "^7.0.0") to match the
installed @fortawesome/free-brands-svg-icons@^7.1.0 and other v7 icon packages;
after editing, run your package manager (npm/yarn/pnpm) to reinstall and update
the lockfile and then verify the app starts without Font Awesome runtime errors.

In @src/pages/projects.jsx:
- Around line 86-91: Remove the unused Tailwind "group-hover" classes from the
paragraph's className in the projects.jsx snippet: edit the <p> element that
currently has className="relative z-10 mt-6 flex text-md font-semibold font-mono
text-zinc-600 transition group-hover:text-[#32a852]
dark:group-hover:text-yellow-400 dark:text-zinc-200" and remove
"group-hover:text-[#32a852]" and "dark:group-hover:text-yellow-400" so the
anchor's existing hover classes (hover:text-[#32a852] and
dark:hover:text-yellow-400) handle hover styling.
🧹 Nitpick comments (2)
src/components/Footer.jsx (1)

48-50: Update aria-label to reflect X branding.

The icon has been updated to faXTwitter to reflect the X branding, but the aria-label still says "Follow on Twitter". For consistency and accurate screen reader announcements, consider updating the label.

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' />
src/pages/index.jsx (1)

91-97: Update aria-label to reflect X branding.

Same as in Footer.jsx, the aria-label on line 92 still reads "Follow on Twitter" while the icon is now faXTwitter. Update for consistency.

Suggested fix
                  <Link
-                   aria-label="Follow on Twitter"
+                   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"
                  >
                    <FontAwesomeIcon icon={faXTwitter} size="2xl" />
                  </Link>
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dfb8668 and a466ded.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • package.json
  • src/components/Footer.jsx
  • src/pages/index.jsx
  • src/pages/projects.jsx

Comment on lines 17 to +21
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^7.1.0",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@fortawesome/react-fontawesome": "^3.1.1",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

FontAwesome 7 free-brands-svg-icons fontawesome-svg-core v6 compatibility

💡 Result:

Short answer: No — Font Awesome 7 icon packages (including @fortawesome/free-brands-svg-icons v7) are intended to be used with the v7 @fortawesome/fontawesome-svg-core and related v7 packages. Font Awesome’s upgrade docs instruct removing v6 core/components and installing the v7 core + icon packages; they also note v6 icon packages remain compatible with the new v7 components, but not vice‑versa. [1][2][3]

What to do

  • If you want to use v7 free-brands icons, upgrade @fortawesome/fontawesome-svg-core (and any React/Vue adapters) to the v7 releases. [1][2]
  • If you must keep fontawesome-svg-core@6, keep using the v6 icon packages (or upgrade the core first). [2][3]

Sources

  • Font Awesome — Upgrade to v7 (packages). [1]
  • Font Awesome — Upgrade to v7 with React (notes about removing v6 core before installing v7). [2]
  • Font Awesome — SVG Core docs (role of fontawesome-svg-core). [3]

🌐 Web query:

@fortawesome/react-fontawesome v3 peer dependencies fontawesome-svg-core requirements

💡 Result:

@fortawesome/react-fontawesome v3 lists a peerDependency on @fortawesome/fontawesome-svg-core allowing core v1, v6 or v7. Package.json shows:
"@fortawesome/fontawesome-svg-core": "~1 || ~6 || ~7 || ^7.0.0-alpha8". [1][2]

Sources:

  • react-fontawesome GitHub package.json (peerDependencies). [1]
  • react-fontawesome release/compatibility notes (v3). [2]

🌐 Web query:

FontAwesome v7 breaking changes icon packages

💡 Result:

Summary of the v7 breaking changes that affect icon packages (concise):

  • New package types & recommended path: Font Awesome recommends using Kit packages (recommended) or their SVG Icon Packages; Pro+ icons are only available via Kit packages (or Pro+ Kit downloads), not in standard npm “All” packages. [1][2]

  • Pro+ icon packs added: v7 introduces Pro+ curated icon packs (≈200 icons each) available only to Pro+ subscribers via Kits. If you relied on a single “pro” package to get everything, Pro+ icons won’t appear there. [1]

  • v6 icon packages remain usable but v7 has updated package names / structure and new “all-inclusive” and kit workflows; you may need to remove old v6 packages and reinstall v7 packages (or use npm-check-updates). [0][4]

  • Default icon rendering change: icons are fixed-width by default in v7 (equivalent to previously using fa-fw); this affects visual output when switching packages/styles. [1]

  • Sass & build breakages: Sass moved to Dart Sass, variable names lost the old fa- prefix (use namespaced imports, e.g. fa.$font-path), so Sass compilation will break until you update references. [3]

  • React/JS integration notes: v7’s new @FortAwesome core/react packages require removing older @fortawesome/fontawesome-svg-core / @fortawesome/react-fontawesome entries and reinstalling the new v7 packages or using a Kit package; v6 icon packages remain compatible but upgrading to v7 icon packages is optional. [0]

Sources:
[1] Font Awesome — What's Changed in v7.
[2] Font Awesome — Using a Package Manager (packages & Kit guidance).
[3] Font Awesome — Upgrade to v7 with Sass (breaking changes).
[4] Font Awesome — Upgrade to v7 Using Package Managers (npm/yarn upgrade steps).


Upgrade @fortawesome/fontawesome-svg-core to v7 to match your icon packages.

Font Awesome v7 icon packages (including @fortawesome/free-brands-svg-icons@^7.1.0) require @fortawesome/fontawesome-svg-core@v7, not v6. The current mismatch will cause runtime failures. Upgrade fontawesome-svg-core from ^6.2.1 to ^7.0.0.

🤖 Prompt for AI Agents
In @package.json around lines 17 - 21, Update the dependency for
@fortawesome/fontawesome-svg-core in package.json to a v7 range (change
"@fortawesome/fontawesome-svg-core": "^6.2.1" to
"@fortawesome/fontawesome-svg-core": "^7.0.0") to match the installed
@fortawesome/free-brands-svg-icons@^7.1.0 and other v7 icon packages; after
editing, run your package manager (npm/yarn/pnpm) to reinstall and update the
lockfile and then verify the app starts without Font Awesome runtime errors.

Comment on lines +86 to 91
<p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 transition group-hover:text-[#32a852] dark:group-hover:text-yellow-400 dark:text-zinc-200">
<a href={project.link.href} target="_blank" rel="noopener noreferrer" className="hover:text-[#32a852] dark:hover:text-yellow-400 inline-flex items-center">
<LinkIcon className="h-6 w-6 flex-none scale-110" />
<span className="ml-2">{project.link.label}</span>
</a>
</p>
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

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# First, check the file size and then read around the target lines with context
wc -l src/pages/projects.jsx

Repository: AOSSIE-Org/website

Length of output: 88


🏁 Script executed:

#!/bin/bash
# Read the file with context around lines 86-91 to see parent elements
sed -n '50,130p' src/pages/projects.jsx | cat -n

Repository: AOSSIE-Org/website

Length of output: 3431


🏁 Script executed:

#!/bin/bash
# Search for elements with 'group' class in the className attribute
rg -n 'className="[^"]*group["\s]|className=.*group["\s\)]' src/pages/projects.jsx

Repository: AOSSIE-Org/website

Length of output: 44


🏁 Script executed:

#!/bin/bash
# Read the beginning of the file to find the MuiCard opening
head -50 src/pages/projects.jsx | cat -n

Repository: AOSSIE-Org/website

Length of output: 2953


🏁 Script executed:

#!/bin/bash
# Search for MuiCard to see how it's defined
rg -n 'MuiCard|<Grid' src/pages/projects.jsx | head -20

Repository: AOSSIE-Org/website

Length of output: 298


Remove unused group-hover classes from the paragraph element.

The <p> tag uses group-hover:text-[#32a852] and dark:group-hover:text-yellow-400, but no parent element in the MuiCard hierarchy has Tailwind's group class. These classes are dead code; the direct hover:text-[#32a852] on the anchor already handles the intended hover styling.

Suggested fix: Remove unused group-hover classes
-              <p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 transition group-hover:text-[#32a852] dark:group-hover:text-yellow-400 dark:text-zinc-200">
+              <p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 dark:text-zinc-200">
📝 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
<p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 transition group-hover:text-[#32a852] dark:group-hover:text-yellow-400 dark:text-zinc-200">
<a href={project.link.href} target="_blank" rel="noopener noreferrer" className="hover:text-[#32a852] dark:hover:text-yellow-400 inline-flex items-center">
<LinkIcon className="h-6 w-6 flex-none scale-110" />
<span className="ml-2">{project.link.label}</span>
</a>
</p>
<p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 dark:text-zinc-200">
<a href={project.link.href} target="_blank" rel="noopener noreferrer" className="hover:text-[#32a852] dark:hover:text-yellow-400 inline-flex items-center">
<LinkIcon className="h-6 w-6 flex-none scale-110" />
<span className="ml-2">{project.link.label}</span>
</a>
</p>
🤖 Prompt for AI Agents
In @src/pages/projects.jsx around lines 86 - 91, Remove the unused Tailwind
"group-hover" classes from the paragraph's className in the projects.jsx
snippet: edit the <p> element that currently has className="relative z-10 mt-6
flex text-md font-semibold font-mono text-zinc-600 transition
group-hover:text-[#32a852] dark:group-hover:text-yellow-400 dark:text-zinc-200"
and remove "group-hover:text-[#32a852]" and "dark:group-hover:text-yellow-400"
so the anchor's existing hover classes (hover:text-[#32a852] and
dark:hover:text-yellow-400) handle hover styling.

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.

1 participant