From 9fe40109434f670abe725c3e8b817bf64afc2d2b Mon Sep 17 00:00:00 2001 From: Shalom Mendonca Date: Sun, 31 Aug 2025 22:44:24 +0530 Subject: [PATCH 1/3] herosec images --- src/config/navbarHero.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/navbarHero.js b/src/config/navbarHero.js index 5e5275e..8fbd4b8 100644 --- a/src/config/navbarHero.js +++ b/src/config/navbarHero.js @@ -19,7 +19,7 @@ export const siteConfig = { primaryButton: "Join Us", secondaryLink: "Learn More", image: - "https://res.cloudinary.com/dwjcki9ey/image/upload/v1752132771/image_1_w5ijjl.png", + "https://res.cloudinary.com/djqgs2pet/image/upload/v1756018619/IMG_20250822_234850_bxluqx.jpg", image1: "https://res.cloudinary.com/dwjcki9ey/image/upload/v1752159681/Ellipse_1_sxc0u7.png", image2: @@ -32,7 +32,7 @@ export const siteConfig = { "ASME NIT Rourkela is dedicated to fostering engineering innovation among students. We serve as a pivotal connecting link between academia and industry, tackling technical obstacles with enthusiasm through our various initiatives and events. ASME NIT Rourkela is committed to fostering engineering innovation and practical application among students. All of us are free to make a positive impact through our various technical and non-events.", button: "Learn More", image: - "https://res.cloudinary.com/dwjcki9ey/image/upload/v1752132823/image_lxdaqf.png", + "https://res.cloudinary.com/djqgs2pet/image/upload/v1756018623/IMG-20250819-WA0130_pogbzm.jpg", }, missions: [ From 0992e81a2e237104d701f973a63bf6785febd77b Mon Sep 17 00:00:00 2001 From: mshalom27 Date: Thu, 4 Sep 2025 23:01:50 +0530 Subject: [PATCH 2/3] transition --- src/components/AboutSection.jsx | 36 +++++++++++++++++++++----- src/components/HeroSection.jsx | 46 ++++++++++++++++++++++++--------- 2 files changed, 63 insertions(+), 19 deletions(-) diff --git a/src/components/AboutSection.jsx b/src/components/AboutSection.jsx index 03c6d3d..ba1dc6d 100644 --- a/src/components/AboutSection.jsx +++ b/src/components/AboutSection.jsx @@ -1,22 +1,44 @@ -import Button from "./shared/Button"; +import { useState, useEffect } from "react"; import { siteConfig } from "../config/navbarHero"; export default function AboutSection() { + const [showFirst, setShowFirst] = useState(true); + + useEffect(() => { + const interval = setInterval(() => setShowFirst((prev) => !prev), 4000); + return () => clearInterval(interval); + }, []); + return (
-
-
+
+
+ About image 1 + ASME NIT Rourkela team members + About image 2 fade
-
+

{siteConfig.about.button} diff --git a/src/components/HeroSection.jsx b/src/components/HeroSection.jsx index 1601dee..b6a3b67 100644 --- a/src/components/HeroSection.jsx +++ b/src/components/HeroSection.jsx @@ -1,9 +1,17 @@ +import { useState, useEffect } from "react"; import Button from "./shared/Button"; import { siteConfig } from "../config/navbarHero"; export default function HeroSection() { + const [showFirst, setShowFirst] = useState(true); + + useEffect(() => { + const interval = setInterval(() => setShowFirst((prev) => !prev), 4000); + return () => clearInterval(interval); + }, []); + return ( -
+

{siteConfig.hero.title}

-

{siteConfig.hero.subtitle}

-

{siteConfig.hero.description}

-
-
- ASME NIT Rourkela team members +
+
+ Hero image 1 + + + + +
- Background figure 2 Date: Fri, 5 Sep 2025 12:55:11 +0530 Subject: [PATCH 3/3] spacing --- src/components/AboutSection.jsx | 4 ++-- src/components/HeroSection.jsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/AboutSection.jsx b/src/components/AboutSection.jsx index ba1dc6d..dd8cc10 100644 --- a/src/components/AboutSection.jsx +++ b/src/components/AboutSection.jsx @@ -15,11 +15,11 @@ export default function AboutSection() { className="bg-white px-4 sm:px-6 md:px-10 lg:px-16 py-12 sm:py-16" >
-
+
About image 1 +

-
-
+
+
Hero image 1