Skip to content
Closed
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
44 changes: 32 additions & 12 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 @@ -33,20 +33,40 @@ export function Footer() {
© 2016-2025 AOSSIE. All rights reserved.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Copyright year is outdated.

The copyright reads "2016-2025" but the current year is 2026. Consider updating to "2016-2026" or dynamically generating the end year.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/components/Footer.jsx` at line 33, Update the static copyright string in
the Footer component: locate the Footer component (Footer.jsx) where the JSX
contains "© 2016-2025 AOSSIE. All rights reserved." and either change the
end year to 2026 or replace the hard-coded end year with a dynamic value (e.g.,
compute new Date().getFullYear()) so the footer shows the current year
automatically.

</p>
<div className="flex gap-6">
<Link aria-label="Contact by Mail" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='mailto:aossie.oss@gmail.com'>
<FontAwesomeIcon icon={faEnvelope} size='xl' />
<a
aria-label="Contact by Mail"
className="text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition"
href="mailto:aossie.oss@gmail.com"
>
<FontAwesomeIcon icon={faEnvelope} size="xl" />
</a>
<Link
aria-label="Follow on GitLab"
className="text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition"
href="https://gitlab.com/aossie"
>
<FontAwesomeIcon icon={faGitlab} size="xl" />
</Link>
<Link aria-label="Follow on GitLab" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='https://gitlab.com/aossie'>
<FontAwesomeIcon icon={faGitlab} size='xl' />
<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="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
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"
>
<FontAwesomeIcon icon={faDiscord} 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'>
<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' />
<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={faXTwitter} size="xl" />
</Link>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/config/orgStats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const orgStats = {
activeProjects: 34,
totalContributors: 500,
communityCount: 3800,
}
21 changes: 14 additions & 7 deletions src/pages/about.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Container } from '@/components/Container';
import { Banner } from '@/components/Banner';
import React from 'react';
import { Line } from 'react-chartjs-2';
import { orgStats } from '@/config/orgStats'
import { Chart as ChartJS, LineElement, CategoryScale, LinearScale, PointElement } from 'chart.js';

ChartJS.register(LineElement, CategoryScale, LinearScale, PointElement);
Expand Down Expand Up @@ -143,26 +144,32 @@ export default function About() {
</Head>

<section style={styles.section}>
<h1 style={{ marginBottom: '20px' }} className="font-mono text-6xl font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 sm:text-6xl md:text-5xl lg:text-6xl">
<h1 style={{ marginBottom: '20px' }} className="font-mono font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 md:text-5xl lg:text-6xl">
ABOUT
</h1>
Comment on lines +147 to 149
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Missing base font-size class for the ABOUT heading on small screens.

With Tailwind's preflight, h1 elements are reset to font-size: inherit, so without a base size utility (e.g., text-3xl or text-4xl), this heading will render at body-text size on screens below the md breakpoint. The old code likely had a default size that was removed during cleanup.

Proposed fix
-        <h1 style={{ marginBottom: '20px' }} className="font-mono font-extrabold tracking-tighter text-[`#32a852`] dark:text-yellow-400 md:text-5xl lg:text-6xl">
+        <h1 style={{ marginBottom: '20px' }} className="font-mono font-extrabold tracking-tighter text-[`#32a852`] dark:text-yellow-400 text-3xl md:text-5xl lg:text-6xl">
📝 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
<h1 style={{ marginBottom: '20px' }} className="font-mono font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 md:text-5xl lg:text-6xl">
ABOUT
</h1>
<h1 style={{ marginBottom: '20px' }} className="font-mono font-extrabold tracking-tighter text-[`#32a852`] dark:text-yellow-400 text-3xl md:text-5xl lg:text-6xl">
ABOUT
</h1>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/pages/about.jsx` around lines 147 - 149, The ABOUT h1 in about.jsx lacks
a base Tailwind text-size, so on small screens it inherits body size; update the
<h1> element (the ABOUT heading) to include a base text size utility such as
text-3xl or text-4xl in addition to the existing md:text-5xl and lg:text-6xl
classes (e.g., add text-3xl before md:text-5xl) so the heading displays
correctly on screens below the md breakpoint.

<p className="text-zinc-600 dark:text-zinc-400 text-lg font-mono leading-7">
Our Projects, where we showcase our tech wizardry and code-slinging skills!! Be a part of our community and
contribute to meaningful projects that are <span className="text-green-600 dark:text-yellow-400 text-lg font-mono leading-7 font-bold">making a difference</span>. Explore
contribute to meaningful projects that are <span className="text-green-600 dark:text-yellow-400 font-bold">making a difference</span>. Explore
our selection of projects and find the perfect opportunity to showcase your skills and{' '}
<span className="text-green-600 dark:text-yellow-400 text-lg font-mono leading-7 font-bold">make an impact</span>.
<span className="text-green-600 dark:text-yellow-400 font-bold">make an impact</span>.
</p>
<div style={styles.stats}>
<div className="text-green-600 dark:text-zinc-400 text-lg font-mono leading-7 font-bold">
<h2 style={styles.statNumber}>34+</h2>
<h2 style={styles.statNumber}>
{orgStats.activeProjects}+
</h2>
<p style={styles.statLabel}>Active Projects</p>
</div>
<div className="text-green-600 dark:text-zinc-400 text-lg font-mono leading-7 font-bold">
<h2 style={styles.statNumber}>500+</h2>
<h2 style={styles.statNumber}>
{orgStats.totalContributors}+
</h2>
<p style={styles.statLabel}>Total Contributors</p>
</div>
<div className="text-green-600 dark:text-zinc-400 text-lg font-mono leading-7 font-bold">
<h2 style={styles.statNumber}>3800+</h2>
<h2 style={styles.statNumber}>
{orgStats.communityCount}+
</h2>
<p style={styles.statLabel}>Community Count</p>
</div>
</div>
Expand All @@ -179,7 +186,7 @@ export default function About() {
}}
>
<div className='m-3 w-[60px] h-[60px] bg-cover bg-[url("/contribution.png")] dark:bg-[url("/contribution-dark.png")]'></div>
<h1 className="font-mono text-2xl md:text-6xl font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 sm:text-6xl md:text-5xl lg:text-6xl">
<h1 className="font-mono font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 text-2xl sm:text-6xl">
GSOC CONTRIBUTION
</h1>
</div>
Expand Down
38 changes: 22 additions & 16 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { orgStats } from '@/config/orgStats'
import Head from 'next/head'
import Link from 'next/link'
import Image from 'next/image'
Expand All @@ -10,7 +11,7 @@ import {
faDiscord,
faGithub,
faGitlab,
faTwitter,
faXTwitter,
} from '@fortawesome/free-brands-svg-icons'
import { CardEffect } from '@/components/CardEffect'
import { Banner } from '@/components/Banner'
Expand Down Expand Up @@ -59,13 +60,13 @@ export default function Home() {
achieve innovation and education.
</p>
<div className="mt-6 ml-4 flex gap-6">
<Link
aria-label="Contact by Mail"
className="text-zinc-500 transition hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400"
href="mailto:aossie.oss@gmail.com"
>
<FontAwesomeIcon icon={faEnvelope} size="2xl" />
</Link>
<a
aria-label="Contact by Mail"
href="mailto:aossie.oss@gmail.com"
className="text-zinc-500 transition hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400"
>
<FontAwesomeIcon icon={faEnvelope} size="2xl" />
</a>
<Link
aria-label="Follow on GitLab"
className="text-zinc-500 transition hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400"
Expand All @@ -92,18 +93,17 @@ 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 ">
<Link href="/about" className="group relative inline-block text-lg">
<span className="relative z-10 block overflow-hidden rounded-lg border-2 border-gray-900 px-5 py-3 transition-colors duration-300 ease-in-out group-hover:text-white dark:group-hover:text-black">
<span className="absolute inset-0 h-full w-full rounded-lg bg-white px-5 py-3"></span>
<span className="absolute left-0 -ml-2 h-48 w-72 origin-top-right -translate-x-full translate-y-12 -rotate-90 bg-[#00843D] transition-all duration-300 ease-in-out group-hover:-rotate-180 dark:bg-yellow-400"></span>
<span className="relative font-mono text-xl font-black tracking-tighter">
Learn More About Us
</span>
</span>
<span className="absolute bottom-0 right-0 mb-3 mr-2 h-14 w-full rounded-lg bg-[#00843D] transition-transform duration-200 ease-linear will-change-transform group-hover:-translate-x-2 group-hover:-translate-y-2 dark:bg-yellow-400" data-rounded="rounded-lg">
</span>
</span>
<span
className="absolute bottom-0 right-0 mb-3 mr-2 h-14 w-full rounded-lg bg-[#00843D] transition-all duration-200 ease-linear group-hover:m-0 dark:bg-yellow-400"
data-rounded="rounded-lg"
Expand All @@ -118,15 +118,21 @@ export default function Home() {
<div className="hidden bg-[#3C982C] relative dark:text-black sm:flex flex-col md:flex-row justify-between p-4 sm:p-8 px-4 sm:px-16 text-center border border-white text-white dark:bg-yellow-400 z-20">
<div className="mb-4 sm:mb-0">
<h6 className="text-xl">Active Projects</h6>
<p className="font-semibold text-2xl">34+</p>
<p className="font-semibold text-2xl">
{orgStats.activeProjects}+
</p>
</div>
<div className="mb-4 sm:mb-0">
<h6 className="text-xl">Total Contributors</h6>
<p className="font-semibold text-2xl">500+</p>
<p className="font-semibold text-2xl">
{orgStats.totalContributors}+
</p>
</div>
<div className="mb-4 sm:mb-0">
<h6 className="text-xl">Community Count</h6>
<p className="font-semibold text-2xl">2000+</p>
<p className="font-semibold text-2xl">
{orgStats.communityCount}+
</p>
</div>
</div>

Expand Down