77 lines
2.0 KiB
TypeScript
77 lines
2.0 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
import NavbarFloating from '@/components/ui/NavbarFloating';
|
|
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": "About", "href": "#about"
|
|
},
|
|
{
|
|
"name": "Process", "href": "#features"
|
|
},
|
|
{
|
|
"name": "Testimonials", "href": "#testimonials"
|
|
},
|
|
{
|
|
"name": "Pricing", "href": "#pricing"
|
|
},
|
|
{
|
|
"name": "Hero", "href": "#hero"
|
|
},
|
|
{
|
|
"name": "Product", "href": "#product"
|
|
},
|
|
{
|
|
"name": "Metrics", "href": "#metrics"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="expand" siteBackground="noiseGradient" heroBackground="radialGradient">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloating
|
|
logo="H Guide"
|
|
ctaButton={{
|
|
text: "Get Started", href: "#contact"}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "H Guide", items: [
|
|
{
|
|
label: "About", href: "#"},
|
|
{
|
|
label: "Careers", href: "#"},
|
|
{
|
|
label: "Press", href: "#"},
|
|
],
|
|
},
|
|
{
|
|
title: "Resources", items: [
|
|
{
|
|
label: "Blog", href: "#"},
|
|
{
|
|
label: "Guides", href: "#"},
|
|
{
|
|
label: "Help Center", href: "#"},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 H Guide. All rights reserved."
|
|
rightText="Privacy Policy | Terms of Service"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|