102 lines
2.2 KiB
TypeScript
102 lines
2.2 KiB
TypeScript
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
|
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": "Services",
|
|
"href": "#services"
|
|
},
|
|
{
|
|
"name": "How It Works",
|
|
"href": "#how"
|
|
},
|
|
{
|
|
"name": "Reviews",
|
|
"href": "#reviews"
|
|
},
|
|
{
|
|
"name": "Area",
|
|
"href": "#area"
|
|
},
|
|
{
|
|
"name": "Hero",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Metrics",
|
|
"href": "#metrics"
|
|
},
|
|
{
|
|
"name": "Contact",
|
|
"href": "#contact"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="default" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloating
|
|
logo="ProperCare"
|
|
ctaButton={{
|
|
text: "Book Now",
|
|
href: "tel:4143348686",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterSimple
|
|
brand="ProperCare Mobile Detailing"
|
|
columns={[
|
|
{
|
|
title: "Services",
|
|
items: [
|
|
{
|
|
label: "Standard Interior",
|
|
href: "#services",
|
|
},
|
|
{
|
|
label: "Premium Interior",
|
|
href: "#services",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Company",
|
|
items: [
|
|
{
|
|
label: "How It Works",
|
|
href: "#how",
|
|
},
|
|
{
|
|
label: "Reviews",
|
|
href: "#reviews",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
copyright="© 2025 ProperCare Mobile Auto Detailing · Milwaukee, WI"
|
|
links={[
|
|
{
|
|
label: "Privacy Policy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Terms of Service",
|
|
href: "#",
|
|
},
|
|
]}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|