Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 19:26:43 +00:00
parent 6ebbb17257
commit bcfdca863e

View File

@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Collection",
"href": "#collection"
"name": "Collection", "href": "#collection"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Gallery",
"href": "#gallery"
"name": "Gallery", "href": "#gallery"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -44,11 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Kiswa"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/jk-logo-monogram-design_23-2151060598.jpg"
ctaButton={{
text: "Shop Now",
href: "#collection",
}}
text: "Shop Now", href: "#collection"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,17 +51,11 @@ export default function Layout() {
copyright="© 2024 Kiswa. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
{
icon: Twitter,
href: "#",
},
icon: "Twitter", href: "#"},
{
icon: Linkedin,
href: "#",
},
icon: "Linkedin", href: "#"},
]}
/>
</SectionErrorBoundary>