Compare commits
17 Commits
version_1_
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 41d1662daf | |||
|
|
802fca00e2 | ||
| 5174987e44 | |||
| df19310b51 | |||
| 2235d035f0 | |||
| 19c9de6371 | |||
| ca6b69f268 | |||
|
|
7deec1da69 | ||
| 9e8ecfa307 | |||
|
|
76c46fb7ae | ||
| a13996918d | |||
|
|
f0a19338fe | ||
| d5bd15c180 | |||
|
|
063711c2a9 | ||
| f31a91014b | |||
|
|
1108a1a1fe | ||
| 8fd1b9fdcd |
@@ -5,15 +5,15 @@
|
||||
|
||||
:root {
|
||||
/* @colorThemes/lightTheme/grayNavyBlue */
|
||||
--background: #0a0a0a;
|
||||
--card: #1a1a1a;
|
||||
--foreground: #f5f5f5;
|
||||
--primary-cta: #dfff1c;
|
||||
--primary-cta-text: #0a0a0a;
|
||||
--secondary-cta: #1a1a1a;
|
||||
--secondary-cta-text: #ffffff;
|
||||
--accent: #8b9a1b;
|
||||
--background-accent: #5d6b00;
|
||||
--background: #f0f8ff;
|
||||
--card: #e6f2ff;
|
||||
--foreground: #003366;
|
||||
--primary-cta: #0066cc;
|
||||
--primary-cta-text: #ffffff;
|
||||
--secondary-cta: #cce0ff;
|
||||
--secondary-cta-text: #003366;
|
||||
--accent: #3399ff;
|
||||
--background-accent: #99ccff;
|
||||
|
||||
/* @layout/border-radius/rounded */
|
||||
--radius: 1.5rem;
|
||||
|
||||
@@ -1,307 +1,30 @@
|
||||
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import FeaturesIconCards from '@/components/sections/features/FeaturesIconCards';
|
||||
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
|
||||
import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards';
|
||||
import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards';
|
||||
import TeamOverlayCards from '@/components/sections/team/TeamOverlayCards';
|
||||
import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards';
|
||||
import { Activity, Apple, Users } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly; this shell only fixes render order.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import FeaturesSection from './HomePage/sections/Features';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import PricingSection from './HomePage/sections/Pricing';
|
||||
import TeamSection from './HomePage/sections/Team';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboardCarousel
|
||||
tag="Unleash Your Potential"
|
||||
title="Forge Your Best Self"
|
||||
description="Transform your body and mind with personalized training, expert guidance, and a community that empowers you every step of the way. Start your journey to strength, health, and confidence."
|
||||
primaryButton={{
|
||||
text: "Start Your Transformation",
|
||||
href: "#pricing",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Explore Programs",
|
||||
href: "#features",
|
||||
}}
|
||||
items={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/full-length-portrait-muscular-adult-sportswoman_171337-8704.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-man-listening-music-warming-up_23-2148375912.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mom-daughter-stretching-before-exercise_1153-4798.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-doing-burpees_23-2149445906.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-females-working-out-together_23-2148387792.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-nutrition-food-meal-planning_23-2149074210.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesIconCards
|
||||
tag="Our Core Offerings"
|
||||
title="Tailored Fitness Solutions"
|
||||
description="Discover a range of programs designed to meet your individual goals, whether you're a beginner or an experienced athlete."
|
||||
features={[
|
||||
{
|
||||
icon: Activity,
|
||||
title: "Personal Training",
|
||||
description: "One-on-one sessions with certified trainers to maximize your results and ensure proper form.",
|
||||
},
|
||||
{
|
||||
icon: Users,
|
||||
title: "Group Classes",
|
||||
description: "High-energy classes, from HIIT to yoga, fostering a motivating and supportive community spirit.",
|
||||
},
|
||||
{
|
||||
icon: Apple,
|
||||
title: "Nutrition Coaching",
|
||||
description: "Expert advice and personalized meal plans to fuel your body effectively and sustainably.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTestimonial
|
||||
tag="Our Philosophy"
|
||||
quote="At FitForge, we believe fitness is a journey, not a destination. We're dedicated to building strong bodies, resilient minds, and empowering futures for every member."
|
||||
author="Marcus Thorne"
|
||||
role="Founder, FitForge"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/sporty-belly-woman-standing-isolated-dark-background_231208-10257.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsSimpleCards
|
||||
tag="Our Impact"
|
||||
title="Achieve Your Goals with Us"
|
||||
description="Join a thriving community dedicated to health and progress. Our numbers speak for themselves."
|
||||
metrics={[
|
||||
{
|
||||
value: "10+",
|
||||
description: "Years of experience helping clients achieve peak fitness.",
|
||||
},
|
||||
{
|
||||
value: "500+",
|
||||
description: "Satisfied members who have transformed their lives.",
|
||||
},
|
||||
{
|
||||
value: "95%",
|
||||
description: "Client retention rate, reflecting our commitment to your success.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="pricing" data-section="pricing">
|
||||
<SectionErrorBoundary name="pricing">
|
||||
<PricingLayeredCards
|
||||
tag="Membership Plans"
|
||||
title="Find Your Perfect Plan"
|
||||
description="Choose from our flexible membership options to kickstart your fitness journey today. No hidden fees, just pure results."
|
||||
plans={[
|
||||
{
|
||||
tag: "Basic",
|
||||
price: "$49/month",
|
||||
description: "Access to all gym facilities and basic group classes.",
|
||||
primaryButton: {
|
||||
text: "Join Basic",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Full gym access",
|
||||
"Unlimited group classes",
|
||||
"Locker room access",
|
||||
],
|
||||
},
|
||||
{
|
||||
tag: "Pro",
|
||||
price: "$79/month",
|
||||
description: "Enhanced access with personal training sessions and advanced classes.",
|
||||
primaryButton: {
|
||||
text: "Join Pro",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Everything in Basic",
|
||||
"2 personal training sessions/month",
|
||||
"Access to advanced workshops",
|
||||
"Nutritional guide",
|
||||
],
|
||||
},
|
||||
{
|
||||
tag: "Elite",
|
||||
price: "$129/month",
|
||||
description: "The ultimate fitness experience with comprehensive support and VIP benefits.",
|
||||
primaryButton: {
|
||||
text: "Join Elite",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Everything in Pro",
|
||||
"Unlimited personal training",
|
||||
"Custom meal plans",
|
||||
"Priority booking",
|
||||
"Exclusive merchandise",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="team" data-section="team">
|
||||
<SectionErrorBoundary name="team">
|
||||
<TeamOverlayCards
|
||||
tag="Meet Our Experts"
|
||||
title="Dedicated to Your Success"
|
||||
description="Our team of certified professionals is here to guide, motivate, and support you every step of the way."
|
||||
members={[
|
||||
{
|
||||
name: "Alex 'The Dynamo' Chen",
|
||||
role: "Head Trainer",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-doing-indoor-sport-gym_23-2149205541.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sophia 'Zen' Rodriguez",
|
||||
role: "Yoga & Wellness Coach",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-yoga-instructor-mat_23-2148924666.jpg",
|
||||
},
|
||||
{
|
||||
name: "David 'Ironclad' Kim",
|
||||
role: "Strength & Conditioning Specialist",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-training-gym_23-2151717242.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialQuoteCards
|
||||
tag="What Our Members Say"
|
||||
title="Real Results, Real Stories"
|
||||
description="Hear directly from our community about how FitForge has helped them achieve their fitness goals and transform their lives."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah J.",
|
||||
role: "Marketing Manager",
|
||||
quote: "FitForge changed my life! The trainers are incredibly supportive, and the community aspect keeps me motivated every day. I've never felt stronger.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-excited-pink_179666-2069.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael T.",
|
||||
role: "Software Engineer",
|
||||
quote: "I was hesitant about joining a gym, but FitForge made it easy. The personalized plans really work, and I've seen amazing progress in just a few months.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-boxer-taking-break-from-training_23-2148416621.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emily R.",
|
||||
role: "Graphic Designer",
|
||||
quote: "The group classes are fantastic! So much energy and variety. It's more than just a gym; it's a place where I feel empowered and part of something great.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-smiling-pink_179666-2195.jpg",
|
||||
},
|
||||
{
|
||||
name: "David L.",
|
||||
role: "Entrepreneur",
|
||||
quote: "As a busy professional, I appreciate the flexibility and effectiveness of FitForge's programs. My energy levels are up, and I feel healthier than ever.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-muscular-male-athlete-looking-camera_23-2148162169.jpg",
|
||||
},
|
||||
{
|
||||
name: "Jessica M.",
|
||||
role: "Educator",
|
||||
quote: "The nutrition coaching was a game-changer. It taught me how to fuel my body properly, complementing my workouts and accelerating my results.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/athletic-woman-exercising-outside_23-2148781798.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="Got Questions?"
|
||||
title="Frequently Asked Questions"
|
||||
description="Find quick answers to the most common inquiries about our gym, memberships, and services."
|
||||
categories={[
|
||||
{
|
||||
name: "Membership",
|
||||
items: [
|
||||
{
|
||||
question: "What are your membership options?",
|
||||
answer: "We offer Basic, Pro, and Elite memberships, each with different benefits from gym access to personal training and nutritional coaching. Visit our 'Pricing' section for details.",
|
||||
},
|
||||
{
|
||||
question: "Can I try a class before joining?",
|
||||
answer: "Yes! We offer a complimentary trial class for all new prospective members. Please contact us to schedule your first session.",
|
||||
},
|
||||
{
|
||||
question: "How do I cancel my membership?",
|
||||
answer: "Memberships can be canceled with a 30-day written notice. Please speak with our front desk staff or contact us via email for assistance.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Services",
|
||||
items: [
|
||||
{
|
||||
question: "Do you offer personal training?",
|
||||
answer: "Absolutely! Personal training is available with our Pro and Elite memberships, or you can purchase individual sessions. Our certified trainers will create a custom plan for you.",
|
||||
},
|
||||
{
|
||||
question: "What kind of group classes do you have?",
|
||||
answer: "Our diverse schedule includes HIIT, Yoga, Spin, Pilates, Bootcamp, and more. Check our class schedule online for the most up-to-date offerings.",
|
||||
},
|
||||
{
|
||||
question: "Is nutrition coaching included?",
|
||||
answer: "Nutrition coaching is a premium feature included with our Elite membership, and can be added to other plans for an additional fee.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Transform?"
|
||||
text="Join the FitForge Community Today!"
|
||||
primaryButton={{
|
||||
text: "Get Started Now",
|
||||
href: "#pricing",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Us",
|
||||
href: "mailto:info@fitforge.com",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<HeroSection />
|
||||
<FeaturesSection />
|
||||
<AboutSection />
|
||||
<MetricsSection />
|
||||
<PricingSection />
|
||||
<TeamSection />
|
||||
<TestimonialsSection />
|
||||
<FaqSection />
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
17
src/pages/HomePage/sections/About.tsx
Normal file
17
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
// Created by add_section_from_catalog (AboutFeaturesSplit).
|
||||
|
||||
import React from 'react';
|
||||
import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit';
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div data-webild-section="about" id="about">
|
||||
<AboutFeaturesSplit
|
||||
title="Everything You Need to Succeed"
|
||||
items={[{"description":"Our certified trainers create customized workout plans tailored to your specific goals and fitness level.","icon":"Dumbbell","title":"Personalized Training"},{"description":"Join our high-energy group classes designed to challenge you and keep you motivated.","icon":"Users","title":"Dynamic Classes"},{"description":"Access top-tier equipment and amenities in our modern, clean, and spacious facility.","title":"Premium Facilities","icon":"Building"}]}
|
||||
tag="Why Choose Us"
|
||||
description="Discover what makes FitForge the ultimate destination for your fitness journey. We combine expert guidance, state-of-the-art facilities, and a supportive community to help you achieve your goals."
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Contact.tsx
Normal file
27
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Transform?"
|
||||
text="Join the FitForge Community Today!"
|
||||
primaryButton={{
|
||||
text: "Get Started Now",
|
||||
href: "#pricing",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Us",
|
||||
href: "mailto:info@fitforge.com",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
56
src/pages/HomePage/sections/Faq.tsx
Normal file
56
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,56 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "faq" section.
|
||||
|
||||
import React from 'react';
|
||||
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="Got Questions?"
|
||||
title="Frequently Asked Questions"
|
||||
description="Find quick answers to the most common inquiries about our gym, memberships, and services."
|
||||
categories={[
|
||||
{
|
||||
name: "Membership",
|
||||
items: [
|
||||
{
|
||||
question: "What are your membership options?",
|
||||
answer: "We offer Basic, Pro, and Elite memberships, each with different benefits from gym access to personal training and nutritional coaching. Visit our 'Pricing' section for details.",
|
||||
},
|
||||
{
|
||||
question: "Can I try a class before joining?",
|
||||
answer: "Yes! We offer a complimentary trial class for all new prospective members. Please contact us to schedule your first session.",
|
||||
},
|
||||
{
|
||||
question: "How do I cancel my membership?",
|
||||
answer: "Memberships can be canceled with a 30-day written notice. Please speak with our front desk staff or contact us via email for assistance.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Services",
|
||||
items: [
|
||||
{
|
||||
question: "Do you offer personal training?",
|
||||
answer: "Absolutely! Personal training is available with our Pro and Elite memberships, or you can purchase individual sessions. Our certified trainers will create a custom plan for you.",
|
||||
},
|
||||
{
|
||||
question: "What kind of group classes do you have?",
|
||||
answer: "Our diverse schedule includes HIIT, Yoga, Spin, Pilates, Bootcamp, and more. Check our class schedule online for the most up-to-date offerings.",
|
||||
},
|
||||
{
|
||||
question: "Is nutrition coaching included?",
|
||||
answer: "Nutrition coaching is a premium feature included with our Elite membership, and can be added to other plans for an additional fee.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
38
src/pages/HomePage/sections/Features.tsx
Normal file
38
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "features" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesIconCards from '@/components/sections/features/FeaturesIconCards';
|
||||
import { Activity, Apple, Users } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesIconCards
|
||||
tag="Our Core Offerings"
|
||||
title="Tailored Fitness Solutions"
|
||||
description="Discover a range of programs designed to meet your individual goals, whether you're a beginner or an experienced athlete."
|
||||
features={[
|
||||
{
|
||||
icon: Activity,
|
||||
title: "Personal Training",
|
||||
description: "One-on-one sessions with certified trainers to maximize your results and ensure proper form.",
|
||||
},
|
||||
{
|
||||
icon: Users,
|
||||
title: "Group Classes",
|
||||
description: "High-energy classes, from HIIT to yoga, fostering a motivating and supportive community spirit.",
|
||||
},
|
||||
{
|
||||
icon: Apple,
|
||||
title: "Nutrition Coaching",
|
||||
description: "Expert advice and personalized meal plans to fuel your body effectively and sustainably.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
89
src/pages/HomePage/sections/Hero.tsx
Normal file
89
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,89 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import AvatarGroup from "@/components/ui/AvatarGroup";
|
||||
|
||||
const primaryButton = {
|
||||
href: "#pricing",
|
||||
text: "Start Your Transformation"
|
||||
};
|
||||
const secondaryButton = {
|
||||
href: "#features",
|
||||
text: "Explore Programs"
|
||||
};
|
||||
|
||||
type HeroBillboardProps = {
|
||||
tag?: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton: { text: string; href: string };
|
||||
secondaryButton: { text: string; href: string };
|
||||
avatarsSrc?: string[];
|
||||
avatarsLabel?: string;
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
const HeroInline = () => {
|
||||
return (
|
||||
<section aria-label="Hero section" className="relative pt-25 pb-20 md:pt-30">
|
||||
<HeroBackgroundSlot />
|
||||
<div className="flex flex-col gap-12 md:gap-15 w-content-width mx-auto">
|
||||
<div className="flex flex-col items-center gap-3 text-center">
|
||||
{undefined && undefined.length > 0 ? (
|
||||
<AvatarGroup className="mb-1" />
|
||||
) : "Unleash Your Potential" ? (
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Unleash Your Potential"}</p>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<TextAnimation
|
||||
text={"Forge Your Best Self"}
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h1"
|
||||
className="md:max-w-8/10 text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Transform your body and mind with personalized training, expert guidance, and a community that empowers you every step of the way. Start your journey to strength, health, and confidence."}
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animationDelay={0.1} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="relative w-full">
|
||||
<ScrollReveal variant="fade" delay={0.2} className="w-full p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
|
||||
<ImageOrVideo imageSrc={"http://img.b2bpic.net/free-photo/full-length-portrait-muscular-adult-sportswoman_171337-8704.jpg"} className="aspect-4/5 md:aspect-video" />
|
||||
</ScrollReveal>
|
||||
<div className="absolute top-12 -left-4 md:-left-10 p-4 md:p-6 card rounded shadow-xl z-10 animate-bounce" style={{ animationDuration: '3s' }}>
|
||||
<p className="text-3xl md:text-4xl font-bold text-primary-cta">500+</p>
|
||||
<p className="text-sm md:text-base text-muted-foreground font-medium mt-1">Active Members</p>
|
||||
</div>
|
||||
<div className="absolute bottom-12 -right-4 md:-right-10 p-4 md:p-6 card rounded shadow-xl z-10 animate-bounce" style={{ animationDuration: '4s', animationDelay: '1s' }}>
|
||||
<p className="text-3xl md:text-4xl font-bold text-primary-cta">98%</p>
|
||||
<p className="text-sm md:text-base text-muted-foreground font-medium mt-1">Success Rate</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function HeroSection() {
|
||||
return (
|
||||
<div data-webild-section="hero" id="hero">
|
||||
<HeroInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
80
src/pages/HomePage/sections/Metrics.tsx
Normal file
80
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,80 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import GridOrCarousel from "@/components/ui/GridOrCarousel";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
|
||||
const metrics = [
|
||||
{
|
||||
value: "10+",
|
||||
description: "Years of experience helping clients achieve peak fitness."
|
||||
},
|
||||
{
|
||||
value: "500+",
|
||||
description: "Satisfied members who have transformed their lives."
|
||||
},
|
||||
{
|
||||
value: "95%",
|
||||
description: "Client retention rate, reflecting our commitment to your success."
|
||||
}
|
||||
];
|
||||
|
||||
type Metric = {
|
||||
value: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
const MetricsInline = () => (
|
||||
<section aria-label="Metrics section" className="py-20">
|
||||
<div className="flex flex-col gap-8 md:gap-10">
|
||||
<div className="flex flex-col items-center gap-2 w-content-width mx-auto">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Our Impact"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Achieve Your Goals with Us"}
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Join a thriving community dedicated to health and progress. Our numbers speak for themselves."}
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
|
||||
/>
|
||||
|
||||
{(undefined || undefined) && (
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary"animationDelay={0.1} />}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="fade">
|
||||
<GridOrCarousel>
|
||||
{metrics.map((metric) => (
|
||||
<div key={metric.value} className="flex flex-col justify-between gap-6 p-6 md:p-10 min-h-60 md:min-h-70 2xl:min-h-80 h-full card rounded">
|
||||
<span className="text-9xl md:text-8xl font-semibold leading-none truncate">{metric.value}</span>
|
||||
<p className="text-base leading-snug text-balance">{metric.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</GridOrCarousel>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
export default function MetricsSection() {
|
||||
return (
|
||||
<div data-webild-section="metrics" id="metrics">
|
||||
<MetricsInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
67
src/pages/HomePage/sections/Pricing.tsx
Normal file
67
src/pages/HomePage/sections/Pricing.tsx
Normal file
@@ -0,0 +1,67 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "pricing" section.
|
||||
|
||||
import React from 'react';
|
||||
import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function PricingSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="pricing" data-section="pricing">
|
||||
<SectionErrorBoundary name="pricing">
|
||||
<PricingLayeredCards
|
||||
tag="Membership Plans"
|
||||
title="Find Your Perfect Plan"
|
||||
description="Choose from our flexible membership options to kickstart your fitness journey today. No hidden fees, just pure results."
|
||||
plans={[
|
||||
{
|
||||
tag: "Basic",
|
||||
price: "$49/month",
|
||||
description: "Access to all gym facilities and basic group classes.",
|
||||
primaryButton: {
|
||||
text: "Join Basic",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Full gym access",
|
||||
"Unlimited group classes",
|
||||
"Locker room access",
|
||||
],
|
||||
},
|
||||
{
|
||||
tag: "Pro",
|
||||
price: "$79/month",
|
||||
description: "Enhanced access with personal training sessions and advanced classes.",
|
||||
primaryButton: {
|
||||
text: "Join Pro",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Everything in Basic",
|
||||
"2 personal training sessions/month",
|
||||
"Access to advanced workshops",
|
||||
"Nutritional guide",
|
||||
],
|
||||
},
|
||||
{
|
||||
tag: "Elite",
|
||||
price: "$129/month",
|
||||
description: "The ultimate fitness experience with comprehensive support and VIP benefits.",
|
||||
primaryButton: {
|
||||
text: "Join Elite",
|
||||
href: "#contact",
|
||||
},
|
||||
features: [
|
||||
"Everything in Pro",
|
||||
"Unlimited personal training",
|
||||
"Custom meal plans",
|
||||
"Priority booking",
|
||||
"Exclusive merchandise",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
37
src/pages/HomePage/sections/Team.tsx
Normal file
37
src/pages/HomePage/sections/Team.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "team" section.
|
||||
|
||||
import React from 'react';
|
||||
import TeamOverlayCards from '@/components/sections/team/TeamOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TeamSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="team" data-section="team">
|
||||
<SectionErrorBoundary name="team">
|
||||
<TeamOverlayCards
|
||||
tag="Meet Our Experts"
|
||||
title="Dedicated to Your Success"
|
||||
description="Our team of certified professionals is here to guide, motivate, and support you every step of the way."
|
||||
members={[
|
||||
{
|
||||
name: "Alex 'The Dynamo' Chen",
|
||||
role: "Head Trainer",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-doing-indoor-sport-gym_23-2149205541.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sophia 'Zen' Rodriguez",
|
||||
role: "Yoga & Wellness Coach",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-yoga-instructor-mat_23-2148924666.jpg",
|
||||
},
|
||||
{
|
||||
name: "David 'Ironclad' Kim",
|
||||
role: "Strength & Conditioning Specialist",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-training-gym_23-2151717242.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
52
src/pages/HomePage/sections/Testimonials.tsx
Normal file
52
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,52 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "testimonials" section.
|
||||
|
||||
import React from 'react';
|
||||
import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialQuoteCards
|
||||
tag="What Our Members Say"
|
||||
title="Real Results, Real Stories"
|
||||
description="Hear directly from our community about how FitForge has helped them achieve their fitness goals and transform their lives."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah J.",
|
||||
role: "Marketing Manager",
|
||||
quote: "FitForge changed my life! The trainers are incredibly supportive, and the community aspect keeps me motivated every day. I've never felt stronger.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-excited-pink_179666-2069.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael T.",
|
||||
role: "Software Engineer",
|
||||
quote: "I was hesitant about joining a gym, but FitForge made it easy. The personalized plans really work, and I've seen amazing progress in just a few months.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-boxer-taking-break-from-training_23-2148416621.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emily R.",
|
||||
role: "Graphic Designer",
|
||||
quote: "The group classes are fantastic! So much energy and variety. It's more than just a gym; it's a place where I feel empowered and part of something great.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-smiling-pink_179666-2195.jpg",
|
||||
},
|
||||
{
|
||||
name: "David L.",
|
||||
role: "Entrepreneur",
|
||||
quote: "As a busy professional, I appreciate the flexibility and effectiveness of FitForge's programs. My energy levels are up, and I feel healthier than ever.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-muscular-male-athlete-looking-camera_23-2148162169.jpg",
|
||||
},
|
||||
{
|
||||
name: "Jessica M.",
|
||||
role: "Educator",
|
||||
quote: "The nutrition coaching was a game-changer. It taught me how to fuel my body properly, complementing my workouts and accelerating my results.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/athletic-woman-exercising-outside_23-2148781798.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user