Files
44cee458-e56e-41c5-9d53-b96…/src/components/Layout.tsx
2026-06-23 19:48:40 +00:00

95 lines
2.1 KiB
TypeScript

import FooterSimple from '@/components/sections/footer/FooterSimple';
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": "Início",
"href": "#hero"
},
{
"name": "Cardápio",
"href": "#menu"
},
{
"name": "Rodízio",
"href": "#rodizio"
},
{
"name": "Contato",
"href": "#contact"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="expand" siteBackground="gridDots" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="ASAMI"
ctaButton={{
text: "Pedir Agora",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimple
brand="Asami Sushi"
columns={[
{
title: "Localização",
items: [
{
label: "Rua Madre Paula de São José, 548 - Vila Ema",
},
],
},
{
title: "Contato",
items: [
{
label: "(12) 3923-8169",
},
{
label: "(12) 98708-9112",
},
],
},
]}
copyright="© 2024 Asami Sushi. Todos os direitos reservados."
links={[
{
label: "Privacidade",
href: "#",
},
{
label: "Instagram @asamisushisjc",
href: "https://instagram.com/asamisushisjc",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}