Update src/components/Layout.tsx
This commit is contained in:
@@ -7,85 +7,49 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Menu",
|
||||
"href": "#menu"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Reviews",
|
||||
"href": "#reviews"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
}
|
||||
];
|
||||
{ name: "Menu", href: "#menu" },
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Reviews", href: "#reviews" },
|
||||
{ name: "Contact", href: "#contact" },
|
||||
{ name: "Hero", href: "#hero" },
|
||||
{ name: "Features", href: "#features" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="expand" siteBackground="gridDots" heroBackground="gradientBars">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Don Güero"
|
||||
ctaButton={{
|
||||
text: "Order Online",
|
||||
href: "#order",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Don Güero"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/taqueria-restaurant-hand-drawn-logo-template_23-2149527867.jpg"
|
||||
ctaButton={{
|
||||
text: "Order Online", href: "#order"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBrand
|
||||
brand="Taquería Don Güero"
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
brand="Taquería Don Güero"
|
||||
columns={[
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#about",
|
||||
items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Menu", href: "#menu" },
|
||||
{ label: "Reviews", href: "#reviews" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Menu",
|
||||
href: "#menu",
|
||||
items: [
|
||||
{ label: "Directions", href: "#" },
|
||||
{ label: "Call Us", href: "tel:4793618073" },
|
||||
{ label: "Order Online", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Reviews",
|
||||
href: "#reviews",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Directions",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Call Us",
|
||||
href: "tel:4793618073",
|
||||
},
|
||||
{
|
||||
label: "Order Online",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user