9 Commits

Author SHA1 Message Date
41d1662daf Merge version_8_1780936097290 into main
Merge version_8_1780936097290 into main
2026-06-08 16:30:41 +00:00
kudinDmitriyUp
802fca00e2 Bob AI: Replaced AboutTestimonial with AboutFeaturesSplit to include 2026-06-08 16:29:59 +00:00
5174987e44 Switch to version 6: modified src/pages/HomePage/sections/Metrics.tsx 2026-06-08 16:18:05 +00:00
df19310b51 Switch to version 6: modified src/pages/HomePage/sections/Hero.tsx 2026-06-08 16:18:05 +00:00
2235d035f0 Switch to version 5: modified src/pages/HomePage/sections/Metrics.tsx 2026-06-08 16:15:27 +00:00
19c9de6371 Switch to version 5: modified src/pages/HomePage/sections/Hero.tsx 2026-06-08 16:15:27 +00:00
ca6b69f268 Merge version_6_1780935020593 into main
Merge version_6_1780935020593 into main
2026-06-08 16:12:51 +00:00
kudinDmitriyUp
7deec1da69 Bob AI: Match KPI card style to other cards 2026-06-08 16:12:06 +00:00
9e8ecfa307 Merge version_5_1780934843166 into main
Merge version_5_1780934843166 into main
2026-06-08 16:09:42 +00:00
3 changed files with 86 additions and 45 deletions

View File

@@ -1,22 +1,17 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "about" section.
// Created by add_section_from_catalog (AboutFeaturesSplit).
import React from 'react';
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit';
export default function AboutSection(): React.JSX.Element {
return (
<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 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>
);
}

View File

@@ -66,11 +66,11 @@ const HeroInline = () => {
<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-xl shadow-xl z-10 border border-border/50 backdrop-blur-sm bg-card/90 animate-bounce" style={{ animationDuration: '3s' }}>
<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-xl shadow-xl z-10 border border-border/50 backdrop-blur-sm bg-card/90 animate-bounce" style={{ animationDuration: '4s', animationDelay: '1s' }}>
<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>

View File

@@ -1,34 +1,80 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "metrics" section.
/* 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";
import React from 'react';
import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
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."
}
];
export default function MetricsSection(): React.JSX.Element {
return (
<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.",
},
]}
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"
/>
</SectionErrorBoundary>
<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>
);
}