Files
3702c8df-1b2e-497f-bc4d-195…/src/components/Layout.tsx
2026-06-13 21:08:01 +00:00

79 lines
1.7 KiB
TypeScript

import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarDropdown from '@/components/ui/NavbarDropdown';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Facebook, Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
},
{
"name": "Collections",
"href": "#features"
},
{
"name": "Services",
"href": "#pricing"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Faq",
"href": "#faq"
},
{
"name": "Contact",
"href": "#contact"
}
];
return (
<StyleProvider buttonVariant="expand" siteBackground="noise" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarDropdown
logo="Akwa Ngala"
ctaButton={{
text: "Contact Us",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="Akwa Ngala"
copyright="© 2024 Akwa Ngala. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
{
icon: Twitter,
href: "#",
},
{
icon: Facebook,
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}