Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 19:31:40 +00:00
parent 501fde0c0a
commit a1cbec0912

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "Programs",
"href": "#features"
"name": "Programs", "href": "#features"
},
{
"name": "Membership",
"href": "#pricing"
"name": "Membership", "href": "#pricing"
},
{
"name": "Trainers",
"href": "#team"
"name": "Trainers", "href": "#team"
},
{
"name": "Gallery",
"href": "#gallery"
"name": "Gallery", "href": "#gallery"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Reshape"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/minimal-style-abstract-branding-icon-template-collection_1017-51604.jpg"
ctaButton={{
text: "Join Today",
href: "#contact",
}}
text: "Join Today", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,52 +49,34 @@ export default function Layout() {
brand="Reshape Fitness"
columns={[
{
title: "Gym",
items: [
title: "Gym", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Services",
href: "#features",
},
label: "Services", href: "#features"},
{
label: "Pricing",
href: "#pricing",
},
label: "Pricing", href: "#pricing"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
{
label: "Location",
href: "#map",
},
label: "Location", href: "#map"},
{
label: "WhatsApp",
href: "https://wa.me/923466222228",
},
label: "WhatsApp", href: "https://wa.me/923466222228"},
],
},
]}
copyright="© 2024 Reshape Gym, Multan. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
imageSrc="http://img.b2bpic.net/free-vector/minimal-style-abstract-branding-icon-template-collection_1017-51604.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-vector/minimal-style-abstract-branding-icon-template-collection_1017-51604.jpg"
/>
</SectionErrorBoundary>
</StyleProvider>