Merge version_1_1781604459355 into main #2

Merged
bender merged 1 commits from version_1_1781604459355 into main 2026-06-16 10:09:44 +00:00

View File

@@ -2,60 +2,40 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Features", "href": "features"
},
{
"name": "Product", "href": "product"
},
{
"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": "Product", "href": "#product" },
{ "name": "Pricing", "href": "#pricing" },
{ "name": "Contact", "href": "#contact" }
];
return (
<StyleProvider buttonVariant="stagger" siteBackground="floatingGradient" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="FitOS"
logoImageSrc="http://img.b2bpic.net/free-photo/half-charged-battery-icon-front-side-with-white-background_187299-40053.jpg"
ctaButton={{
text: "Get Started", href: "contact"}}
navItems={navItems} />
logo="FitOS"
logoImageSrc="http://img.b2bpic.net/free-photo/half-charged-battery-icon-front-side-with-white-background_187299-40053.jpg"
ctaButton={{ text: "Get Started", href: "#contact" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="FitOS Inc."
copyright="© 2024 FitOS. All rights reserved."
socialLinks={[
{
icon: "Twitter", href: "#"},
{
icon: "Instagram", href: "#"},
]}
/>
brand="FitOS Inc."
copyright="© 2024 FitOS. All rights reserved."
socialLinks={[
{ icon: "Twitter", href: "#" },
{ icon: "Instagram", href: "#" }
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);