Update src/components/Layout.tsx
This commit is contained in:
@@ -7,89 +7,50 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Team",
|
||||
"href": "#team"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonial",
|
||||
"href": "#testimonial"
|
||||
}
|
||||
];
|
||||
{ name: "Home", href: "#hero" },
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Team", href: "#team" },
|
||||
{ name: "Contact", href: "#contact" },
|
||||
{ name: "Features", href: "#features" },
|
||||
{ name: "Metrics", href: "#metrics" },
|
||||
{ name: "Testimonial", href: "#testimonial" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="bubble" siteBackground="gridDots" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Tumaini School"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Enroll Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Tumaini School"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/portrait-schoolgirl-with-big-notepad-template_23-2148203853.jpg"
|
||||
ctaButton={{
|
||||
text: "Enroll Now", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{
|
||||
title: "Links",
|
||||
items: [
|
||||
columns={[
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
title: "Links", items: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Programs", href: "#features" },
|
||||
{ label: "Team", href: "#team" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Programs",
|
||||
href: "#features",
|
||||
title: "Contact", items: [
|
||||
{ label: "0745 212 613", href: "tel:0745212613" },
|
||||
{ label: "Makuyuni", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Team",
|
||||
href: "#team",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contact",
|
||||
items: [
|
||||
{
|
||||
label: "0745 212 613",
|
||||
href: "tel:0745212613",
|
||||
},
|
||||
{
|
||||
label: "Makuyuni",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
leftText="Tumaini Senior Secondary School"
|
||||
rightText="© 2024 Tumaini Senior Secondary School. All rights reserved."
|
||||
/>
|
||||
]}
|
||||
leftText="Tumaini Senior Secondary School"
|
||||
rightText="© 2024 Tumaini Senior Secondary School. All rights reserved."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user