Merge version_1_1781378727142 into main #2

Merged
bender merged 1 commits from version_1_1781378727142 into main 2026-06-13 19:27:29 +00:00

View File

@@ -2,62 +2,44 @@ 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, Linkedin, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home", "href": "#hero"
},
{
"name": "About", "href": "#about"
},
{
"name": "Collection", "href": "#collection"
},
{
"name": "Contact", "href": "#contact"
},
{
"name": "Gallery", "href": "#gallery"
},
{
"name": "Social Proof", "href": "#social-proof"
},
{
"name": "Testimonials", "href": "#testimonials"
}
];
{ "name": "Home", "href": "#hero" },
{ "name": "About", "href": "#about" },
{ "name": "Collection", "href": "#collection" },
{ "name": "Contact", "href": "#contact" },
{ "name": "Gallery", "href": "#gallery" },
{ "name": "Social Proof", "href": "#social-proof" },
{ "name": "Testimonials", "href": "#testimonials" }
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="noise" heroBackground="lightRaysCenter">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Kiswa"
logoImageSrc="http://img.b2bpic.net/free-vector/jk-logo-monogram-design_23-2151060598.jpg"
ctaButton={{
text: "Shop Now", href: "#collection"}}
navItems={navItems} />
logo="Kiswa"
logoImageSrc="http://img.b2bpic.net/free-vector/jk-logo-monogram-design_23-2151060598.jpg"
ctaButton={{ text: "Shop Now", href: "#collection" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="Kiswa"
copyright="© 2024 Kiswa. All rights reserved."
socialLinks={[
{
icon: "Instagram", href: "#"},
{
icon: "Twitter", href: "#"},
{
icon: "Linkedin", href: "#"},
]}
/>
brand="Kiswa"
copyright="© 2024 Kiswa. All rights reserved."
socialLinks={[
{ icon: "Instagram", href: "#" },
{ icon: "Twitter", href: "#" },
{ icon: "Linkedin", href: "#" },
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);