From aa8e8e667885a4dd41300e86fa097fd25de2608a Mon Sep 17 00:00:00 2001 From: AadilAliShaikh Date: Wed, 21 Aug 2024 00:57:35 +0530 Subject: [PATCH] Fix: Open project links in new tab and fix in error --- src/components/Banner.jsx | 9 ++--- src/pages/projects.jsx | 70 +++++++++++---------------------------- 2 files changed, 25 insertions(+), 54 deletions(-) diff --git a/src/components/Banner.jsx b/src/components/Banner.jsx index 33755b2..8855f1f 100644 --- a/src/components/Banner.jsx +++ b/src/components/Banner.jsx @@ -17,10 +17,11 @@ export function Banner() { Learn how to apply for an opportunity to work on open-source projects and gain real-world experience through Google Summer of Code.

- - - Apply to GSoC with AOSSIE - + + Apply to GSoC with AOSSIE
diff --git a/src/pages/projects.jsx b/src/pages/projects.jsx index 7156fbc..0e4bd0c 100644 --- a/src/pages/projects.jsx +++ b/src/pages/projects.jsx @@ -1,10 +1,10 @@ -import Image from 'next/image' -import Head from 'next/head' +import Image from 'next/image'; +import Head from 'next/head'; -import { Container } from '@/components/Container' -import { SectionHeading } from '@/components/SectionHeading' -import { Card } from '@/components/Card' -import projects from '@/helper/projects' +import { Container } from '@/components/Container'; +import { SectionHeading } from '@/components/SectionHeading'; +import { Card } from '@/components/Card'; +import projects from '@/helper/projects'; function LinkIcon(props) { return ( @@ -14,31 +14,28 @@ function LinkIcon(props) { fill="currentColor" /> - ) + ); } export default function Projects() { return ( <> - - Projects - - + Projects +
-

Our Projects, where we showcase our tech wizardry and code-slinging skills!

Our portfolio is a treasure trove of open-source gems, featuring projects in a variety of languages and areas. Take a peek and see how we're making a difference with our technical spells.

+

+ Our Projects, where we showcase our tech wizardry and code-slinging skills!
+ Our portfolio is a treasure trove of open-source gems, featuring projects in a variety of languages and areas. Take a peek and see how we're making a difference with our technical spells. +

-
- {/*

- Active Projects -

*/} +
Active Projects -

The following projects are currently actively maintained and mentors are available!

+

+ The following projects are currently actively maintained and mentors are available! +

    {projects.map((project) => ( @@ -46,12 +43,12 @@ export default function Projects() { Project Logo

- {project.name} + {project.name}

{project.description}

@@ -61,35 +58,8 @@ export default function Projects() { ))} - - {/*

- InActive Projects -

*/} - {/* Past Projects -

The following projects are currently inactive. If you are brave and independent, you are welcome and even encouraged to contribute to these projects as well. However, help from mentors will be significantly reduced.

-
    - {projects.map((project) => ( - -
    - Project Logo -
    -

    - {project.name} -

    - {project.description} -

    - - {project.link.label} -

    -
    - ))} -
*/}
- ) + ); }