Files
a37f030d-6e8a-4f3d-9f23-1ce…/src/components/Layout.tsx
vitalijmulika fb5d40bc69 Initial commit
2026-04-29 13:20:41 +03:00

71 lines
1.3 KiB
TypeScript

import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarDropdown from '@/components/ui/NavbarDropdown';
import { Facebook, Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
},
{
"name": "Menu",
"href": "#menu"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
}
];
return (
<>
<NavbarDropdown
logo="Bean & Bloom"
ctaButton={{
text: "Order Online",
href: "#menu",
}}
navItems={navItems} />
<main className="flex-grow">
<Outlet />
</main>
<FooterMinimal
brand="Bean & Bloom"
copyright="© 2024 Bean & Bloom Coffee Roasters. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
{
icon: Twitter,
href: "#",
},
{
icon: Facebook,
href: "#",
},
]}
/>
</>
);
}