Files
f4f555ab-8868-4301-b3ca-cff…/src/components/Layout.tsx
2026-07-01 02:27:24 +00:00

121 lines
2.6 KiB
TypeScript

import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarDropdown from '@/components/ui/NavbarDropdown';
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": "#"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Companies",
"href": "#companies"
},
{
"name": "Recruitment",
"href": "#recruitment"
},
{
"name": "Trading",
"href": "#trading"
},
{
"name": "Real Estate",
"href": "#real-estate"
},
{
"name": "Contact",
"href": "#contact"
},
{ name: "Vicforce Recruitment", href: "/vicforce-recruitment" },
];
return (
<StyleProvider buttonVariant="bounce" siteBackground="gridDots" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarDropdown
logo="ABC Group"
ctaButton={{
text: "Request Consultation",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimple
brand="ABC Group"
columns={[
{
title: "Company",
items: [
{
label: "About",
href: "#about",
},
{
label: "Services",
href: "#",
},
{
label: "Contact",
href: "#contact",
},
],
},
{
title: "Divisions",
items: [
{
label: "Recruitment",
href: "#recruitment",
},
{
label: "Trading",
href: "#trading",
},
{
label: "Real Estate",
href: "#real-estate",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
],
},
]}
copyright="© 2024 ABC Group. All rights reserved."
links={[
{
label: "Luke 1:37",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}