Update src/components/Layout.tsx

This commit is contained in:
2026-06-23 20:32:42 +00:00
parent 83cbbb49e4
commit cb3a67b271

View File

@@ -7,115 +7,58 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Služby",
"href": "#sluzby"
},
{
"name": "Dotace",
"href": "#dotace"
},
{
"name": "Reference",
"href": "#reference"
},
{
"name": "Kontakt",
"href": "#kontakt"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Proc My",
"href": "#proc-my"
},
{
"name": "Cenik",
"href": "#cenik"
}
];
{ name: "Služby", href: "#sluzby" },
{ name: "Dotace", href: "#dotace" },
{ name: "Reference", href: "#reference" },
{ name: "Kontakt", href: "#kontakt" }
];
return (
<StyleProvider buttonVariant="shift" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="PUR Vávra"
ctaButton={{
text: "Nezávazná kalkulace",
href: "#kontakt",
}}
navItems={navItems} />
logo="PUR Vávra"
logoImageSrc="http://img.b2bpic.net/free-vector/collection-logos-branding-vector_53876-66297.jpg"
ctaButton={{
text: "Nezávazná kalkulace", href: "#kontakt"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="PUR pěna Vávra"
columns={[
{
title: "Služby",
items: [
brand="PUR pěna Vávra"
columns={[
{
label: "Stříkaná izolace",
href: "#sluzby",
title: "Služby", items: [
{ label: "Stříkaná izolace", href: "#sluzby" },
{ label: "Foukaná izolace", href: "#sluzby" },
{ label: "Dotace NZÚ", href: "#dotace" },
],
},
{
label: "Foukaná izolace",
href: "#sluzby",
title: "Informace", items: [
{ label: "O nás", href: "#onas" },
{ label: "Ceník", href: "#cenik" },
{ label: "Reference", href: "#reference" },
],
},
{
label: "Dotace NZÚ",
href: "#dotace",
title: "Kontakt", items: [
{ label: "Tel: 777 000 111", href: "tel:+420777000111" },
{ label: "Email: info@purvavra.cz", href: "mailto:info@purvavra.cz" },
],
},
],
},
{
title: "Informace",
items: [
{
label: "O nás",
href: "#onas",
},
{
label: "Ceník",
href: "#cenik",
},
{
label: "Reference",
href: "#reference",
},
],
},
{
title: "Kontakt",
items: [
{
label: "Tel: 777 000 111",
href: "tel:+420777000111",
},
{
label: "Email: info@purvavra.cz",
href: "mailto:info@purvavra.cz",
},
],
},
]}
copyright="© 2024 PUR pěna Vávra. Všechna práva vyhrazena."
links={[
{
label: "GDPR",
href: "#",
},
{
label: "Cookies",
href: "#",
},
]}
/>
]}
copyright="© 2024 PUR pěna Vávra. Všechna práva vyhrazena."
links={[
{ label: "GDPR", href: "#" },
{ label: "Cookies", href: "#" },
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);