diff --git a/src/app/page.tsx b/src/app/page.tsx index f770b20..c5e8427 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,4 @@ -"use client"; +"use client" import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; @@ -6,12 +6,40 @@ import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboard import AboutMetric from '@/components/sections/about/AboutMetric'; import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne'; import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; -import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; +import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; import ContactCenter from '@/components/sections/contact/ContactCenter'; import FooterBase from '@/components/sections/footer/FooterBase'; -import { Award, BookOpen, Briefcase, Code, GitBranch, Mail, MessageSquare, Quote, Sparkles, TrendingUp, Trophy, Users, Zap } from 'lucide-react'; +import { Award, BookOpen, Briefcase, Code, GitBranch, Mail, MessageSquare, Sparkles, TrendingUp, Trophy, Users, Zap } from 'lucide-react'; +import { useState } from 'react'; export default function LandingPage() { + const [flipped, setFlipped] = useState>({}); + + const toggleFlip = (id: string) => { + setFlipped(prev => ({ ...prev, [id]: !prev[id] })); + }; + + const testimonialCards = [ + { + id: "1", name: "Alex Chen", handle: "@AlexDev", testimonial: "CompClub transformed my coding skills. The workshops and mentorship helped me land my dream job at a top tech company. Grateful for this amazing community!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=1", imageAlt: "Alex Chen" + }, + { + id: "2", name: "Sarah Mitchell", handle: "@SarahCodes", testimonial: "The collaborative projects here are incredible. I've built friendships and a portfolio that actually impresses recruiters. Best decision ever!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=2", imageAlt: "Sarah Mitchell" + }, + { + id: "3", name: "Jordan Lee", handle: "@JordanDev", testimonial: "From zero experience to building full-stack applications in just a few months. The mentorship here is unmatched. Highly recommend CompClub!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=3", imageAlt: "Jordan Lee" + }, + { + id: "4", name: "Maya Patel", handle: "@MayaCode", testimonial: "The hackathons taught me so much about teamwork and problem-solving. Plus, winning first place was the cherry on top!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=4", imageAlt: "Maya Patel" + }, + { + id: "5", name: "David Brown", handle: "@DavidDeveloper", testimonial: "CompClub isn't just about coding. It's about building a network of passionate people who genuinely want to help each other succeed.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=5", imageAlt: "David Brown" + }, + { + id: "6", name: "Lisa Wong", handle: "@LisaTech", testimonial: "The industry expert talks opened my eyes to so many career possibilities. This community has given me the confidence to pursue my tech dreams.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-library_23-2149204737.jpg?_wi=6", imageAlt: "Lisa Wong" + } + ]; + return (
- +
+
+
+
+ + + Community Voices + +
+

What Our Members Say

+

Real stories from computer club members about their learning journey and growth.

+
+ +
+ {testimonialCards.map((card) => { + const isFlipped = flipped[card.id]; + return ( +
toggleFlip(card.id)} + > +
+ {/* Front of card */} +
+ {card.imageSrc && ( + {card.imageAlt} + )} +

{card.name}

+

{card.handle}

+

Click to read testimonial

+
+ + {/* Back of card */} +
+
+

{card.testimonial}

+

— {card.name}

+
+
+
+
+ ); + })} +
+ +
+ +
+
+