Merge version_1 into main #2
322
src/app/page.tsx
322
src/app/page.tsx
@@ -16,233 +16,117 @@ export default function LandingPage() {
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Learn",
|
||||
id: "features",
|
||||
},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "faq",
|
||||
},
|
||||
]}
|
||||
brandName="TriathlonLife"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Features", id: "features" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
]}
|
||||
brandName="TriathlonLife"
|
||||
button={{ text: "Get Started", href: "#features" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroCarouselLogo
|
||||
logoText="Triathlon"
|
||||
description="Master the art of the swim, bike, and run. Explore the ultimate endurance sport."
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Started",
|
||||
href: "#features",
|
||||
},
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/professional-shot-of-a-triathlete-swimmi-1774886309114-5d7acb82.png?_wi=1",
|
||||
imageAlt: "Triathlon swimming start",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/action-shot-of-a-road-cyclist-racing-on--1774886307117-b5f5ff13.png?_wi=1",
|
||||
imageAlt: "Triathlon road cycling",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/runner-finishing-a-marathon-cheering-cro-1774886307080-e4ab08b2.png",
|
||||
imageAlt: "Triathlon running marathon",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/transition-area-in-a-triathlon-race-rows-1774886307364-e40eabd5.png",
|
||||
imageAlt: "Triathlon transition area",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-running-in-a-park-scenic-trai-1774886307322-198c875e.png?_wi=1",
|
||||
imageAlt: "Triathlete running park",
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/swimming-start-splash-group-of-swimmers--1774886307466-af646834.png",
|
||||
imageAlt: "Triathlon swimming splash",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroCarouselLogo
|
||||
logoText="Triathlon"
|
||||
description="Master the art of the swim, bike, and run. Explore the ultimate endurance sport."
|
||||
buttons={[{ text: "Get Started", href: "#features" }]}
|
||||
slides={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/professional-shot-of-a-triathlete-swimmi-1774886309114-5d7acb82.png", imageAlt: "Triathlon swimming start" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/action-shot-of-a-road-cyclist-racing-on--1774886307117-b5f5ff13.png", imageAlt: "Triathlon road cycling" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/runner-finishing-a-marathon-cheering-cro-1774886307080-e4ab08b2.png", imageAlt: "Triathlon running marathon" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/transition-area-in-a-triathlon-race-rows-1774886307364-e40eabd5.png", imageAlt: "Triathlon transition area" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-running-in-a-park-scenic-trai-1774886307322-198c875e.png", imageAlt: "Triathlete running park" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/swimming-start-splash-group-of-swimmers--1774886307466-af646834.png", imageAlt: "Triathlon swimming splash" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SplitAbout
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
title="What is a Triathlon?"
|
||||
description="A triathlon is a multi-sport endurance event consisting of swimming, cycling, and running in immediate succession over various distances. It is the ultimate test of human stamina and discipline."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "The Swim",
|
||||
description: "The first leg, usually in open water, testing strength and technique.",
|
||||
},
|
||||
{
|
||||
title: "The Bike",
|
||||
description: "The longest leg, focusing on endurance, pacing, and aerodynamic efficiency.",
|
||||
},
|
||||
{
|
||||
title: "The Run",
|
||||
description: "The final stage, a test of mental fortitude and physical exhaustion management.",
|
||||
},
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-swimming-cycling-and-running--1774886309102-6ee0c905.png"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
<div id="about" data-section="about">
|
||||
<SplitAbout
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
title="What is a Triathlon?"
|
||||
description="A triathlon is a multi-sport endurance event consisting of swimming, cycling, and running in immediate succession over various distances. It is the ultimate test of human stamina and discipline."
|
||||
bulletPoints={[
|
||||
{ title: "The Swim", description: "The first leg, usually in open water, testing strength and technique." },
|
||||
{ title: "The Bike", description: "The longest leg, focusing on endurance, pacing, and aerodynamic efficiency." },
|
||||
{ title: "The Run", description: "The final stage, a test of mental fortitude and physical exhaustion management." }
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-swimming-cycling-and-running--1774886309102-6ee0c905.png"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Swimming",
|
||||
description: "Mastering the stroke, open water sighting, and efficient breathing patterns.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/professional-shot-of-a-triathlete-swimmi-1774886309114-5d7acb82.png?_wi=2",
|
||||
},
|
||||
{
|
||||
title: "Cycling",
|
||||
description: "Bike fit, cadence, hill climbing, and high-speed cornering techniques.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/action-shot-of-a-road-cyclist-racing-on--1774886307117-b5f5ff13.png?_wi=2",
|
||||
},
|
||||
{
|
||||
title: "Running",
|
||||
description: "Proper form, recovery runs, and brick training (running after cycling).",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-running-in-a-park-scenic-trai-1774886307322-198c875e.png?_wi=2",
|
||||
},
|
||||
]}
|
||||
title="Triathlon Disciplines"
|
||||
description="Each discipline requires unique training, equipment, and preparation strategies."
|
||||
/>
|
||||
</div>
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{ title: "Swimming", description: "Mastering the stroke, open water sighting, and efficient breathing patterns.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/professional-shot-of-a-triathlete-swimmi-1774886309114-5d7acb82.png" },
|
||||
{ title: "Cycling", description: "Bike fit, cadence, hill climbing, and high-speed cornering techniques.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/action-shot-of-a-road-cyclist-racing-on--1774886307117-b5f5ff13.png" },
|
||||
{ title: "Running", description: "Proper form, recovery runs, and brick training (running after cycling).", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/triathlete-running-in-a-park-scenic-trai-1774886307322-198c875e.png" }
|
||||
]}
|
||||
title="Triathlon Disciplines"
|
||||
description="Each discipline requires unique training, equipment, and preparation strategies."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardOne
|
||||
textboxLayout="default"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Mark Stevens",
|
||||
role: "Pro Athlete",
|
||||
company: "Iron Tri",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-an-athlete-middle-aged-smili-1774886306696-c5726be4.png?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Elena Rodriguez",
|
||||
role: "Coach",
|
||||
company: "TriPro",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-younger-triathlete-focused-1774886307287-39d9f496.png",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Sarah Jenkins",
|
||||
role: "Beginner",
|
||||
company: "Local Club",
|
||||
rating: 4,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-female-triathlete-professi-1774886307693-c3d0be56.png",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "James Miller",
|
||||
role: "Age Grouper",
|
||||
company: "Team Speed",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-male-triathlete-post-race--1774886310279-27ae0bd8.png",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "David Thorne",
|
||||
role: "Ultra Triathlete",
|
||||
company: "Endurance Elite",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-an-athlete-middle-aged-smili-1774886306696-c5726be4.png?_wi=2",
|
||||
},
|
||||
]}
|
||||
title="Voices of Experience"
|
||||
description="Hear from athletes who conquered the challenge."
|
||||
/>
|
||||
</div>
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardOne
|
||||
textboxLayout="default"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{ id: "1", name: "Mark Stevens", role: "Pro Athlete", company: "Iron Tri", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-an-athlete-middle-aged-smili-1774886306696-c5726be4.png" },
|
||||
{ id: "2", name: "Elena Rodriguez", role: "Coach", company: "TriPro", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-younger-triathlete-focused-1774886307287-39d9f496.png" },
|
||||
{ id: "3", name: "Sarah Jenkins", role: "Beginner", company: "Local Club", rating: 4, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-female-triathlete-professi-1774886307693-c3d0be56.png" },
|
||||
{ id: "4", name: "James Miller", role: "Age Grouper", company: "Team Speed", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-a-male-triathlete-post-race--1774886310279-27ae0bd8.png" },
|
||||
{ id: "5", name: "David Thorne", role: "Ultra Triathlete", company: "Endurance Elite", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfhvAsSkAikuNE3OizCw3v88gB/portrait-of-an-athlete-middle-aged-smili-1774886306696-c5726be4.png" }
|
||||
]}
|
||||
title="Voices of Experience"
|
||||
description="Hear from athletes who conquered the challenge."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Do I need an expensive bike?",
|
||||
content: "No, you can start with any well-maintained road or hybrid bike.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "How long are the races?",
|
||||
content: "Races range from Sprint (short) to Ironman (long distance).",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Is open water scary?",
|
||||
content: "It can be, but with practice and the right gear, it becomes very manageable.",
|
||||
},
|
||||
]}
|
||||
sideTitle="Frequently Asked"
|
||||
sideDescription="Everything you need to know about starting your triathlon journey."
|
||||
faqsAnimation="blur-reveal"
|
||||
/>
|
||||
</div>
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{ id: "f1", title: "Do I need an expensive bike?", content: "No, you can start with any well-maintained road or hybrid bike." },
|
||||
{ id: "f2", title: "How long are the races?", content: "Races range from Sprint (short) to Ironman (long distance)." },
|
||||
{ id: "f3", title: "Is open water scary?", content: "It can be, but with practice and the right gear, it becomes very manageable." }
|
||||
]}
|
||||
sideTitle="Frequently Asked"
|
||||
sideDescription="Everything you need to know about starting your triathlon journey."
|
||||
faqsAnimation="blur-reveal"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Features",
|
||||
href: "#features",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
logoText="TriathlonLife"
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{ items: [{ label: "About", href: "#about" }, { label: "Features", href: "#features" }] },
|
||||
{ items: [{ label: "FAQ", href: "#faq" }, { label: "Contact", href: "#" }] }
|
||||
]}
|
||||
logoText="TriathlonLife"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user