39 Commits

Author SHA1 Message Date
357d4e54f6 Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 01:10:33 +00:00
c8a4a2c04f Update src/pages/HomePage/sections/Gallery.tsx 2026-07-02 01:10:33 +00:00
7a9edf67dd Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 01:00:30 +00:00
7090d50fd6 Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:58:46 +00:00
89663bee64 Update src/pages/HomePage/sections/Bookings.tsx 2026-07-02 00:58:45 +00:00
kudinDmitriyUp
5d1f1a0db8 Bob AI: Replaced the left floating card image in the hero section. 2026-07-02 00:57:50 +00:00
71279e4136 Merge version_11_1782953464367 into main
Merge version_11_1782953464367 into main
2026-07-02 00:51:22 +00:00
6e1a334b21 Update src/pages/HomePage/sections/Menu.tsx 2026-07-02 00:51:18 +00:00
5a2be2dbba Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:51:18 +00:00
9b36ef6064 Update src/pages/HomePage/sections/Bookings.tsx 2026-07-02 00:51:17 +00:00
75d0942083 Update src/pages/HomePage/sections/About.tsx 2026-07-02 00:51:17 +00:00
49e14a3081 Merge version_10_1782953203624 into main
Merge version_10_1782953203624 into main
2026-07-02 00:47:02 +00:00
aff8626480 Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:46:58 +00:00
06295fa86e Merge version_9_1782953101536 into main
Merge version_9_1782953101536 into main
2026-07-02 00:45:24 +00:00
495d674524 Update src/pages/HomePage/sections/Menu.tsx 2026-07-02 00:45:17 +00:00
8e236621d9 Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:45:16 +00:00
f823c0b23b Update src/pages/HomePage/sections/Gallery.tsx 2026-07-02 00:45:15 +00:00
3c9ba3e415 Merge version_8_1782953019621 into main
Merge version_8_1782953019621 into main
2026-07-02 00:43:56 +00:00
c68d7a484f Update src/pages/HomePage/sections/Menu.tsx 2026-07-02 00:43:52 +00:00
e95c2ec2da Update src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:43:52 +00:00
c2848093ea Update src/pages/HomePage/sections/Bookings.tsx 2026-07-02 00:43:51 +00:00
05c44ae578 Update src/pages/HomePage/sections/About.tsx 2026-07-02 00:43:51 +00:00
76d6269579 Merge version_7_1782952651964 into main
Merge version_7_1782952651964 into main
2026-07-02 00:38:00 +00:00
kudinDmitriyUp
667264bc49 Bob AI: Set image to https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT 2026-07-02 00:37:57 +00:00
ca94769729 Switch to version 5: modified src/pages/HomePage/sections/Hero.tsx 2026-07-02 00:36:35 +00:00
22a654fa72 Merge version_6_1782952547557 into main
Merge version_6_1782952547557 into main
2026-07-02 00:36:20 +00:00
kudinDmitriyUp
dd65ea9a83 Bob AI: Set image to https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT 2026-07-02 00:36:14 +00:00
86bd6191c4 Merge version_5_1782952128697 into main
Merge version_5_1782952128697 into main
2026-07-02 00:29:06 +00:00
bfe44b43e2 Update src/pages/HomePage/sections/Menu.tsx 2026-07-02 00:29:03 +00:00
0fc75c055e Update src/pages/HomePage/sections/Features.tsx 2026-07-02 00:29:02 +00:00
b2eea13c14 Update src/pages/HomePage/sections/Bookings.tsx 2026-07-02 00:29:02 +00:00
ce990be3d5 Update src/pages/HomePage/sections/About.tsx 2026-07-02 00:29:01 +00:00
d1a1d4d6f5 Merge version_4_1782951921088 into main
Merge version_4_1782951921088 into main
2026-07-02 00:27:24 +00:00
kudinDmitriyUp
7c7c38832d Bob AI: Added a new gallery section with the 5 uploaded images. 2026-07-02 00:26:33 +00:00
c91348f58b Merge version_3_1782951769828 into main
Merge version_3_1782951769828 into main
2026-07-02 00:23:06 +00:00
a741e75a3c Update src/pages/HomePage/sections/Menu.tsx 2026-07-02 00:23:02 +00:00
0be40e6540 Update src/pages/HomePage/sections/About.tsx 2026-07-02 00:23:02 +00:00
f9cad300a3 Merge version_2_1782949217029 into main
Merge version_2_1782949217029 into main
2026-07-01 23:43:00 +00:00
kudinDmitriyUp
960b24a5f9 Bob AI: Redesign site for a tennis club with new colors, content, an 2026-07-01 23:42:24 +00:00
11 changed files with 475 additions and 123 deletions

View File

@@ -10,38 +10,39 @@ export default function Layout() {
<StyleProvider buttonVariant="default" siteBackground="none" heroBackground="none">
<SiteBackgroundSlot />
<NavbarFullscreen
logo="Joe's Coffee"
logo="Grand Slam Club"
navItems={[
{ name: "Menu", href: "#menu" },
{ name: "Find Us", href: "#locations" },
{ name: "Facilities", href: "#menu" },
{ name: "Membership", href: "#membership" },
{ name: "Bookings", href: "#bookings" },
]}
ctaButton={{ text: "Order Now", href: "#order" }}
ctaButton={{ text: "Join Now", href: "#membership" }}
/>
<main className="flex-grow">
<Outlet />
</main>
<FooterBrand
brand="Joe's Coffee"
brand="Grand Slam Club"
columns={[
{
items: [
{ label: "Menu", href: "#menu" },
{ label: "Hot Drinks", href: "#menu" },
{ label: "Pastries", href: "#menu" },
{ label: "Facilities", href: "#menu" },
{ label: "Courts", href: "#menu" },
{ label: "Coaching", href: "#menu" },
],
},
{
items: [
{ label: "Find Us", href: "#locations" },
{ label: "Hours", href: "#locations" },
{ label: "About", href: "#about" },
{ label: "Membership", href: "#membership" },
{ label: "Bookings", href: "#bookings" },
{ label: "Events", href: "#features" },
],
},
{
items: [
{ label: "Contact", href: "#contact" },
{ label: "Careers", href: "#careers" },
{ label: "Gift Cards", href: "#gift-cards" },
{ label: "Pro Shop", href: "#shop" },
{ label: "Rules", href: "#rules" },
],
},
]}

View File

@@ -6,15 +6,15 @@
:root {
/* @colorThemes/lightTheme/creamEspresso */
--background: #F5F0E8;
--card: #EDE7DB;
--foreground: #2C1810;
--primary-cta: #2C1810;
--primary-cta-text: #F5F0E8;
--secondary-cta: #FFFFFF;
--secondary-cta-text: #2C1810;
--accent: #8B7355;
--background-accent: #6F4E37;
--background: #F8FAF9;
--card: #FFFFFF;
--foreground: #111827;
--primary-cta: #16A34A;
--primary-cta-text: #FFFFFF;
--secondary-cta: #E5E7EB;
--secondary-cta-text: #111827;
--accent: #4B5563;
--background-accent: #15803D;
/* @layout/border-radius/soft */
--radius: 1.75rem;

View File

@@ -1,118 +1,41 @@
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in the sibling sections/ folder (one file per section).
// Edit those section files directly. Non-block content (wrappers,
// non-inlinable sections) is preserved inline; extracted section blocks
// become component refs.
import { StyleProvider } from "@/components/ui/StyleProvider";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import PageTransitionSwirl from "@/components/ui/PageTransitionSwirl";
import HeroBillboardBrandFloatingCards from "@/components/sections/hero/HeroBillboardBrandFloatingCards";
import AboutCursorTrail from "@/components/sections/about/AboutCursorTrail";
import FeaturesFilterGrid from "@/components/sections/features/FeaturesFilterGrid";
import FeaturesGridSplitLarge from "@/components/sections/features/FeaturesGridSplitLarge";
import ContactBar from "@/components/sections/contact/ContactBar";
import { Phone, MessageCircle, Mail } from "lucide-react";
import React from 'react';
import HeroSection from './HomePage/sections/Hero';
import AboutSection from './HomePage/sections/About';
import MenuSection from './HomePage/sections/Menu';
import FeaturesSection from './HomePage/sections/Features';
import ContactSection from './HomePage/sections/Contact';
export default function HomePage() {
import MembershipSection from './HomePage/sections/Membership';
import BookingsSection from './HomePage/sections/Bookings';
import GallerySection from './HomePage/sections/Gallery';export default function HomePage(): React.JSX.Element {
return (
<StyleProvider siteBackground="aurora" heroBackground="none" buttonVariant="bounce">
<SiteBackgroundSlot />
<PageTransitionSwirl />
<div id="hero" data-section="hero">
<HeroBillboardBrandFloatingCards
textAnimation="fade-blur"
brand="Joe's Coffee"
description="Handcrafted espresso drinks and freshly baked pastries in a warm, welcoming atmosphere. From our first roast to your morning cup, every sip tells a story."
primaryButton={{ text: "Order Now", href: "#order" }}
secondaryButton={{ text: "View Menu", href: "#menu" }}
videoSrc="https://storage.googleapis.com/webild/default/templates/joes-coffee/hero/hero.mp4"
floatingCards={[
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/hero/iced-coffee.webp", name: "Americano" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/hero/latte.webp", name: "Latte" },
]}
/>
</div>
<HeroSection />
<div id="about" data-section="about">
<AboutCursorTrail
textAnimation="fade-blur"
tag="Move your cursor!"
title="What are you in the mood for?"
media={[
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-1.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-2.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-3.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-4.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-5.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-6.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-7.webp" },
{ imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-8.webp" },
]}
primaryButton={{ text: "See the Menu", href: "#menu" }}
secondaryButton={{ text: "Find Us", href: "#locations" }}
/>
</div>
<AboutSection />
<MembershipSection />
<BookingsSection />
<div id="menu" data-section="menu">
<FeaturesFilterGrid
textAnimation="fade-blur"
tag="What We Serve"
title="Explore What's on Our Menu"
description="From handcrafted espresso drinks to freshly baked pastries, every item is made with care."
categories={["Hot Drinks", "Cold Drinks", "Pastries"]}
items={[
{ name: "Espresso", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/espresso.webp" },
{ name: "Latte", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/latte-menu.webp" },
{ name: "Iced Latte", category: "Cold Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-2.webp" },
{ name: "Cappuccino", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/cappuccino.webp" },
{ name: "Iced Americano", category: "Cold Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/hero/iced-coffee.webp" },
{ name: "Mocha", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/mocha.webp" },
{ name: "Iced Mocha", category: "Cold Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-6.webp" },
{ name: "Flat White", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-7.webp" },
{ name: "Iced Flat White", category: "Cold Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/iced-flat-white.webp" },
{ name: "Chai Latte", category: "Hot Drinks", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/chai-latte.webp" },
{ name: "Croissant", category: "Pastries", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/trail/trail-3.webp" },
{ name: "Chocolate Chip Cookie", category: "Pastries", imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/menu/chocolate-chip-cookie.webp" },
]}
/>
</div>
<MenuSection />
<div id="features" data-section="features">
<FeaturesGridSplitLarge
textAnimation="fade-blur"
tag="Beyond the Cup"
title="Host Your Next Event at Joe's"
description="From intimate gatherings to full-scale catering, we bring the warmth of Joe's wherever you need it."
topItems={[
{
title: "Private Events",
description: "Book our space for birthdays, meetings, or just a good excuse to get together. Great coffee and good vibes included.",
imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/features/private-events.webp",
},
{
title: "Catering",
description: "Let us handle the coffee and pastries for your next event. We'll set up, pour, and make sure nobody runs on empty.",
imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/features/catering.webp",
},
]}
bottomItem={{
title: "Custom Menus",
description: "Work with our team to build a tailored menu for your event — from espresso bars to pastry platters, we've got you covered.",
imageSrc: "https://storage.googleapis.com/webild/default/templates/joes-coffee/features/custom-menus.webp",
primaryButton: { text: "Get in Touch", href: "#contact" },
}}
/>
</div>
<FeaturesSection />
<GallerySection />
<div id="contact" data-section="contact">
<ContactBar
textAnimation="fade-blur"
tag="Get in Touch"
title={"Speak with one\nof our experts"}
options={[
{ icon: MessageCircle, label: "Whatsapp", href: "https://wa.me/1234567890" },
{ icon: Mail, label: "Email", href: "mailto:hello@joescoffee.com" },
{ icon: Phone, label: "Number", href: "tel:+1234567890" },
]}
/>
</div>
<ContactSection />
</StyleProvider>

View File

@@ -0,0 +1,20 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "about" section.
import React from 'react';
import AboutCursorTrail from "@/components/sections/about/AboutCursorTrail";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<AboutCursorTrail
textAnimation="fade-blur"
tag="Explore Our Club"
title="What are you looking for?"
media={[{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png"},{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782952546030-f2ubckey.jpg"},{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363731-ti1gwsue.jpg"},{"imageSrc":"https://images.unsplash.com/photo-1530915534664-4ac6423816b7?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://images.unsplash.com/photo-1554068865-24cecd4e34b8?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363730-qzocx6gy.webp"},{"imageSrc":"https://images.unsplash.com/photo-1542144582-1ba00456b5e3?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://images.unsplash.com/photo-1560012057-4372e14c5085?q=80&w=1000&auto=format&fit=crop"}]}
primaryButton={{"href":"#facilities","text":"View Facilities"}}
secondaryButton={{"href":"#contact","text":"Contact Us"}}
/>
</div>
);
}

View File

@@ -0,0 +1,71 @@
import TextAnimation from '@/components/ui/TextAnimation';
import ScrollReveal from '@/components/ui/ScrollReveal';
import Tag from '@/components/ui/Tag';
import ImageOrVideo from '@/components/ui/ImageOrVideo';
export default function BookingsSection() {
const steps = [
{
tag: "Login",
title: "Access Your Account",
subtitle: "Step 1",
description: "Log in to your member portal using your credentials.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png",
},
{
tag: "Select",
title: "Choose Your Court",
subtitle: "Step 2",
description: "Browse available courts and times up to 7 days in advance (14 days for Pro members).",
imageSrc: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782952546030-f2ubckey.jpg?_wi=1",
},
{
tag: "Confirm",
title: "Secure Your Time",
subtitle: "Step 3",
description: "Confirm your booking and receive an email confirmation with your court details.",
imageSrc: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363731-ti1gwsue.jpg",
},
];
return (
<section id="bookings" data-webild-section="bookings" className="relative w-full py-24 bg-card">
<div className="w-content-width mx-auto">
<div className="text-center max-w-3xl mx-auto mb-16">
<Tag text="Court Bookings" className="mb-4" />
<TextAnimation
text="How to Book a Court"
variant="fade-blur"
tag="h2"
gradientText={false}
className="text-4xl md:text-5xl font-bold text-foreground mb-6"
/>
<p className="text-lg text-accent">
Reserving a court is quick and easy for members. Follow these simple steps to secure your playtime.
</p>
</div>
<div className="space-y-12">
{steps.map((step, index) => (
<ScrollReveal variant="fade" key={index} delay={index * 0.1}>
<div className={`flex flex-col ${index % 2 === 1 ? 'md:flex-row-reverse' : 'md:flex-row'} gap-8 items-center`}>
<div className="w-full md:w-1/2">
<div className="aspect-video rounded-lg overflow-hidden">
<ImageOrVideo imageSrc={step.imageSrc} className="w-full h-full object-cover" />
</div>
</div>
<div className="w-full md:w-1/2 space-y-4">
<div className="inline-block px-3 py-1 rounded-full bg-primary-cta/10 text-primary-cta text-sm font-medium">
{step.subtitle}
</div>
<h3 className="text-2xl md:text-3xl font-bold text-foreground">{step.title}</h3>
<p className="text-lg text-accent">{step.description}</p>
</div>
</div>
</ScrollReveal>
))}
</div>
</div>
</section>
);
}

View File

@@ -0,0 +1,23 @@
// 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 ContactBar from "@/components/sections/contact/ContactBar";
import { Phone, MessageCircle, Mail } from "lucide-react";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<ContactBar
textAnimation="fade-blur"
tag="Get in Touch"
title={"Speak with one\nof our experts"}
options={[
{ icon: MessageCircle, label: "Whatsapp", href: "https://wa.me/1234567890" },
{ icon: Mail, label: "Email", href: "mailto:hello@joescoffee.com" },
{ icon: Phone, label: "Number", href: "tel:+1234567890" },
]}
/>
</div>
);
}

View File

@@ -0,0 +1,20 @@
// 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 FeaturesGridSplitLarge from "@/components/sections/features/FeaturesGridSplitLarge";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<FeaturesGridSplitLarge
textAnimation="fade-blur"
tag="Events & Tournaments"
title="Get Involved in the Community"
description="From casual social mixers to competitive club championships, there's always something happening at the club."
topItems={[{"imageSrc":"https://images.unsplash.com/photo-1530915534664-4ac6423816b7?q=80&w=1000&auto=format&fit=crop","description":"Compete in our annual club championships across various age groups and skill levels. A great way to challenge yourself and meet other members.","title":"Annual Championships"},{"imageSrc":"https://images.unsplash.com/photo-1554068865-24cecd4e34b8?q=80&w=1000&auto=format&fit=crop","description":"Join us for our monthly social mixers. Enjoy casual round-robin play followed by drinks and appetizers in the clubhouse.","title":"Social Mixers"}]}
bottomItem={{"primaryButton":{"text":"Join a League","href":"#leagues"},"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363731-ti1gwsue.jpg","description":"Join our competitive leagues and test your skills against players of similar levels. We offer singles, doubles, and mixed leagues year-round.","title":"Club Leagues"}}
/>
</div>
);
}

View File

@@ -0,0 +1,77 @@
import { motion } from "motion/react";
import TextAnimation from "@/components/ui/TextAnimation";
import ScrollReveal from "@/components/ui/ScrollReveal";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import Tag from "@/components/ui/Tag";
export default function GallerySection() {
const images = [
{
src: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png",
title: "Indoor Courts",
colSpan: "md:col-span-3"
},
{
src: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920219-3sznj2xy.png",
title: "Outdoor Complex",
colSpan: "md:col-span-3"
},
{
src: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920220-nisd5a9c.webp",
title: "Championship Stadium",
colSpan: "md:col-span-2"
},
{
src: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png",
title: "Courts",
colSpan: "md:col-span-2"
},
{
src: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920222-umx1babl.jpg",
title: "Grass Courts",
colSpan: "md:col-span-2"
}
];
return (
<section data-webild-section="gallery" id="gallery" className="relative w-full py-24 bg-background">
<div className="w-content-width mx-auto flex flex-col gap-12">
<div className="flex flex-col items-center text-center gap-4">
<ScrollReveal variant="fade">
<Tag text="Gallery" />
</ScrollReveal>
<TextAnimation
text="Club Facilities"
variant="slide-up"
tag="h2"
className="text-4xl md:text-5xl font-bold text-foreground"
gradientText={false}
/>
<ScrollReveal variant="fade" delay={0.1}>
<p className="text-lg text-accent max-w-2xl mx-auto">
Explore our world-class tennis courts and amenities designed for players of all levels.
</p>
</ScrollReveal>
</div>
<div className="grid grid-cols-1 md:grid-cols-6 gap-4">
{images.map((img, index) => (
<ScrollReveal variant="fade"
key={index}
delay={0.1 * index}
className={`relative group overflow-hidden rounded-lg aspect-video ${img.colSpan}`}
>
<ImageOrVideo
imageSrc={img.src}
className="w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
/>
<div className="absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-6">
<h3 className="text-white font-medium text-xl">{img.title}</h3>
</div>
</ScrollReveal>
))}
</div>
</div>
</section>
);
}

View File

@@ -0,0 +1,120 @@
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import { useRef } from "react";
import { motion, useScroll, useTransform } from "motion/react";
import { cls } from "@/lib/utils";
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 AutoFillText from "@/components/ui/AutoFillText";
import ScrollReveal from "@/components/ui/ScrollReveal";
const primaryButton = {
href: "#book",
text: "Book a Court"
};
const secondaryButton = {
text: "Join the Club",
href: "#membership"
};
const floatingCards = [
{
name: "Courts",
imageSrc: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png"
},
{
name: "Grass Courts",
imageSrc: "https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782952546030-f2ubckey.jpg?_wi=2"
}
];
type FloatingCard = {
name: string;
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
const CARD_CONFIG = [
{ position: "left", bottom: "30%", aspect: "aspect-3/4", movement: "-100%" },
{ position: "right", bottom: "14%", aspect: "aspect-square", movement: "-75%" },
] as const;
type HeroBillboardBrandFloatingCardsProps = {
brand: string;
description: string;
primaryButton: { text: string; href: string };
secondaryButton: { text: string; href: string };
floatingCards: [FloatingCard, FloatingCard];
textAnimation: "slide-up" | "fade-blur" | "fade";
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
const HeroInline = () => {
const heroRef = useRef<HTMLDivElement>(null);
const { scrollYProgress } = useScroll({
target: heroRef,
offset: ["start start", "end start"],
});
const leftCardY = useTransform(scrollYProgress, [0, 1], ["0%", CARD_CONFIG[0].movement]);
const rightCardY = useTransform(scrollYProgress, [0, 1], ["0%", CARD_CONFIG[1].movement]);
const cardYTransforms = [leftCardY, rightCardY];
return (
<section ref={heroRef} aria-label="Hero section" className="relative pt-25 pb-20 md:pt-30">
<HeroBackgroundSlot />
{floatingCards.map((card, i) => (
<motion.div
key={i}
style={{ y: cardYTransforms[i], bottom: CARD_CONFIG[i].bottom }}
className={cls(
"absolute z-10 w-28 xl:w-48 2xl:w-52 p-1 xl:p-2 2xl:p-3 card rounded overflow-hidden shadow-xl",
CARD_CONFIG[i].position === "left"
? "left-[calc((100vw-var(--width-content-width))/2)] translate-x-1/4 lg:-translate-x-1/2"
: "right-[calc((100vw-var(--width-content-width))/2)] -translate-x-1/4 lg:translate-x-1/2"
)}
>
<div className="relative">
<ImageOrVideo
imageSrc={card.imageSrc}
videoSrc={card.videoSrc}
className={cls("w-full object-cover rounded", CARD_CONFIG[i].aspect)}
/>
<div className="absolute bottom-1 xl:bottom-2 2xl:bottom-3 inset-x-1 xl:inset-x-2 2xl:inset-x-3 card rounded p-1 xl:p-2 2xl:p-3">
<h3 className="text-2xl md:text-3xl text-center truncate">{card.name}</h3>
</div>
</div>
</motion.div>
))}
<div className="flex flex-col gap-10 md:gap-12 w-content-width mx-auto">
<div className="flex flex-col items-end gap-5">
<AutoFillText className="w-full font-semibold" paddingY="">{"Grand Slam Club"}</AutoFillText>
<TextAnimation
text={"Experience world-class tennis facilities, professional coaching, and a vibrant community. Whether you're a beginner or a seasoned pro, our courts are ready for you."}
variant={"fade-blur"}
gradientText={false}
tag="p"
className="w-full md:w-1/2 text-lg md:text-2xl leading-snug text-balance text-right"
/>
<div className="flex flex-wrap justify-end gap-3 mt-1 md:mt-2">
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animationDelay={0.1} />
</div>
</div>
<ScrollReveal variant="slide-up" delay={0.2} className="w-full p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
<ImageOrVideo imageSrc={"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363730-2xq7048r.jpg"} className="aspect-4/5 md:aspect-video" />
</ScrollReveal>
</div>
</section>
);
};
export default function HeroSection() {
return (
<div data-webild-section="hero" id="hero">
<HeroInline />
</div>
);
}

View File

@@ -0,0 +1,77 @@
import TextAnimation from '@/components/ui/TextAnimation';
import ScrollReveal from '@/components/ui/ScrollReveal';
import Button from '@/components/ui/Button';
import Tag from '@/components/ui/Tag';
import { Check } from 'lucide-react';
export default function MembershipSection() {
const plans = [
{
tag: "Individual",
price: "$150/mo",
description: "Perfect for individuals looking to play regularly and join club events.",
features: ["Unlimited court access", "7-day advance booking", "Access to club tournaments", "10% off pro shop"],
},
{
tag: "Family",
price: "$250/mo",
description: "Great for couples or families who want to enjoy the club together.",
features: ["Unlimited court access for 2 adults and children", "7-day advance booking", "Access to family events", "15% off pro shop"],
},
{
tag: "Pro",
price: "$300/mo",
description: "For the serious player who wants access to premium coaching and facilities.",
features: ["All Individual benefits", "14-day advance booking", "2 private lessons per month", "Complimentary locker"],
},
];
return (
<section id="membership" data-webild-section="membership" className="relative w-full py-24 bg-background">
<div className="w-content-width mx-auto">
<div className="text-center max-w-3xl mx-auto mb-16">
<Tag text="Membership Plans" className="mb-4" />
<TextAnimation
text="Join the Club"
variant="fade-blur"
tag="h2"
gradientText={false}
className="text-4xl md:text-5xl font-bold text-foreground mb-6"
/>
<p className="text-lg text-accent">
Choose the membership that fits your lifestyle. Enjoy unlimited court access, priority booking, and exclusive member events.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{plans.map((plan, index) => (
<ScrollReveal variant="fade" key={index} delay={index * 0.1}>
<div className="card p-8 h-full flex flex-col">
<div className="mb-6">
<span className="inline-block px-3 py-1 rounded-full bg-primary-cta/10 text-primary-cta text-sm font-medium mb-4">
{plan.tag}
</span>
<div className="text-4xl font-bold text-foreground mb-2">{plan.price}</div>
<p className="text-accent text-sm">{plan.description}</p>
</div>
<div className="flex-grow">
<ul className="space-y-4 mb-8">
{plan.features.map((feature, fIndex) => (
<li key={fIndex} className="flex items-start gap-3">
<Check className="w-5 h-5 text-primary-cta shrink-0 mt-0.5" />
<span className="text-foreground text-sm">{feature}</span>
</li>
))}
</ul>
</div>
<Button text="Select Plan" variant="primary" className="w-full justify-center" />
</div>
</ScrollReveal>
))}
</div>
</div>
</section>
);
}

View File

@@ -0,0 +1,20 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "menu" section.
import React from 'react';
import FeaturesFilterGrid from "@/components/sections/features/FeaturesFilterGrid";
export default function MenuSection(): React.JSX.Element {
return (
<div id="menu" data-section="menu">
<FeaturesFilterGrid
textAnimation="fade-blur"
tag="Our Facilities"
title="Everything You Need to Play Your Best"
description="Discover our premium facilities designed for players of all levels."
categories={["Courts","Coaching","Amenities"]}
items={[{"category":"Courts","name":"Courts","imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png"},{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782952546030-f2ubckey.jpg","category":"Courts","name":"Grass Courts"},{"imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363731-ti1gwsue.jpg","category":"Courts","name":"Hard Courts"},{"category":"Courts","name":"Indoor Courts","imageSrc":"https://images.unsplash.com/photo-1530915534664-4ac6423816b7?q=80&w=1000&auto=format&fit=crop"},{"category":"Coaching","name":"Private Lessons","imageSrc":"https://images.unsplash.com/photo-1554068865-24cecd4e34b8?q=80&w=1000&auto=format&fit=crop"},{"category":"Coaching","name":"Group Clinics","imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951363730-qzocx6gy.webp"},{"category":"Coaching","name":"Junior Academy","imageSrc":"https://images.unsplash.com/photo-1542144582-1ba00456b5e3?q=80&w=1000&auto=format&fit=crop"},{"category":"Amenities","name":"Pro Shop","imageSrc":"https://images.unsplash.com/photo-1560012057-4372e14c5085?q=80&w=1000&auto=format&fit=crop"},{"category":"Amenities","name":"Clubhouse","imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782951920218-dn9n7n03.png"},{"category":"Amenities","name":"Locker Rooms","imageSrc":"https://storage.googleapis.com/webild/users/user_3AniccObAoDJgCkSlT6RJk7a8NL/uploaded-1782952546030-f2ubckey.jpg"}]}
/>
</div>
);
}