Update src/components/Layout.tsx
This commit is contained in:
@@ -7,104 +7,57 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "O nas",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Oferta",
|
||||
"href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Cennik",
|
||||
"href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Opinie",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Team",
|
||||
"href": "#team"
|
||||
}
|
||||
];
|
||||
{ name: "O nas", href: "#about" },
|
||||
{ name: "Oferta", href: "#services" },
|
||||
{ name: "Cennik", href: "#pricing" },
|
||||
{ name: "Opinie", href: "#testimonials" },
|
||||
{ name: "Hero", href: "#hero" },
|
||||
{ name: "Features", href: "#features" },
|
||||
{ name: "Team", href: "#team" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="stagger" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="PolishIT Detailing"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Umów wizytę",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="PolishIT Detailing"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/hand-drawn-car-wash-logo-design_23-2149936376.jpg"
|
||||
ctaButton={{
|
||||
text: "Umów wizytę", href: "#contact"
|
||||
}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimpleMedia
|
||||
brand="PolishIT Detailing"
|
||||
columns={[
|
||||
{
|
||||
title: "Usługi",
|
||||
items: [
|
||||
brand="PolishIT Detailing"
|
||||
columns={[
|
||||
{
|
||||
label: "Detailing",
|
||||
href: "#services",
|
||||
title: "Usługi", items: [
|
||||
{ label: "Detailing", href: "#services" },
|
||||
{ label: "Ceramika", href: "#services" },
|
||||
{ label: "Mycie", href: "#services" }
|
||||
]
|
||||
},
|
||||
{
|
||||
label: "Ceramika",
|
||||
href: "#services",
|
||||
},
|
||||
{
|
||||
label: "Mycie",
|
||||
href: "#services",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Firma",
|
||||
items: [
|
||||
{
|
||||
label: "O nas",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Zespół",
|
||||
href: "#team",
|
||||
},
|
||||
{
|
||||
label: "Kontakt",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 PolishIT Detailing. Wszelkie prawa zastrzeżone."
|
||||
links={[
|
||||
{
|
||||
label: "Polityka prywatności",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Regulamin",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/hand-drawn-car-wash-logo-design_23-2149936376.jpg"
|
||||
/>
|
||||
title: "Firma", items: [
|
||||
{ label: "O nas", href: "#about" },
|
||||
{ label: "Zespół", href: "#team" },
|
||||
{ label: "Kontakt", href: "#contact" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
copyright="© 2024 PolishIT Detailing. Wszelkie prawa zastrzeżone."
|
||||
links={[
|
||||
{ label: "Polityka prywatności", href: "#" },
|
||||
{ label: "Regulamin", href: "#" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/hand-drawn-car-wash-logo-design_23-2149936376.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user