import React from "react"; import { FaFacebook, FaInstagram } from "react-icons/fa"; import Image from "next/image"; interface Footer7Props { logo?: { url: string; src: string; alt: string; title: string; }; sections?: Array<{ title: string; links: Array<{ name: string; href: string }>; }>; description?: string; socialLinks?: Array<{ icon: React.ReactElement; href: string; label: string; }>; copyright?: string; legalLinks?: Array<{ name: string; href: string; }>; } const defaultSections = [ { title: "Services", links: [ { name: "Preventive Care", href: "/services/preventive-care" }, { name: "Cosmetic Dentistry", href: "/services/cosmetic-dentistry" }, { name: "Orthodontics", href: "/services/orthodontics" }, { name: "Pediatric Dentistry", href: "/services/pediatric-dentistry" }, { name: "Emergency Care", href: "/services/emergency-care" }, ], }, { title: "Patient Resources", links: [ { name: "Book Appointment", href: "/book" }, { name: "Patient Portal", href: "/dashboard" }, { name: "Insurance Info", href: "/insurance" }, { name: "Financing Options", href: "/financing" }, { name: "New Patient Forms", href: "/forms" }, ], }, { title: "About Us", links: [ { name: "Our Team", href: "/team" }, { name: "Our Clinic", href: "/clinic" }, { name: "Contact Us", href: "/contact" }, { name: "Careers", href: "/careers" }, ], }, ]; const defaultSocialLinks = [ { icon: , href: "#", label: "Instagram" }, { icon: , href: "#", label: "Facebook" }, ]; const defaultLegalLinks = [ { name: "Terms and Conditions", href: "/docs/terms-and-conditions" }, { name: "Privacy Policy", href: "/docs/privacy-policy" }, ]; const Footer = ({ logo = { url: "/", src: "/tooth.svg", alt: "Dental U Care Logo", title: "Dental U Care", }, sections = defaultSections, description = "Your trusted online dental appointment system. Book appointments, manage your dental health, and connect with expert dentists - all in one place.", socialLinks = defaultSocialLinks, copyright = "© 2025 Dental U Care. All rights reserved.", legalLinks = defaultLegalLinks, }: Footer7Props) => { return (
{/* Logo */}
{logo.alt}

{logo.title}

{description}

{sections.map((section, sectionIdx) => (

{section.title}

    {section.links.map((link, linkIdx) => (
  • {link.name}
  • ))}
))}

{copyright}

); }; export { Footer };