83 lines
2.2 KiB
TypeScript
83 lines
2.2 KiB
TypeScript
import FooterBrand from '@/components/sections/footer/FooterBrand';
|
|
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": "Dashboard", "href": "#hero"
|
|
},
|
|
{
|
|
"name": "Employees", "href": "#team"
|
|
},
|
|
{
|
|
"name": "CRM", "href": "#features"
|
|
},
|
|
{
|
|
"name": "Payroll", "href": "#pricing"
|
|
},
|
|
{
|
|
"name": "Product", "href": "#product"
|
|
},
|
|
{
|
|
"name": "Testimonial", "href": "#testimonial"
|
|
},
|
|
{
|
|
"name": "Metrics", "href": "#metrics"
|
|
},
|
|
{ name: "Dashboard", href: "/dashboard" },
|
|
{ name: "Ai Command Center", href: "/ai-command-center" },
|
|
{ name: "Investment Dashboard", href: "/investment-dashboard" },
|
|
|
|
|
|
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="magnetic" siteBackground="gridDots" heroBackground="lightRaysCenter">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="ATLAS"
|
|
logoImageSrc="http://img.b2bpic.net/free-vector/vintage-creative-logo-collection_1361-913.jpg"
|
|
ctaButton={{
|
|
text: "Launch App", href: "#contact"}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBrand
|
|
brand="ATLAS"
|
|
columns={[
|
|
{
|
|
items: [
|
|
{
|
|
label: "Dashboard", href: "#"},
|
|
{
|
|
label: "CRM", href: "#"},
|
|
{
|
|
label: "Payroll", href: "#"},
|
|
],
|
|
},
|
|
{
|
|
items: [
|
|
{
|
|
label: "Security", href: "#"},
|
|
{
|
|
label: "Privacy Policy", href: "#"},
|
|
{
|
|
label: "Terms of Service", href: "#"},
|
|
],
|
|
},
|
|
]}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|