Update src/components/Layout.tsx
This commit is contained in:
@@ -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": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Classes",
|
||||
"href": "#features"
|
||||
"name": "Classes", "href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Plans",
|
||||
"href": "#pricing"
|
||||
"name": "Plans", "href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Team",
|
||||
"href": "#team"
|
||||
"name": "Team", "href": "#team"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Optimum Fitness"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
logoImageSrc="https://images.pexels.com/photos/863993/pexels-photo-863993.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
|
||||
ctaButton={{
|
||||
text: "Join Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Join Now", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -58,44 +49,30 @@ export default function Layout() {
|
||||
brand="Optimum Fitness"
|
||||
columns={[
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
title: "Location", items: [
|
||||
{
|
||||
label: "B-69, North Nazimabad, Karachi",
|
||||
},
|
||||
label: "B-69, North Nazimabad, Karachi"},
|
||||
{
|
||||
label: "Open Daily 6 AM - 11 PM",
|
||||
},
|
||||
label: "Open Daily 6 AM - 11 PM"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{
|
||||
label: "Personal Training",
|
||||
href: "#",
|
||||
},
|
||||
label: "Personal Training", href: "#"},
|
||||
{
|
||||
label: "Kickboxing",
|
||||
href: "#",
|
||||
},
|
||||
label: "Kickboxing", href: "#"},
|
||||
{
|
||||
label: "Zumba",
|
||||
href: "#",
|
||||
},
|
||||
label: "Zumba", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Optimum Fitness. All rights reserved."
|
||||
links={[
|
||||
{
|
||||
label: "Privacy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy", href: "#"},
|
||||
{
|
||||
label: "Terms",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user