Update src/components/Layout.tsx
This commit is contained in:
@@ -7,110 +7,58 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Products",
|
||||
"href": "#products"
|
||||
},
|
||||
{
|
||||
"name": "Pricing",
|
||||
"href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
}
|
||||
];
|
||||
{ "name": "Features", "href": "#features" },
|
||||
{ "name": "Products", "href": "#products" },
|
||||
{ "name": "Pricing", "href": "#pricing" },
|
||||
{ "name": "Contact", "href": "#contact" },
|
||||
{ "name": "Hero", "href": "#hero" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Metrics", "href": "#metrics" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="bubble" siteBackground="gridLines" heroBackground="lightRaysCorner">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="EduManage"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Get Started",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="EduManage"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/gradient-high-school-logo_23-2149656391.jpg"
|
||||
ctaButton={{
|
||||
text: "Get Started", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{
|
||||
title: "Solutions",
|
||||
items: [
|
||||
columns={[
|
||||
{
|
||||
label: "Features",
|
||||
href: "#features",
|
||||
title: "Solutions", items: [
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Analytics", href: "#" },
|
||||
{ label: "Integration", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Analytics",
|
||||
href: "#",
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#" },
|
||||
{ label: "Careers", href: "#" },
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Integration",
|
||||
href: "#",
|
||||
title: "Connect", items: [
|
||||
{ label: "Help Center", href: "#" },
|
||||
{ label: "LinkedIn", href: "#" },
|
||||
{ label: "Twitter", href: "#" },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Careers",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect",
|
||||
items: [
|
||||
{
|
||||
label: "Help Center",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "LinkedIn",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Twitter",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
leftText="© 2024 EduManage System."
|
||||
rightText="Transforming Education."
|
||||
/>
|
||||
]}
|
||||
leftText="© 2024 EduManage System."
|
||||
rightText="Transforming Education."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user