Update src/components/Layout.tsx

This commit is contained in:
2026-06-25 08:06:16 +00:00
parent 3af06ad649
commit 246bc33e04

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Portfolio",
"href": "#portfolio"
"name": "Portfolio", "href": "#portfolio"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Social",
"href": "#social"
"name": "Social", "href": "#social"
},
{
"name": "Testimonial",
"href": "#testimonial"
"name": "Testimonial", "href": "#testimonial"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Studio Name"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/elegant-photography-badges_23-2147566477.jpg"
ctaButton={{
text: "Book Session",
href: "#contact",
}}
text: "Book Session", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,38 +49,26 @@ export default function Layout() {
brand="Studio Name"
columns={[
{
title: "Navigation",
items: [
title: "Navigation", items: [
{
label: "Portfolio",
href: "#portfolio",
},
label: "Portfolio", href: "#portfolio"},
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
],
},
{
title: "Social",
items: [
title: "Social", items: [
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
],
},
]}
copyright="© 2024 Studio Name. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
]}
/>
</SectionErrorBoundary>