Merge version_1_1782217645457 into main #2
@@ -7,71 +7,49 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home", "href": "#"
|
||||
},
|
||||
{
|
||||
"name": "Courses", "href": "#courses"
|
||||
},
|
||||
{
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Hero", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Faq", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Contact", "href": "#contact"
|
||||
}
|
||||
];
|
||||
{ name: "Home", href: "/" },
|
||||
{ name: "Courses", href: "#courses" },
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Hero", href: "#hero" },
|
||||
{ name: "Metrics", href: "#metrics" },
|
||||
{ name: "Faq", href: "#faq" },
|
||||
{ name: "Contact", href: "#contact" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="arrow" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarInline
|
||||
logo="doaa.classroom"
|
||||
ctaButton={{
|
||||
text: "Instagram", href: "https://instagram.com/doaa.classroom"}}
|
||||
navItems={navItems} />
|
||||
logo="doaa.classroom"
|
||||
ctaButton={{
|
||||
text: "Instagram", href: "https://instagram.com/doaa.classroom"
|
||||
}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimple
|
||||
brand="Brand"
|
||||
copyright="© 2026 Brand. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
title: "Product", links: [
|
||||
brand="Brand"
|
||||
copyright="© 2026 Brand. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
label: "Features", href: "#features"},
|
||||
title: "Product", links: [
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Pricing", href: "#pricing" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Pricing", href: "#pricing"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company", links: [
|
||||
{
|
||||
label: "About", href: "#about"},
|
||||
{
|
||||
label: "Contact", href: "#contact"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
links={[
|
||||
{
|
||||
label: "Privacy", href: "#"},
|
||||
{
|
||||
label: "Terms", href: "#"},
|
||||
]}
|
||||
/>
|
||||
title: "Company", links: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user