Update src/components/Layout.tsx
This commit is contained in:
@@ -7,120 +7,62 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Programs",
|
||||
"href": "#programs"
|
||||
},
|
||||
{
|
||||
"name": "Pricing",
|
||||
"href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Coaches",
|
||||
"href": "#coaches"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Highlights",
|
||||
"href": "#highlights"
|
||||
},
|
||||
{
|
||||
"name": "Stats",
|
||||
"href": "#stats"
|
||||
}
|
||||
];
|
||||
{ name: "About", href: "#about" },
|
||||
{ name: "Programs", href: "#programs" },
|
||||
{ name: "Pricing", href: "#pricing" },
|
||||
{ name: "Coaches", href: "#coaches" },
|
||||
{ name: "Hero", href: "#hero" },
|
||||
{ name: "Highlights", href: "#highlights" },
|
||||
{ name: "Stats", href: "#stats" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="arrow" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Iron Culture"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Join Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Iron Culture"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/build-your-own-body-strength-fitness-exercise-get-fit_53876-21380.jpg"
|
||||
ctaButton={{
|
||||
text: "Join Now", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimple
|
||||
brand="Iron Culture Fitness"
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links",
|
||||
items: [
|
||||
brand="Iron Culture Fitness"
|
||||
columns={[
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
title: "Quick Links", items: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Programs", href: "#programs" },
|
||||
{ label: "Coaches", href: "#coaches" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Programs",
|
||||
href: "#programs",
|
||||
title: "Membership", items: [
|
||||
{ label: "Starter", href: "#pricing" },
|
||||
{ label: "Transformation", href: "#pricing" },
|
||||
{ label: "Elite", href: "#pricing" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Coaches",
|
||||
href: "#coaches",
|
||||
title: "Support", items: [
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "WhatsApp", href: "https://wa.me/923343288995" },
|
||||
{ label: "Privacy", href: "#" },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Membership",
|
||||
items: [
|
||||
{
|
||||
label: "Starter",
|
||||
href: "#pricing",
|
||||
},
|
||||
{
|
||||
label: "Transformation",
|
||||
href: "#pricing",
|
||||
},
|
||||
{
|
||||
label: "Elite",
|
||||
href: "#pricing",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
{
|
||||
label: "WhatsApp",
|
||||
href: "https://wa.me/923343288995",
|
||||
},
|
||||
{
|
||||
label: "Privacy",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Iron Culture Fitness. All rights reserved."
|
||||
links={[
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
]}
|
||||
copyright="© 2024 Iron Culture Fitness. All rights reserved."
|
||||
links={[
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user