@devries-cameron20 / OCIU-npo Mirror · read-only / commits / 74d0657
Fork 0

Mirrored from https://github.com/Camo67/OCIU-npo.git

Synced Nov 21, 04:45 UTC

Visual edit in Lovable

gpt-engineer-app[bot] committed Oct 8, 2025 at 03:51 UTC 74d0657c56ef3bd5de7ee3614581fc94d8c8b37f
1 file changed +33 -53
src/components/Leadership.tsx
+33 -53
@@ -2,35 +2,28 @@ import { Card, CardContent } from "@/components/ui/card";
2 import { Badge } from "@/components/ui/badge";
3 import cameronPortrait from "@/assets/cameron-devries.jpg";
4 import { Users, UserCheck, Settings } from "lucide-react";
5 -
6 -const leaders = [
7 - {
8 - name: "Cameron De Vries",
9 - role: "Director",
10 - percentage: "60%",
11 - icon: Users,
12 - image: cameronPortrait,
13 - description: "Leading the vision and strategic direction of Community & Unity, and host of Unspoken Truths podcast.",
14 - },
15 - {
16 - name: "Bertha Alicia De Vries",
17 - role: "HR Manager",
18 - percentage: "30%",
19 - icon: UserCheck,
20 - description: "Driving people-first culture and building strong teams that reflect our community values.",
21 - },
22 - {
23 - name: "Antonio Clifford Marais",
24 - role: "Operations Manager",
25 - percentage: "10%",
26 - icon: Settings,
27 - description: "Ensuring smooth operations and sustainable growth across all our initiatives.",
28 - },
29 -];
30 -
5 +const leaders = [{
6 + name: "Cameron De Vries",
7 + role: "Director",
8 + percentage: "60%",
9 + icon: Users,
10 + image: cameronPortrait,
11 + description: "Leading the vision and strategic direction of Community & Unity, and host of Unspoken Truths podcast."
12 +}, {
13 + name: "Bertha Alicia De Vries",
14 + role: "HR Manager",
15 + percentage: "30%",
16 + icon: UserCheck,
17 + description: "Driving people-first culture and building strong teams that reflect our community values."
18 +}, {
19 + name: "Antonio Clifford Marais",
20 + role: "Operations Manager",
21 + percentage: "10%",
22 + icon: Settings,
23 + description: "Ensuring smooth operations and sustainable growth across all our initiatives."
24 +}];
25 export const Leadership = () => {
32 - return (
33 - <section className="py-24 bg-muted/30">
26 + return <section className="py-24 bg-muted/30">
27 <div className="container mx-auto px-4">
28 <div className="max-w-6xl mx-auto space-y-16">
29 {/* Section Header */}
@@ -46,28 +39,17 @@ export const Leadership = () => {
39 {/* Leadership Cards */}
40 <div className="grid md:grid-cols-3 gap-8">
41 {leaders.map((leader, index) => {
49 - const Icon = leader.icon;
50 - return (
51 - <Card
52 - key={leader.name}
53 - className="border-2 hover:border-primary/40 transition-all hover:shadow-xl animate-slide-up overflow-hidden"
54 - style={{ animationDelay: `${index * 0.1}s` }}
55 - >
42 + const Icon = leader.icon;
43 + return <Card key={leader.name} className="border-2 hover:border-primary/40 transition-all hover:shadow-xl animate-slide-up overflow-hidden" style={{
44 + animationDelay: `${index * 0.1}s`
45 + }}>
46 <CardContent className="p-0">
47 {/* Image or Icon */}
58 - {leader.image ? (
59 - <div className="w-full h-64 overflow-hidden bg-gradient-hero">
60 - <img
61 - src={leader.image}
62 - alt={leader.name}
63 - className="w-full h-full object-cover"
64 - />
65 - </div>
66 - ) : (
67 - <div className="w-full h-64 bg-gradient-hero flex items-center justify-center">
48 + {leader.image ? <div className="w-full h-64 overflow-hidden bg-gradient-hero">
49 + <img src={leader.image} alt={leader.name} className="max-w-full max-h-full -bottom-0 " />
50 + </div> : <div className="w-full h-64 bg-gradient-hero flex items-center justify-center">
51 <Icon className="w-24 h-24 text-white/80" />
69 - </div>
70 - )}
52 + </div>}
53
54 {/* Content */}
55 <div className="p-6 space-y-4">
@@ -89,12 +71,10 @@ export const Leadership = () => {
71 </p>
72 </div>
73 </CardContent>
92 - </Card>
93 - );
94 - })}
74 + </Card>;
75 + })}
76 </div>
77 </div>
78 </div>
98 - </section>
99 - );
100 -};
79 + </section>;
80 +};
\ No newline at end of file