100 lines
2.2 KiB
TypeScript
100 lines
2.2 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
import NavbarFloating from '@/components/ui/NavbarFloating';
|
|
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": "O nás",
|
|
"href": "#about"
|
|
},
|
|
{
|
|
"name": "Služby",
|
|
"href": "#services"
|
|
},
|
|
{
|
|
"name": "Kontakt",
|
|
"href": "#contact"
|
|
},
|
|
{
|
|
"name": "Hero",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Patients",
|
|
"href": "#patients"
|
|
},
|
|
{
|
|
"name": "Team",
|
|
"href": "#team"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="shift" siteBackground="gridDots" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloating
|
|
logo="DENTILKA"
|
|
ctaButton={{
|
|
text: "Objednat se",
|
|
href: "#contact",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "DENTILKA s.r.o.",
|
|
items: [
|
|
{
|
|
label: "Telefon: +420 724 522 820",
|
|
href: "tel:+420724522820",
|
|
},
|
|
{
|
|
label: "E-mail: dentilka@centrum.cz",
|
|
href: "mailto:dentilka@centrum.cz",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Navigace",
|
|
items: [
|
|
{
|
|
label: "O nás",
|
|
href: "#about",
|
|
},
|
|
{
|
|
label: "Služby",
|
|
href: "#services",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Právní",
|
|
items: [
|
|
{
|
|
label: "GDPR",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Cookies",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 DENTILKA s.r.o. Všechna práva vyhrazena."
|
|
rightText="IČO: 09091653"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
} |