Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 18:43:05 +00:00
parent 6287b1afe5
commit 2f3ca48978

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": "Gallery",
"href": "#gallery"
"name": "Gallery", "href": "#gallery"
},
{
"name": "Artist",
"href": "#about"
"name": "Artist", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -44,11 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Studio Art"
logoImageSrc="https://images.unsplash.com/photo-1513364776144-60967b0f800f?q=80&w=2071&auto=format&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=g9ad9w"
ctaButton={{
text: "Shop Now",
href: "#gallery",
}}
text: "Shop Now", href: "#gallery"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,17 +51,11 @@ export default function Layout() {
copyright="© 2024 Elena Rossi. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
{
icon: Twitter,
href: "#",
},
icon: "Twitter", href: "#"},
{
icon: Image,
href: "#",
},
icon: "Image", href: "#"},
]}
/>
</SectionErrorBoundary>