import { useState } from "react"; import { useParams, Link } from "wouter"; import { useLanguage } from "../contexts/LanguageContext"; import { Reveal } from "../components/Reveal"; import { Card, CardContent } from "@/components/ui/card"; import { Users, Info, Check, Building2 } from "lucide-react"; type TabKey = "visionMission" | "goalsPillars" | "advantagesDomains"; function ListBlock({ title, items }: { title: string; items: string[] }) { return (

{title}

); } function StatementBlock({ title, text }: { title: string; text: string }) { return (

{title}

{text}

); } export default function About() { const { t } = useLanguage(); const params = useParams<{ section?: string }>(); const isCommittees = params.section === "committees"; const [tab, setTab] = useState("visionMission"); const tabs: { key: TabKey; label: string }[] = [ { key: "visionMission", label: t.about.tabVisionMission }, { key: "goalsPillars", label: t.about.tabGoalsPillars }, { key: "advantagesDomains", label: t.about.tabAdvantagesDomains }, ]; return (
{/* Section toggle: Who we are / Committees */}
{t.about.whoWeAre} {t.about.committees}
{isCommittees ? (

{t.about.committeesTitle}

{t.about.committeesIntro}

{t.about.committeeItems.map((c, i) => (

{c.name}

{c.desc}

))}
) : ( <> {/* Intro green panel */}

{t.about.introTitle}

{t.about.intro}

{/* Tabs */}
{tabs.map((tb) => ( ))}
{/* Tab content */}
{tab === "visionMission" && ( <> )} {tab === "goalsPillars" && ( <> )} {tab === "advantagesDomains" && ( <> )}
)}
); }