Merge version_1_1781893664405 into main #1

Merged
bender merged 2 commits from version_1_1781893664405 into main 2026-06-19 18:28:56 +00:00

View File

@@ -7,107 +7,59 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
},
{
"name": "Services",
"href": "#features"
},
{
"name": "Products",
"href": "#products"
},
{
"name": "FAQ",
"href": "#faq"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
{ "name": "About", "href": "#about" },
{ "name": "Services", "href": "#features" },
{ "name": "Products", "href": "#products" },
{ "name": "FAQ", "href": "#faq" },
{ "name": "Hero", "href": "#hero" },
{ "name": "Metrics", "href": "#metrics" },
{ "name": "Testimonials", "href": "#testimonials" }
];
return (
<StyleProvider buttonVariant="default" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="EcoSolar"
ctaButton={{
text: "Get Audit",
href: "#contact",
}}
navItems={navItems} />
logo="EcoSolar"
logoImageSrc="http://img.b2bpic.net/free-photo/recycling-symbol-beside-green-batteries_23-2148115677.jpg"
ctaButton={{
text: "Get Audit", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimple
brand="EcoSolar"
columns={[
{
title: "Company",
items: [
brand="EcoSolar"
columns={[
{
label: "About",
href: "#about",
title: "Company", items: [
{ label: "About", href: "#about" },
{ label: "Services", href: "#features" },
],
},
{
label: "Services",
href: "#features",
},
],
},
{
title: "Support",
items: [
{
label: "FAQ",
href: "#faq",
title: "Support", items: [
{ label: "FAQ", href: "#faq" },
{ label: "Contact", href: "#contact" },
],
},
{
label: "Contact",
href: "#contact",
title: "Legal", items: [
{ label: "Privacy", href: "#" },
{ label: "Terms", href: "#" },
],
},
],
},
{
title: "Legal",
items: [
{
label: "Privacy",
href: "#",
},
{
label: "Terms",
href: "#",
},
],
},
]}
copyright="© 2024 EcoSolar Inc. All rights reserved."
links={[
{
label: "Twitter",
href: "#",
},
{
label: "Facebook",
href: "#",
},
]}
/>
]}
copyright="© 2024 EcoSolar Inc. All rights reserved."
links={[
{ label: "Twitter", href: "#" },
{ label: "Facebook", href: "#" },
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);