import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarFloating from '@/components/ui/NavbarFloating';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";

export default function Layout() {
  const navItems = [
  {
    "name": "Home",
    "href": "#hero"
  },
  {
    "name": "Bridal",
    "href": "#bridal"
  },
  {
    "name": "Services",
    "href": "#services"
  },
  {
    "name": "Gallery",
    "href": "#gallery"
  },
  {
    "name": "Reviews",
    "href": "#reviews"
  },
  {
    "name": "About",
    "href": "#about"
  },
  {
    "name": "Team",
    "href": "#team"
  }
];

  return (
    <StyleProvider buttonVariant="bounce" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
      <SiteBackgroundSlot />
      <SectionErrorBoundary name="navbar">
        <NavbarFloating
      logo="Zehra Abbas"
      ctaButton={{
        text: "Book Now",
        href: "#contact",
      }}
     navItems={navItems} />
      </SectionErrorBoundary>
      <main className="flex-grow">
        <Outlet />
      </main>
      <SectionErrorBoundary name="footer">
        <FooterSimpleMedia
      brand="Zehra Abbas PECHS"
      columns={[
        {
          title: "Bridal Studio",
          items: [
            {
              label: "Luxury Makeup",
              href: "#",
            },
            {
              label: "Hair Styling",
              href: "#",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "Facials",
              href: "#",
            },
            {
              label: "Nail Care",
              href: "#",
            },
          ],
        },
        {
          title: "Location",
          items: [
            {
              label: "PECHS, Karachi",
              href: "#",
            },
            {
              label: "0321 3314177",
              href: "tel:03213314177",
            },
          ],
        },
      ]}
      copyright="© 2024 Zehra Abbas PECHS. All rights reserved."
      links={[
        {
          label: "Privacy Policy",
          href: "#",
        },
        {
          label: "Terms",
          href: "#",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/woman-hold-her-hair-hand_633478-1619.jpg"
    />
      </SectionErrorBoundary>
    </StyleProvider>
  );
}
