36 lines
1022 B
TypeScript
36 lines
1022 B
TypeScript
import FooterMinimal from '@/components/sections/footer/FooterMinimal';
|
|
import NavbarCentered from '@/components/ui/NavbarCentered';
|
|
import { Outlet } from 'react-router-dom';
|
|
import { Instagram, Facebook, Twitter } from 'lucide-react';
|
|
|
|
export default function Layout() {
|
|
const navItems = [
|
|
{ name: "Home", href: "#hero" },
|
|
{ name: "About", href: "#about" },
|
|
{ name: "Products", href: "#products" },
|
|
{ name: "Contact", href: "#contact" }
|
|
];
|
|
|
|
return (
|
|
<>
|
|
<NavbarCentered
|
|
logo="Artisan Bakery"
|
|
navItems={navItems}
|
|
ctaButton={{
|
|
text: "Order Online", href: "#contact"}}
|
|
/>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<FooterMinimal
|
|
brand="Artisan Bakery"
|
|
copyright="© 2024 Artisan Bakery. All rights reserved."
|
|
socialLinks={[
|
|
{ icon: "Instagram", href: "#" },
|
|
{ icon: "Facebook", href: "#" },
|
|
{ icon: "Twitter", href: "#" },
|
|
]}
|
|
/>
|
|
</>
|
|
);
|
|
} |