Update src/components/Layout.tsx

This commit is contained in:
2026-06-23 20:29:47 +00:00
parent 49474c1ce5
commit 6cb01a331b

View File

@@ -7,105 +7,57 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Safaris",
"href": "#services"
},
{
"name": "Experiences",
"href": "#experiences"
},
{
"name": "Impact",
"href": "#impact"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
}
];
{ name: "Home", href: "#home" },
{ name: "About", href: "#about" },
{ name: "Safaris", href: "#services" },
{ name: "Experiences", href: "#experiences" },
{ name: "Impact", href: "#impact" },
{ name: "Testimonials", href: "#testimonials" },
{ name: "Faq", href: "#faq" }
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="floatingGradient" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Visitur Ventures"
ctaButton={{
text: "Get a Quote",
href: "#contact",
}}
navItems={navItems} />
logo="Visitur Ventures"
logoImageSrc="http://img.b2bpic.net/free-photo/animal-silhouette-hill-with-sunset-sky_413556-105.jpg"
ctaButton={{
text: "Get a Quote", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBasic
columns={[
{
title: "Visitur Ventures",
items: [
columns={[
{
label: "About Us",
href: "#about",
title: "Visitur Ventures", items: [
{ label: "About Us", href: "#about" },
{ label: "Careers", href: "#" },
{ label: "Sustainability", href: "#" },
],
},
{
label: "Careers",
href: "#",
title: "Services", items: [
{ label: "Airport Transfers", href: "#" },
{ label: "Guided Safaris", href: "#" },
{ label: "Corporate Retreats", href: "#" },
],
},
{
label: "Sustainability",
href: "#",
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
],
},
],
},
{
title: "Services",
items: [
{
label: "Airport Transfers",
href: "#",
},
{
label: "Guided Safaris",
href: "#",
},
{
label: "Corporate Retreats",
href: "#",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
],
},
]}
leftText="© 2024 Visitur Ventures. All Rights Reserved."
rightText="Nairobi, Kenya"
/>
]}
leftText="© 2024 Visitur Ventures. All Rights Reserved."
rightText="Nairobi, Kenya"
/>
</SectionErrorBoundary>
</StyleProvider>
);