Merge version_1_1781380574631 into main

Merge version_1_1781380574631 into main
This commit was merged in pull request #2.
This commit is contained in:
2026-06-13 19:58:18 +00:00
2 changed files with 24 additions and 94 deletions

View File

@@ -1,101 +1,31 @@
import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
import { Outlet } from 'react-router-dom';
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": "Úvod",
"href": "#hero"
},
{
"name": "Služby",
"href": "#features"
},
{
"name": "O mně",
"href": "#about"
},
{
"name": "Prodejna",
"href": "#prodejna"
},
{
"name": "Kontakt",
"href": "#contact"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
}
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Zahradnictví ALEX"
ctaButton={{
text: "Kontaktujte nás",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<div className="min-h-screen">
<div id="nav" data-section="nav" className="fixed top-0 left-0 right-0 z-50">
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Zahradnictví ALEX"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=0hf0ns"
navItems={[
{ name: "Úvod", href: "#hero" },
{ name: "O nás", href: "#about" },
{ name: "Prodejna", href: "#prodejna" },
{ name: "Služby", href: "#features" },
{ name: "Kontakt", href: "#contact" }
]}
ctaButton={{
text: "Rezervovat", href: "#contact"
}}
/>
</SectionErrorBoundary>
</div>
<main className="pt-20">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="Zahradnictví ALEX"
columns={[
{
title: "Navigace",
items: [
{
label: "Úvod",
href: "#hero",
},
{
label: "Služby",
href: "#features",
},
{
label: "Kontakt",
href: "#contact",
},
],
},
{
title: "Informace",
items: [
{
label: "Obchodní podmínky",
href: "#",
},
{
label: "Ochrana soukromí",
href: "#",
},
],
},
]}
copyright="© 2020 Zahradnictví ALEX. Všechna práva vyhrazena."
links={[
{
label: "Cookies",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
</div>
);
}

View File

@@ -74,11 +74,11 @@ export default function HomePage() {
text: "Zjistit více", href: "#"},
imageSrc: "http://img.b2bpic.net/free-photo/earth-day-child-garden_169016-5995.jpg"},
{
title: "Realizace", description: "Kompletní výsadba a založení trávníků.", primaryButton: {
tag: "Realizace", title: "Realizace", description: "Kompletní výsadba a založení trávníků.", primaryButton: {
text: "Zjistit více", href: "#"},
imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-gardener-s-hand-pruning-flowers_23-2148165237.jpg"},
{
title: "Údržba", description: "Pravidelná péče o vaši zahradu během roku.", primaryButton: {
tag: "Údržba", title: "Údržba", description: "Pravidelná péče o vaši zahradu během roku.", primaryButton: {
text: "Zjistit více", href: "#"},
imageSrc: "http://img.b2bpic.net/free-photo/worker-pours-flowerpoots-girl-black-apron_1157-42016.jpg"},
]}