Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can contribute by:

If you want to get in touch with us first before contributing, you can use:

* [AOSSIE Discord Channel](https://discord.gg/hjUhu33uAn)
* [AOSSIE Discord Channel](https://discord.gg/xnmAPS7zqB)


# **License**
Expand Down
135 changes: 57 additions & 78 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@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",
Comment on lines 17 to +21
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:

FontAwesome 7.1.0 free-brands-svg-icons compatibility fontawesome-svg-core 6

💡 Result:

Short answer: No — @fortawesome/free-brands-svg-icons@7.1.0 is part of Font Awesome v7 and expects the v7 SVG core; it is not intended to be used with @fortawesome/fontawesome-svg-core v6. Upgrade your fontawesome-svg-core to v7 to match the icon package. [1][2]

Sources:

  • Font Awesome v7 upgrade / package docs. [1]
  • @fortawesome/free-brands-svg-icons package listing (v7.x). [2]

🌐 Web query:

react-fontawesome 3.1.1 peer dependencies fontawesome-svg-core version

💡 Result:

@fortawesome/react-fontawesome v3.1.1 lists @fortawesome/fontawesome-svg-core as a peer dependency; the package is compatible with Font Awesome core v6 (and v7 per the repo compatibility notes) — common peer-range seen is "~1 || ~6" (i.e. v6.x is supported). [1][2]

Sources:

  • package info showing peerDependencies (jsDocs/npm metadata). [1]
  • GitHub compatibility notes (react-fontawesome v3.x supports FontAwesome core 6.x and 7.x). [2]

Upgrade @fortawesome/fontawesome-svg-core to v7 to match @fortawesome/free-brands-svg-icons@7.1.0.

@fortawesome/free-brands-svg-icons@7.1.0 requires @fortawesome/fontawesome-svg-core v7, but the current version is 6.2.1. This incompatibility will cause runtime issues. Align all FontAwesome packages to v7.

🤖 Prompt for AI Agents
In `@package.json` around lines 17 - 21, The package
`@fortawesome/fontawesome-svg-core` is pinned to 6.2.1 but
`@fortawesome/free-brands-svg-icons` is 7.1.0; update
`@fortawesome/fontawesome-svg-core` to a v7 range (e.g., ^7.0.0 or ^7.1.0) and
align the other FontAwesome packages (e.g., `@fortawesome/free-regular-svg-icons`,
`@fortawesome/free-solid-svg-icons`, `@fortawesome/react-fontawesome`) to compatible
v7 releases so all fontawesome packages use the same major version; after
updating the package.json entry names (e.g.,
"@fortawesome/fontawesome-svg-core": "^7.x"), run your package manager install
to refresh lockfiles and test for runtime/import issues.

"@headlessui/react": "^1.7.2",
"@mapbox/rehype-prism": "^0.8.0",
"@mdx-js/loader": "^2.3.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link'
import { Container } from '@/components/Container'
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'

function NavLink({ href, children }) {
return (
Expand Down Expand Up @@ -42,11 +42,11 @@ export function Footer() {
<Link aria-label="Follow on GitHub" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://github.com/AOSSIE-Org'>
<FontAwesomeIcon icon={faGithub} size='xl' />
</Link>
<Link aria-label="Join on Discord" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://discord.gg/hjUhu33uAn'>
<Link aria-label="Join on Discord" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://discord.gg/xnmAPS7zqB'>
<FontAwesomeIcon icon={faDiscord} size='xl' />
</Link>
<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>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/apply.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function About() {
title="Join us on Discord"
description="Join the AOSSIE community on Discord and connect with other developers, mentors, and organizers. Our Discord server is a great place to ask questions, share ideas, and get support throughout the Google Summer of Code application process. From proposal writing tips to coding advice, our community is here to help you succeed. Don't go through the process alone, join us on Discord now!"
button="Join Discord"
link="https://discord.gg/hjUhu33uAn"
link="https://discord.gg/xnmAPS7zqB"
/>
<TimelineElement
title="Start Contributing"
Expand Down
7 changes: 4 additions & 3 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ import {
faDiscord,
faGithub,
faGitlab,
faTwitter,
faXTwitter
} from '@fortawesome/free-brands-svg-icons'
import { CardEffect } from '@/components/CardEffect'
import { Banner } from '@/components/Banner'
import projects from '@/helper/projects'
import Journey from '@/components/Journey'


export default function Home() {
const [randomProjects, setRandomProjects] = useState(projects)

Expand Down Expand Up @@ -83,7 +84,7 @@ export default function Home() {
<Link
aria-label="Join on Discord"
className="text-zinc-500 transition hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400"
href="https://discord.gg/hjUhu33uAn"
href="https://discord.gg/xnmAPS7zqB"
>
<FontAwesomeIcon icon={faDiscord} size="2xl" />
</Link>
Expand All @@ -92,7 +93,7 @@ export default function Home() {
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={faTwitter} size="2xl" />
<FontAwesomeIcon icon={faXTwitter} size="2xl" />
</Link>
</div>
<div className="mt-12 mx-4 md:mx-0 md:mt-8 text-left ">
Expand Down
8 changes: 5 additions & 3 deletions src/pages/projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ const Cards = () => {
</Typography>
</CardContent>
<CardActions sx={{ justifyContent: 'center' }}>
<p className="relative z-10 mt-6 flex text-md font-semibold font-mono text-zinc-600 transition group-hover:text-[#00843D] dark:group-hover:text-yellow-400 dark:text-zinc-200">
<LinkIcon className="h-6 w-6 flex-none scale-110" />
<span className="ml-2">{project.link.label}</span>
<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>
</CardActions>
</MuiCard>
Expand Down