Files
5bedb058-64af-401d-b67e-e3a…/src/components/Layout.tsx

84 lines
2.4 KiB
TypeScript

import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
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": "Home", "href": "#hero"
},
{
"name": "About", "href": "#about"
},
{
"name": "Portfolio", "href": "#portfolio"
},
{
"name": "Contact", "href": "#contact"
},
{
"name": "Features", "href": "#features"
},
{
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Metrics", "href": "#metrics"
}
];
return (
<StyleProvider buttonVariant="shift" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Abiari Interiors"
logoImageSrc="http://img.b2bpic.net/free-vector/rc-logo-monogram-design_23-2151060583.jpg"
ctaButton={{
text: "Inquire", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="Abiari Interiors"
columns={[
{
title: "Services", items: [
{
label: "Residential", href: "#portfolio"},
{
label: "Commercial", href: "#portfolio"},
{
label: "Consultation", href: "#contact"},
],
},
{
title: "Company", items: [
{
label: "About Us", href: "#about"},
{
label: "Our Process", href: "#about"},
{
label: "Careers", href: "#"},
],
},
]}
copyright="© 2024 Abiari Interiors. All rights reserved."
links={[
{
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}