diff --git a/src/app/page.js b/src/app/page.js index 25656f3..42166a2 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -7,8 +7,6 @@ export default function Home() { return ( <> - - ); } diff --git a/src/components/Global/Hero.jsx b/src/components/Global/Hero.jsx index 88a9a66..e4d2d38 100644 --- a/src/components/Global/Hero.jsx +++ b/src/components/Global/Hero.jsx @@ -1,130 +1,195 @@ -'use client' -import { motion } from "framer-motion"; -import { useState, useEffect } from "react"; +"use client"; +import React from 'react'; +import { motion, useScroll, useTransform, useSpring } from "framer-motion"; +import { Github, Instagram, Twitter, Linkedin, MapPin, Book, Users, Phone } from 'lucide-react'; -const HeroSkeleton = () => ( -
-
- - {/* Skeleton floating circles */} -
-
-
-
- - {/* Skeleton for text content */} -
-
-
-
-
- - {/* Skeleton for buttons */} -
-
-
-
-
-
+// Google Dot component with wavy animation effect +const GoogleDot = ({ color, delay = 0, size = "w-4 h-4" }) => ( + ); -const Hero = () => { - const [loading, setLoading] = useState(true); - // Simulate loading delay - useEffect(() => { - const timer = setTimeout(() => setLoading(false), 2000); // Adjust duration as needed - return () => clearTimeout(timer); - }, []); +const ParallaxSection = ({ children, yOffset = 0 }) => { + const ref = React.useRef(null); + const { scrollYProgress } = useScroll({ + target: ref, + offset: ["start end", "end start"] + }); + const y = useTransform(scrollYProgress, [0, 1], [0, yOffset]); + + return ( + + {children} + + ); +}; - if (loading) { - return ; - } +const GDSCLanding = () => { + const { scrollYProgress } = useScroll(); + const scaleX = useSpring(scrollYProgress, { stiffness: 100 }); return ( -
+
+ {/* Hero Section */} +
+
+
+ +
+ {/* Google Dots Wavy Animation */} +
+ + + + +
+ + - {/* Floating Circles with subtle scaling and hovering animation */} - - - - + Bridging The Gap Between +
+ + Theory And Practice + +
+ + + The Google Developer Student Club at RCCIIT is a university-based community group powered by Google Developers. + + + + + +
+
- {/* Main Content */} -
- - Bridging The Gap Between - - - Theory And Practice. - - - The Google Developer Student Club at RCCIIT is a - university-based community group powered by Google Developers. - + {/* Vision Mission Goals Section with Parallax */} +
+
+ +
+ {[ + { + title: "🌟 Vision", + content: "Our vision is to create a world where technology and innovation lead to the betterment of human lives.", + color: "from-blue-500 to-blue-600" + }, + { + title: "🎯 Mission", + content: "Our mission is to empower individuals and organizations through cutting-edge technological solutions.", + color: "from-red-500 to-red-600" + }, + { + title: "🚀 Goal", + content: "Our goal is to continuously push the boundaries of what's possible and lead the way towards a more prosperous future.", + color: "from-yellow-500 to-yellow-600" + } + ].map((item, index) => ( + +
+

{item.title}

+

{item.content}

+
+
+ ))} +
+
+
+
+ {/* Resources Section */} + {/* Resources Section */} +
+
+ +

Resources

+

+ Explore key resources to help you get started, learn more, and apply your skills. +

+
+ +
+ {[ + { icon: , text: "Location" }, + { icon: , text: "About GDG" }, + { icon: , text: "How to Apply" }, + { icon: , text: "Who can apply?" } + ].map((item, index) => ( - - Join Us - - - Contact Us - +
{item.icon}
+

{item.text}

+ ))}
-
+
+ +
); }; -export default Hero; +export default GDSCLanding; diff --git a/src/components/ui/homepage.jsx b/src/components/ui/homepage.jsx index 1890cb7..b3c5d4e 100644 --- a/src/components/ui/homepage.jsx +++ b/src/components/ui/homepage.jsx @@ -1,129 +1,74 @@ -// export default function Homepage() { -// return ( -//
-//
-//

Path to Success

-//
-// Vision -//
-//

🌟 Vision

-//

-// Our vision is to create a world where technology and innovation lead to the betterment of human lives, driving progress and success. -// We aim to bridge gaps and create opportunities through collaboration and forward-thinking strategies that inspire change and growth across all sectors. -//

-//
-//
-//
-// Mission -//
-//

🎯 Mission

-//

-// Our mission is to empower individuals and organizations through cutting-edge technological solutions, fostering growth and innovation. -// By providing comprehensive support and resources, we strive to cultivate an environment where creativity and technology thrive together. -//

-//
-//
-//
-// Goal -//
-//

🚀 Goal

-//

-// Our goal is to continuously push the boundaries of what's possible and lead the way towards a more prosperous, tech-driven future. -// We aim to inspire and equip the next generation of innovators to tackle challenges and seize opportunities that arise in a rapidly evolving digital landscape. -//

-//
-//
-//
-//
-//
-//
- -//
-// -// -// -// "Coming together is a beginning, staying together is progress, and working together is success." -//
- -// -// - Henry Ford -// -//
-//
-//
-// ); -// } 'use client' import { motion } from "framer-motion"; -import Slider from "react-slick"; // Make sure to install react-slick and slick-carousel -import "slick-carousel/slick/slick.css"; // Corrected import -import "slick-carousel/slick/slick-theme.css"; // Corrected import export default function Homepage() { - // Slider settings - const sliderSettings = { - dots: true, - infinite: true, - speed: 500, - slidesToShow: 1, - slidesToScroll: 1, - autoplay: true, // Enable autoplay - autoplaySpeed: 3000, // Slide every 3 seconds - }; - return (
-
- - Path to Success - +
+ + Path to Success + - - - -

🌟 Vision

-

- Our vision is to create a world where technology and innovation lead to the betterment of human lives, driving progress and success. - We aim to bridge gaps and create opportunities through collaboration and forward-thinking strategies that inspire change and growth across all sectors. -

-
-
+ + + +

🌟 Vision

+

+ Our vision is to create a world where technology and innovation lead to the betterment of human lives, driving progress and success. + We aim to bridge gaps and create opportunities through collaboration and forward-thinking strategies that inspire change and growth across all sectors. +

+
+
+ + + +

🎯 Mission

+

+ Our mission is to empower individuals and organizations through cutting-edge technological solutions, fostering growth and innovation. + By providing comprehensive support and resources, we strive to cultivate an environment where creativity and technology thrive together. +

+
+
- - - -

User Testimonials & Achievements

- -
-
-

🏆 Hackathon Winner

-

- "Participating in the annual hackathon was a transformative experience. Our team won first place with our innovative project!" -

-
-
-

🌟 Successful Project

-

- "Our project not only met the goals but also exceeded expectations, leading to a successful launch and positive feedback from users." -

-
-
-

🎉 Impactful Event

-

- "The recent event brought together industry leaders and aspiring innovators, creating a platform for collaboration and inspiration." -

-
-
- -
-

User Reviews

- - -
-

- "This platform has transformed the way I approach my projects. The resources available are top-notch! 🚀" -

- - User 1 -
-
-

- "I had an amazing experience collaborating with others. The community is incredibly supportive! 🤝" -

- - User 2 -
-
-

- "The events organized are insightful and provide great networking opportunities. 🌐" -

- - User 3 -
-
-

- "I learned so much from the workshops. Highly recommend to anyone looking to grow their skills! 📚" -

- - User 4 -
-
-

- "The support from mentors has been invaluable. I feel more confident in my abilities now. 💪" -

- - User 5 -
-
-

- "A fantastic platform for innovation and collaboration. I can't wait for the next event! 🎉" -

- - User 6 -
-
-

- "The community is filled with passionate individuals. It's inspiring to be a part of it! 🌟" -

- - User 7 -
-
-
- - - -

🎯 Mission

-

- Our mission is to empower individuals and organizations through cutting-edge technological solutions, fostering growth and innovation. - By providing comprehensive support and resources, we strive to cultivate an environment where creativity and technology thrive together. -

-
-
- - - - - -

🚀 Goal

-

- Our goal is to continuously push the boundaries of what's possible and lead the way towards a more prosperous, tech-driven future. - We aim to inspire and equip the next generation of innovators to tackle challenges and seize opportunities that arise in a rapidly evolving digital landscape. -

-
-
-
- - - -
- -
- - - - "Coming together is a beginning, staying together is progress, and working together is success." -
- - - - Henry Ford - -
-
-
- + +
+ +
+ + + + "Coming together is a beginning, staying together is progress, and working together is success." +
+ + + - Henry Ford + +
+ +
); }