diff --git a/src/app/page.tsx b/src/app/page.tsx index bbbf5b8..13273a3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,9 +10,51 @@ import TestimonialCardTwelve from '@/components/sections/testimonial/Testimonial import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import FooterBase from '@/components/sections/footer/FooterBase'; -import { Zap, Users, Award, Handshake } from "lucide-react"; +import { Zap, Users, Award, Handshake, Github, Linkedin, Twitter } from "lucide-react"; +import { useState } from 'react'; export default function LandingPage() { + const [flippedCards, setFlippedCards] = useState<{[key: string]: boolean}>({}); + + const toggleFlip = (memberId: string) => { + setFlippedCards(prev => ({ + ...prev, + [memberId]: !prev[memberId] + })); + }; + + // Team members with social links + const teamMembers = [ + { + id: "1", name: "Alex Johnson", role: "Club President", imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=1", imageAlt: "Alex Johnson, Club President", socials: [ + { icon: Github, href: "https://github.com/alexjohnson", label: "GitHub" }, + { icon: Linkedin, href: "https://linkedin.com/in/alexjohnson", label: "LinkedIn" }, + { icon: Twitter, href: "https://twitter.com/alexjohnson", label: "Twitter" } + ] + }, + { + id: "2", name: "Sarah Chen", role: "VP of Projects", imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=2", imageAlt: "Sarah Chen, VP of Projects", socials: [ + { icon: Github, href: "https://github.com/sarahchen", label: "GitHub" }, + { icon: Linkedin, href: "https://linkedin.com/in/sarahchen", label: "LinkedIn" }, + { icon: Twitter, href: "https://twitter.com/sarahchen", label: "Twitter" } + ] + }, + { + id: "3", name: "Marcus Williams", role: "Tech Lead", imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=3", imageAlt: "Marcus Williams, Tech Lead", socials: [ + { icon: Github, href: "https://github.com/marcuswilliams", label: "GitHub" }, + { icon: Linkedin, href: "https://linkedin.com/in/marcuswilliams", label: "LinkedIn" }, + { icon: Twitter, href: "https://twitter.com/marcuswilliams", label: "Twitter" } + ] + }, + { + id: "4", name: "Emily Rodriguez", role: "Community Manager", imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=4", imageAlt: "Emily Rodriguez, Community Manager", socials: [ + { icon: Github, href: "https://github.com/emilyrodriguez", label: "GitHub" }, + { icon: Linkedin, href: "https://linkedin.com/in/emilyrodriguez", label: "LinkedIn" }, + { icon: Twitter, href: "https://twitter.com/emilyrodriguez", label: "Twitter" } + ] + } + ]; + return (
- +
+
+
+
+
+ + Leadership +
+

Meet Our Team

+

The passionate individuals driving innovation and mentorship within CodeClub.

+
+
+ +
+ {teamMembers.map((member) => { + const isFlipped = flippedCards[member.id]; + return ( +
+
toggleFlip(member.id)} + > + {/* Front side - Profile */} +
+ {member.imageAlt} +
+
+

{member.name}

+

{member.role}

+
+
+ + {/* Back side - Social Links */} +
+
+

Connect

+
+
+ {member.socials.map((social) => { + const Icon = social.icon; + return ( + + + {social.label} + + ); + })} +
+
+
+
+ ); + })} +
+
+