75 lines
2.4 KiB
TypeScript
75 lines
2.4 KiB
TypeScript
import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
|
|
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": "Events", "href": "#events"
|
|
},
|
|
{
|
|
"name": "Menu", "href": "#menu"
|
|
},
|
|
{
|
|
"name": "Reservations", "href": "#contact"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="expand" siteBackground="floatingGradient" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="Irish Pub By Hollywood"
|
|
logoImageSrc="http://img.b2bpic.net/free-vector/pack-four-st-patrick-stickers-flat-design_23-2147596523.jpg"
|
|
ctaButton={{
|
|
text: "WhatsApp Book", href: "https://wa.me/994504040407"}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterSimpleMedia
|
|
brand="Irish Pub By Hollywood"
|
|
columns={[
|
|
{
|
|
title: "Location", items: [
|
|
{
|
|
label: "62 Nizami St, Baku", href: "#"},
|
|
{
|
|
label: "Open Daily 13:00 - 03:00", href: "#"},
|
|
],
|
|
},
|
|
{
|
|
title: "Socials", items: [
|
|
{
|
|
label: "Instagram", href: "#"},
|
|
{
|
|
label: "WhatsApp", href: "https://wa.me/994504040407"},
|
|
],
|
|
},
|
|
{
|
|
title: "Contact", items: [
|
|
{
|
|
label: "050 404 04 07", href: "tel:+994504040407"},
|
|
{
|
|
label: "Email Us", href: "mailto:info@irishpub.az"},
|
|
],
|
|
},
|
|
]}
|
|
copyright="© 2024 Irish Pub By Hollywood. All rights reserved."
|
|
links={[
|
|
{
|
|
label: "Privacy Policy", href: "#"},
|
|
]}
|
|
imageSrc="http://img.b2bpic.net/free-vector/pack-four-st-patrick-stickers-flat-design_23-2147596523.jpg?_wi=2"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|