Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 03:37 UTC
main
| 1 | import { Card, CardContent } from "@/components/ui/card"; |
| 2 | import cameronPortrait from "@/assets/cameron-devries.jpg"; |
| 3 | import { Users, UserCheck, Settings } from "lucide-react"; |
| 4 | const leaders = [{ |
| 5 | name: "Cameron De Vries", |
| 6 | role: "Director", |
| 7 | icon: Users, |
| 8 | image: cameronPortrait, |
| 9 | description: "Leading the vision and strategic direction of Community & Unity, and host of Unspoken Truths podcast." |
| 10 | }]; |
| 11 | export const Leadership = () => { |
| 12 | return <section className="py-24 bg-muted/30"> |
| 13 | <div className="container mx-auto px-4"> |
| 14 | <div className="max-w-6xl mx-auto space-y-16"> |
| 15 | {/* Section Header */} |
| 16 | <div className="text-center space-y-4 animate-fade-in"> |
| 17 | <h2 className="text-4xl md:text-5xl font-bold text-foreground"> |
| 18 | Leadership Team |
| 19 | </h2> |
| 20 | <p className="text-xl text-muted-foreground max-w-2xl mx-auto"> |
| 21 | Meet the dedicated individuals driving our mission forward |
| 22 | </p> |
| 23 | </div> |
| 24 | |
| 25 | {/* Leadership Cards */} |
| 26 | <div className="grid md:grid-cols-3 gap-8"> |
| 27 | {leaders.map((leader, index) => { |
| 28 | const Icon = leader.icon; |
| 29 | return <Card key={leader.name} className="border-2 hover:border-primary/40 transition-all hover:shadow-xl animate-slide-up overflow-hidden" style={{ |
| 30 | animationDelay: `${index * 0.1}s` |
| 31 | }}> |
| 32 | <CardContent className="p-0"> |
| 33 | {/* Image or Icon */} |
| 34 | {leader.image ? <div className="w-full h-64 overflow-hidden bg-gradient-hero"> |
| 35 | <img loading="lazy" decoding="async" src={leader.image} width={854} height={854} alt={leader.name} className="w-full h-full object-contain" /> |
| 36 | </div> : <div className="w-full h-64 bg-gradient-hero flex items-center justify-center"> |
| 37 | <Icon className="w-24 h-24 text-white/80" /> |
| 38 | </div>} |
| 39 | |
| 40 | {/* Content */} |
| 41 | <div className="p-6 space-y-4"> |
| 42 | <div className="space-y-2"> |
| 43 | <div className="flex items-center justify-between"> |
| 44 | <h3 className="text-xl font-bold text-foreground"> |
| 45 | {leader.name} |
| 46 | </h3> |
| 47 | </div> |
| 48 | <p className="text-lg font-semibold text-blue-800"> |
| 49 | {leader.role} |
| 50 | </p> |
| 51 | </div> |
| 52 | <p className="text-muted-foreground leading-relaxed"> |
| 53 | {leader.description} |
| 54 | </p> |
| 55 | </div> |
| 56 | </CardContent> |
| 57 | </Card>; |
| 58 | })} |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |
| 62 | </section>; |
| 63 | }; |