Files
b34a3c69-8363-4b0f-84c0-1b4…/src/components/Layout.tsx

80 lines
2.2 KiB
TypeScript

import FooterSimple from '@/components/sections/footer/FooterSimple';
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": "Verifications", "href": "#verifications"
},
{
"name": "Manage Servers", "href": "#manage"
},
{
"name": "Support", "href": "#support"
},
{
"name": "Hero", "href": "#hero"
},
{
"name": "Features", "href": "#features"
},
{
"name": "Pricing", "href": "#pricing"
},
{
"name": "Metrics", "href": "#metrics"
}
];
return (
<StyleProvider buttonVariant="expand" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Bloxlink"
logoImageSrc="http://img.b2bpic.net/free-photo/google-drive-icon-line-connection-circuit-board_1379-902.jpg"
ctaButton={{
text: "Sign In", href: "/login"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimple
brand="Bloxlink"
columns={[
{
title: "Product", items: [
{
label: "Verifications", href: "#"},
{
label: "Dashboard", href: "#"},
],
},
{
title: "Company", items: [
{
label: "About", href: "#"},
{
label: "Terms", href: "#"},
],
},
]}
copyright="© 2026 Bloxlink. All rights reserved."
links={[
{
label: "Privacy Policy", href: "#"},
{
label: "Purchase Policy", href: "#"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}