Update src/components/Layout.tsx
This commit is contained in:
@@ -7,86 +7,49 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Hem",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Om Oss",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Tjänster",
|
||||
"href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Kontakt",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
}
|
||||
];
|
||||
{ name: "Hem", href: "#hero" },
|
||||
{ name: "Om Oss", href: "#about" },
|
||||
{ name: "Tjänster", href: "#services" },
|
||||
{ name: "Kontakt", href: "#contact" },
|
||||
{ name: "Metrics", href: "#metrics" },
|
||||
{ name: "Testimonials", href: "#testimonials" },
|
||||
{ name: "Faq", href: "#faq" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="default" siteBackground="floatingGradient" heroBackground="gradientBars">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="EPAB"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Boka möte",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="EPAB"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/creative-letter-o-k-logo-design_474888-8034.jpg"
|
||||
ctaButton={{ text: "Boka möte", href: "#contact" }}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{
|
||||
title: "EPAB",
|
||||
items: [
|
||||
columns={[
|
||||
{
|
||||
label: "Om oss",
|
||||
href: "#about",
|
||||
title: "EPAB", items: [
|
||||
{ label: "Om oss", href: "#about" },
|
||||
{ label: "Karriär", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Karriär",
|
||||
href: "#",
|
||||
title: "Support", items: [
|
||||
{ label: "Frågor & Svar", href: "#faq" },
|
||||
{ label: "Kontakt", href: "#contact" },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
{
|
||||
label: "Frågor & Svar",
|
||||
href: "#faq",
|
||||
},
|
||||
{
|
||||
label: "Kontakt",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
leftText="© 2024 EPAB Consulting. Alla rättigheter reserverade."
|
||||
rightText="Integritetspolicy"
|
||||
/>
|
||||
]}
|
||||
leftText="© 2024 EPAB Consulting. Alla rättigheter reserverade."
|
||||
rightText="Integritetspolicy"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user