From 57820dfd370fea68adf8a76d9ce195f264fea767 Mon Sep 17 00:00:00 2001 From: Ayush <99096397+ayush4345@users.noreply.github.com> Date: Wed, 6 Mar 2024 03:03:27 +0530 Subject: [PATCH] fixed bug in project cards --- src/app/help/page.jsx | 50 ++++---- .../Navbar/{Navbar.js => Navbar.jsx} | 0 src/components/ProjectCard.js | 19 ++- .../blog/{Blogcard.js => Blogcard.jsx} | 0 .../event/{eventCard.js => eventCard.jsx} | 0 src/components/{footer.js => footer.jsx} | 110 +++++++++--------- src/components/particles.jsx | 6 +- 7 files changed, 90 insertions(+), 95 deletions(-) rename src/components/Navbar/{Navbar.js => Navbar.jsx} (100%) rename src/components/blog/{Blogcard.js => Blogcard.jsx} (100%) rename src/components/event/{eventCard.js => eventCard.jsx} (100%) rename src/components/{footer.js => footer.jsx} (72%) diff --git a/src/app/help/page.jsx b/src/app/help/page.jsx index 3258754..0c3be93 100644 --- a/src/app/help/page.jsx +++ b/src/app/help/page.jsx @@ -1,48 +1,48 @@ export default function Helppage() { return ( -
-
-
-

Contact us

+
+
+
+

Contact us

-

Get in touch

+

Get in touch

-

Our friendly team is always here to help.

+

Our friendly team is always here to help.

-
-
- - +
+
+ + -

Email

-

Our team is here to help.

-

iet@nitk.edu.in

+

Email

+

Our team is here to help.

+

iet@nitk.edu.in

-
- - +
+ + -

Phone

-

Yash Jangid (Convenor)

-

+91-9867466021

+

Phone

+

Yash Jangid (Convenor)

+

+91-9867466021

-
- - +
+ + -

Phone

-

Ansh Bindlish (Joint Convenor)

-

+91-9891350900

+

Phone

+

Ansh Bindlish (Joint Convenor)

+

+91-9891350900

diff --git a/src/components/Navbar/Navbar.js b/src/components/Navbar/Navbar.jsx similarity index 100% rename from src/components/Navbar/Navbar.js rename to src/components/Navbar/Navbar.jsx diff --git a/src/components/ProjectCard.js b/src/components/ProjectCard.js index 055b488..ae0e00f 100644 --- a/src/components/ProjectCard.js +++ b/src/components/ProjectCard.js @@ -4,8 +4,8 @@ import Link from 'next/link' const ProjectCard = ({ project }) => { return ( - -
+
+
{project.title}
@@ -15,15 +15,14 @@ const ProjectCard = ({ project }) => {
{project.title}

({project.project_description.slice(0, 150) + "... see more"})

-
- - - - Repository URL - -
- + + + + + Repository URL + +
); }; diff --git a/src/components/blog/Blogcard.js b/src/components/blog/Blogcard.jsx similarity index 100% rename from src/components/blog/Blogcard.js rename to src/components/blog/Blogcard.jsx diff --git a/src/components/event/eventCard.js b/src/components/event/eventCard.jsx similarity index 100% rename from src/components/event/eventCard.js rename to src/components/event/eventCard.jsx diff --git a/src/components/footer.js b/src/components/footer.jsx similarity index 72% rename from src/components/footer.js rename to src/components/footer.jsx index b4e3c2f..d0d8866 100644 --- a/src/components/footer.js +++ b/src/components/footer.jsx @@ -1,17 +1,17 @@ export default function Footer() { return ( diff --git a/src/components/particles.jsx b/src/components/particles.jsx index 697237e..df90bfc 100644 --- a/src/components/particles.jsx +++ b/src/components/particles.jsx @@ -34,14 +34,10 @@ export default function ParticlesAnimation() { value: "#ffffff", }, }, - style:{position:"absolute", zIndex: -99}, + style: { position: "absolute", zIndex: -99 }, fpsLimit: 120, interactivity: { events: { - onClick: { - enable: true, - mode: "push", - }, onHover: { enable: true, mode: "repulse",