Merge version_2 into main #4

Merged
bender merged 1 commits from version_2 into main 2026-04-01 14:29:29 +00:00

View File

@@ -9,8 +9,20 @@ import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleC
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { shuffle } from "lodash";
import { useState } from "react";
export default function LandingPage() {
const [cards, setCards] = useState([
{ id: "f1", label: "Training", title: "Elite Coaching", items: ["Personalized plans", "Weekly workshops", "Video analysis"], buttons: [{ text: "Learn More" }] },
{ id: "f2", label: "Facility", title: "Premium Courts", items: ["Climate controlled", "Full locker rooms", "24/7 access"], buttons: [{ text: "Tour Facility" }] },
{ id: "f3", label: "Community", title: "Social Events", items: ["Monthly mixers", "Competitive leagues", "Awards nights"], buttons: [{ text: "See Calendar" }] }
]);
const handleShuffle = () => {
setCards(shuffle([...cards]));
};
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
@@ -44,51 +56,25 @@ export default function LandingPage() {
description="Join the premier sports community in your region. From professional training to youth programs, we empower every athlete to reach their peak potential."
leftCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=1", imageAlt: "Club Facilities" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=1", imageAlt: "Basketball Court" },
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=2", imageAlt: "Outdoor Track" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=2", imageAlt: "Gym Interior" },
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=3", imageAlt: "Tennis Courts" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=3", imageAlt: "Training Field" }
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=1", imageAlt: "Basketball Court" }
]}
rightCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=4", imageAlt: "Training Center" },
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=4", imageAlt: "Soccer Training" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=5", imageAlt: "Swimming Pool" },
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=5", imageAlt: "Athletic Equipment" },
{ imageSrc: "http://img.b2bpic.net/free-photo/black-professional-basketball-player-action-basketball-field_613910-7840.jpg?_wi=6", imageAlt: "Indoor Arena" },
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=6", imageAlt: "Club Entrance" }
{ imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-grass-field-hockey_23-2149668568.jpg?_wi=4", imageAlt: "Soccer Training" }
]}
buttons={[{ text: "Join Today", href: "#contact" }]}
avatars={[
{ src: "http://img.b2bpic.net/free-photo/medium-shot-people-doing-burpees-gym_23-2149356922.jpg", alt: "Member 1" },
{ src: "http://img.b2bpic.net/free-photo/portrait-happy-fitness-woman-leaning-rail_171337-6239.jpg", alt: "Member 2" },
{ src: "http://img.b2bpic.net/free-photo/hands-exercise-with-weights-stadium_23-2148297806.jpg", alt: "Member 3" },
{ src: "http://img.b2bpic.net/free-photo/front-view-smiley-sporty-woman-outdoors_23-2149622946.jpg", alt: "Member 4" },
{ src: "http://img.b2bpic.net/free-photo/smiling-sporty-guy-earphones-eating-banana-after-workout-sitting-stairs_8353-6860.jpg", alt: "Member 5" }
]}
avatarText="Join our 500+ active members"
marqueeItems={[
{ type: "text", text: "Soccer" },
{ type: "text", text: "Basketball" },
{ type: "text", text: "Swimming" },
{ type: "text", text: "Tennis" },
{ type: "text", text: "Fitness" }
]}
/>
</div>
<div id="features" data-section="features">
<FeatureCardTwelve
animationType="slide-up"
textboxLayout="default"
textboxLayout="split-actions"
useInvertedBackground={true}
features={[
{ id: "f1", label: "Training", title: "Elite Coaching", items: ["Personalized plans", "Weekly workshops", "Video analysis"], buttons: [{ text: "Learn More" }] },
{ id: "f2", label: "Facility", title: "Premium Courts", items: ["Climate controlled", "Full locker rooms", "24/7 access"], buttons: [{ text: "Tour Facility" }] },
{ id: "f3", label: "Community", title: "Social Events", items: ["Monthly mixers", "Competitive leagues", "Awards nights"], buttons: [{ text: "See Calendar" }] }
]}
features={cards}
title="Training That Transforms"
description="State-of-the-art facilities paired with expert instruction to ensure you get the best sports experience."
description="State-of-the-art facilities paired with expert instruction. Shuffle the cards to see our offerings."
buttons={[{ text: "Shuffle Cards", onClick: handleShuffle }]}
/>
</div>
@@ -100,11 +86,10 @@ export default function LandingPage() {
useInvertedBackground={false}
members={[
{ id: "t1", name: "Alex Rivers", role: "Head Trainer", description: "15 years experience in professional sports development.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-sporty-guy-earphones-eating-banana-after-workout-sitting-stairs_8353-6860.jpg" },
{ id: "t2", name: "Sarah Chen", role: "Fitness Lead", description: "Specialist in functional movement and agility training.", imageSrc: "http://img.b2bpic.net/free-photo/water-polo-player-pool-with-swimming-equipment_23-2150893946.jpg" },
{ id: "t3", name: "Marcus Thorne", role: "Skills Coach", description: "Former pro athlete with a passion for youth talent.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-self-determined-caucasian-elderly-male-with-beard-choosing-healthy-active-lifestyle-sitting-floor-with-ball-resting-after-intensive-training-gym_343059-4804.jpg?_wi=1" }
{ id: "t2", name: "Sarah Chen", role: "Fitness Lead", description: "Specialist in functional movement and agility training.", imageSrc: "http://img.b2bpic.net/free-photo/water-polo-player-pool-with-swimming-equipment_23-2150893946.jpg" }
]}
title="Meet Your Coaches"
description="Learn from the best in the business. Our coaches bring years of professional experience to every session."
description="Learn from the best in the business."
/>
</div>
@@ -115,13 +100,10 @@ export default function LandingPage() {
useInvertedBackground={true}
testimonials={[
{ id: "1", name: "James P.", role: "Member", testimonial: "The best facilities in the city, period.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-doing-burpees-gym_23-2149356922.jpg" },
{ id: "2", name: "Linda M.", role: "Parent", testimonial: "My kids have gained so much confidence here.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-fitness-woman-leaning-rail_171337-6239.jpg" },
{ id: "3", name: "Robert B.", role: "League Player", testimonial: "Great community and even better competition.", imageSrc: "http://img.b2bpic.net/free-photo/hands-exercise-with-weights-stadium_23-2148297806.jpg" },
{ id: "4", name: "Alice T.", role: "Pro Athlete", testimonial: "Professional standards that keep me sharp.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-sporty-woman-outdoors_23-2149622946.jpg" },
{ id: "5", name: "Sam K.", role: "Coach", testimonial: "An incredible environment for growth and fitness.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-self-determined-caucasian-elderly-male-with-beard-choosing-healthy-active-lifestyle-sitting-floor-with-ball-resting-after-intensive-training-gym_343059-4804.jpg?_wi=2" }
{ id: "2", name: "Linda M.", role: "Parent", testimonial: "My kids have gained so much confidence here.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-fitness-woman-leaning-rail_171337-6239.jpg" }
]}
title="Hear Our Members"
description="We are proud of our community and the successes our athletes have achieved together."
description="We are proud of our community."
/>
</div>
@@ -129,12 +111,11 @@ export default function LandingPage() {
<ContactSplitForm
useInvertedBackground={false}
title="Start Your Journey"
description="Ready to get moving? Get in touch today to schedule your first trial session with us."
description="Ready to get moving? Get in touch today."
inputs={[
{ name: "name", type: "text", placeholder: "Your Name" },
{ name: "email", type: "email", placeholder: "Your Email" }
]}
textarea={{ name: "message", placeholder: "Tell us what you're interested in!" }}
imageSrc="http://img.b2bpic.net/free-photo/businesswoman-queue-receiving-passport-boarding-pass_107420-63584.jpg"
mediaAnimation="slide-up"
/>
@@ -144,12 +125,12 @@ export default function LandingPage() {
<FooterBaseCard
logoText="Victory Club"
columns={[
{ title: "Navigation", items: [{ label: "Hero", href: "#hero" }, { label: "Features", href: "#features" }, { label: "Coaches", href: "#team" }] },
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Use", href: "#" }] }
{ title: "Navigation", items: [{ label: "Home", href: "#hero" }, { label: "Features", href: "#features" }] },
{ title: "Legal", items: [{ label: "Privacy", href: "#" }] }
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}
}