import { Button } from "@/components/ui/button"; import Image from "next/image"; interface About3Props { title?: string; description?: string; mainImage?: { src: string; alt: string; }; secondaryImage?: { src: string; alt: string; }; breakout?: { src: string; alt: string; title?: string; description?: string; buttonText?: string; buttonUrl?: string; }; companiesTitle?: string; companies?: Array<{ src: string; alt: string; }>; achievementsTitle?: string; achievementsDescription?: string; achievements?: Array<{ label: string; value: string; }>; } const defaultCompanies = [ { src: "/tooth.svg", alt: "tooth", }, ]; const defaultAchievements = [ { label: "Happy Patients", value: "500+" }, { label: "Appointments Booked", value: "1000+" }, { label: "Satisfaction Rate", value: "98%" }, { label: "Expert Dentists", value: "4" }, ]; const About = ({ title = "About Dental U Care", description = "We're a modern dental care provider committed to making quality dental services accessible through our innovative online appointment system. Experience hassle-free booking and world-class dental care.", mainImage = { src: "/clinic.jpg", alt: "Modern dental clinic interior", }, secondaryImage = { src: "/team.jpg", alt: "Professional dental team", }, breakout = { src: "/tooth.svg", alt: "Dental U Care Logo", title: "Book Your Appointment in Minutes", description: "Our easy-to-use online booking system lets you schedule appointments 24/7, choose your preferred dentist, and manage your dental health journey.", buttonText: "Book Now", buttonUrl: "patient/book-appointment", }, companiesTitle = "Trusted Insurance Partners", companies = defaultCompanies, achievementsTitle = "Our Impact in Numbers", achievementsDescription = "Providing quality dental care and making appointments easier for thousands of patients across the Philippines.", achievements = defaultAchievements, }: About3Props = {}) => { return (

{title}

{description}

{mainImage.alt}
{breakout.alt}

{breakout.title}

{breakout.description}

{secondaryImage.alt}

{companiesTitle}

{companies.map((company, idx) => (
{company.alt}
))}

{achievementsTitle}

{achievementsDescription}

{achievements.map((item, idx) => { const gradients = [ "from-blue-500 to-cyan-500", "from-purple-500 to-pink-500", "from-green-500 to-emerald-500", "from-orange-500 to-red-500", ]; return (

{item.label}

{item.value}
); })}
); }; export { About };