66 lines
1.9 KiB
TypeScript
66 lines
1.9 KiB
TypeScript
import FooterMinimal from '@/components/sections/footer/FooterMinimal';
|
|
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
|
|
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
|
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
|
import { Facebook, Instagram, Twitter } from "lucide-react";
|
|
import { Outlet } from 'react-router-dom';
|
|
import { StyleProvider } from "@/components/ui/StyleProvider";
|
|
|
|
export default function Layout() {
|
|
const navItems = [
|
|
{
|
|
"name": "Collections", "href": "#products"
|
|
},
|
|
{
|
|
"name": "Our Story", "href": "#about"
|
|
},
|
|
{
|
|
"name": "Trust", "href": "#testimonials"
|
|
},
|
|
{
|
|
"name": "Help", "href": "#faq"
|
|
},
|
|
{
|
|
"name": "Hero", "href": "#hero"
|
|
},
|
|
{
|
|
"name": "Features", "href": "#features"
|
|
},
|
|
{
|
|
"name": "Social Proof", "href": "#social-proof"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="shift" siteBackground="floatingGradient" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="Eurolark"
|
|
logoImageSrc="http://img.b2bpic.net/free-vector/minimal-logo-designs-set_53876-94204.jpg"
|
|
ctaButton={{
|
|
text: "Shop Now", href: "#products"}}
|
|
navItems={navItems}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterMinimal
|
|
brand="Eurolark Kuwait"
|
|
copyright="© 2024 Eurolark Travel. All rights reserved."
|
|
socialLinks={[
|
|
{
|
|
icon: "Instagram", href: "#"},
|
|
{
|
|
icon: "Twitter", href: "#"},
|
|
{
|
|
icon: "Facebook", href: "#"},
|
|
]}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|