import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarInline from '@/components/ui/NavbarInline';
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": "Expertise",
    "href": "#expertise"
  },
  {
    "name": "Impact",
    "href": "#impact"
  },
  {
    "name": "Insights",
    "href": "#insights"
  },
  {
    "name": "Hero",
    "href": "#hero"
  },
  {
    "name": "Social",
    "href": "#social"
  },
  {
    "name": "Contact",
    "href": "#contact"
  }
];

  return (
    <StyleProvider buttonVariant="stagger" siteBackground="gridDots" heroBackground="cornerGlow">
      <SiteBackgroundSlot />
      <SectionErrorBoundary name="navbar">
        <NavbarInline
      logo="Innovation Makers"
      ctaButton={{
        text: "Initiate Partnership",
        href: "#contact",
      }}
     navItems={navItems} />
      </SectionErrorBoundary>
      <main className="flex-grow">
        <Outlet />
      </main>
      <SectionErrorBoundary name="footer">
        <FooterSimpleMedia
      imageSrc="http://img.b2bpic.net/free-vector/geometric-snowflake-logo_779267-2932.jpg"
      brand="Innovation Makers"
      columns={[
        {
          title: "Expertise",
          items: [
            {
              label: "Venture Building",
              href: "#",
            },
            {
              label: "Tech Integration",
              href: "#",
            },
          ],
        },
        {
          title: "Insights",
          items: [
            {
              label: "Latest Playbooks",
              href: "#",
            },
            {
              label: "Annual Reports",
              href: "#",
            },
          ],
        },
        {
          title: "Firm",
          items: [
            {
              label: "About Us",
              href: "#",
            },
            {
              label: "Our Partners",
              href: "#",
            },
          ],
        },
        {
          title: "Careers",
          items: [
            {
              label: "Current Openings",
              href: "#",
            },
            {
              label: "Diversity & Inclusion",
              href: "#",
            },
          ],
        },
      ]}
      copyright="© 2024 Innovation Makers Consulting. All Rights Reserved."
      links={[
        {
          label: "Privacy Policy",
          href: "#",
        },
        {
          label: "Terms of Value",
          href: "#",
        },
      ]}
    />
      </SectionErrorBoundary>
    </StyleProvider>
  );
}
