diff --git a/src/pages/Doctors.tsx b/src/pages/Doctors.tsx new file mode 100644 index 0000000..24b5e2d --- /dev/null +++ b/src/pages/Doctors.tsx @@ -0,0 +1,76 @@ +import { useState } from "react"; +import { Link } from "react-router-dom"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; +import { Badge } from "@/components/ui/badge"; +import { Star, Globe } from "lucide-react"; +import Header from "@/components/Header"; +import Footer from "@/components/Footer"; + +const filters = ["All", "Cardiology", "Neurology", "Orthopedics", "Pediatrics"]; + +const doctors = [ + { id: "chen", name: "Dr. Sarah Chen", specialty: "Cardiology", credentials: "MD, FACC", exp: "15+ years experience", langs: "English, Mandarin", gradient: "from-sky-400 to-teal-400", filter: "Cardiology" }, + { id: "okafor", name: "Dr. James Okafor", specialty: "Neurology", credentials: "MD, PhD, FAAN", exp: "20+ years experience", langs: "English, French", gradient: "from-teal-400 to-emerald-400", filter: "Neurology" }, + { id: "rivera", name: "Dr. Emily Rivera", specialty: "Orthopedics", credentials: "MD, FAAOS", exp: "12+ years experience", langs: "English, Spanish", gradient: "from-indigo-400 to-sky-400", filter: "Orthopedics" }, + { id: "patel", name: "Dr. Michael Patel", specialty: "Pediatrics", credentials: "MD, FAAP", exp: "18+ years experience", langs: "English, Hindi, Gujarati", gradient: "from-violet-400 to-indigo-400", filter: "Pediatrics" }, + { id: "kimura", name: "Dr. Yuki Kimura", specialty: "Cardiology", credentials: "MD, FACC, FHRS", exp: "10+ years experience", langs: "English, Japanese", gradient: "from-rose-400 to-pink-400", filter: "Cardiology" }, + { id: "thompson", name: "Dr. Robert Thompson", specialty: "Neurology", credentials: "MD, FAAN", exp: "22+ years experience", langs: "English", gradient: "from-amber-400 to-orange-400", filter: "Neurology" }, +]; + +export default function DoctorsPage() { + const [active, setActive] = useState("All"); + const filtered = active === "All" ? doctors : doctors.filter(d => d.filter === active); + + return ( +
+
+ + {/* ── HERO ── */} +
+
+ Our Team +

Our Medical Team

+

Board-certified specialists committed to providing exceptional, patient-centered care.

+
+
+ + {/* ── FILTERS & GRID ── */} +
+
+
+ {filters.map((f) => ( + + ))} +
+
+ {filtered.map((d, i) => ( + + +
+ {d.name.split(" ").filter(n => n.startsWith("D") || !n.startsWith("D")).slice(-2).map(n => n[0]).join("")} +
+

{d.name}

+ {d.specialty} +

{d.credentials}

+

{d.exp}

+
+ + {d.langs} +
+ +
+
+ ))} +
+
+
+ +
+ ); +} \ No newline at end of file