109 lines
2.4 KiB
TypeScript
109 lines
2.4 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
|
|
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": "Home",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Menu",
|
|
"href": "#features"
|
|
},
|
|
{
|
|
"name": "Testimonials",
|
|
"href": "#testimonials"
|
|
},
|
|
{
|
|
"name": "Contact",
|
|
"href": "#contact"
|
|
},
|
|
{
|
|
"name": "About",
|
|
"href": "#about"
|
|
},
|
|
{
|
|
"name": "Metrics",
|
|
"href": "#metrics"
|
|
},
|
|
{
|
|
"name": "Faq",
|
|
"href": "#faq"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="expand" siteBackground="floatingGradient" heroBackground="cornerGlow">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="El Baraka"
|
|
ctaButton={{
|
|
text: "Order Now",
|
|
href: "tel:+20016099",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "Menu",
|
|
items: [
|
|
{
|
|
label: "Broasted Chicken",
|
|
href: "#features",
|
|
},
|
|
{
|
|
label: "Sides",
|
|
href: "#features",
|
|
},
|
|
{
|
|
label: "Combos",
|
|
href: "#features",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Location",
|
|
items: [
|
|
{
|
|
label: "Camp Caesar Branch",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Alexandria, Egypt",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Support",
|
|
items: [
|
|
{
|
|
label: "Call Us",
|
|
href: "tel:+20016099",
|
|
},
|
|
{
|
|
label: "Message Us",
|
|
href: "https://m.me/ElBarakarestaurant",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 El Baraka Restaurant. All rights reserved."
|
|
rightText="Powered by Quality Service"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|