115 lines
2.5 KiB
TypeScript
115 lines
2.5 KiB
TypeScript
import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
|
|
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": "Services",
|
|
"href": "#services"
|
|
},
|
|
{
|
|
"name": "Portfolio",
|
|
"href": "#portfolio"
|
|
},
|
|
{
|
|
"name": "Training",
|
|
"href": "#training"
|
|
},
|
|
{
|
|
"name": "Why NGA",
|
|
"href": "#why-nga"
|
|
},
|
|
{
|
|
"name": "Contact",
|
|
"href": "#contact"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="elastic" siteBackground="noise" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloating
|
|
logo="NGA Digital"
|
|
ctaButton={{
|
|
text: "Get Started",
|
|
href: "#contact",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterSimpleCard
|
|
brand="NGA Digital"
|
|
columns={[
|
|
{
|
|
title: "Services",
|
|
items: [
|
|
{
|
|
label: "AI Solutions",
|
|
href: "#services",
|
|
},
|
|
{
|
|
label: "Design",
|
|
href: "#services",
|
|
},
|
|
{
|
|
label: "Web Development",
|
|
href: "#services",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Company",
|
|
items: [
|
|
{
|
|
label: "About Us",
|
|
href: "#about",
|
|
},
|
|
{
|
|
label: "Portfolio",
|
|
href: "#portfolio",
|
|
},
|
|
{
|
|
label: "Courses",
|
|
href: "#training",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Contact",
|
|
items: [
|
|
{
|
|
label: "Email",
|
|
href: "mailto:hello@ngadigital.com",
|
|
},
|
|
{
|
|
label: "Social",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
copyright="© 2024 NGA Digital. All rights reserved."
|
|
links={[
|
|
{
|
|
label: "Privacy Policy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Terms of Service",
|
|
href: "#",
|
|
},
|
|
]}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|