Files
ed274625-9671-4f2f-a250-21a…/src/components/Layout.tsx
2026-06-15 13:05:25 +00:00

103 lines
2.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
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": "Domů",
"href": "#hero"
},
{
"name": "Služby",
"href": "#features"
},
{
"name": "Ceník",
"href": "#pricing"
},
{
"name": "Reference",
"href": "#testimonials"
},
{
"name": "Kontakt",
"href": "#contact"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Metrics",
"href": "#metrics"
}
];
return (
<StyleProvider buttonVariant="shift" siteBackground="floatingGradient" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Exclusive"
ctaButton={{
text: "Rezervovat",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="Kadeřnictví Exclusive"
columns={[
{
title: "Kontakt",
items: [
{
label: "Revoluční 140, Jeseník",
},
{
label: "Tel: 736 138 511",
},
{
label: "Otevřeno: PoPá do 18:30",
},
],
},
{
title: "Služby",
items: [
{
label: "Barvení",
href: "#features",
},
{
label: "Styling",
href: "#features",
},
{
label: "Střihy",
href: "#features",
},
],
},
]}
copyright="© 2024 Kadeřnictví Exclusive. Všechna práva vyhrazena."
links={[
{
label: "Facebook",
href: "https://facebook.com",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}