Compare commits
3 Commits
version_1_
...
version_3_
| Author | SHA1 | Date | |
|---|---|---|---|
| a741e75a3c | |||
| 0be40e6540 | |||
|
|
960b24a5f9 |
@@ -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" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,118 +1,39 @@
|
||||
// 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';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 />
|
||||
|
||||
<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>
|
||||
|
||||
20
src/pages/HomePage/sections/About.tsx
Normal file
20
src/pages/HomePage/sections/About.tsx
Normal 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://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://images.unsplash.com/photo-1589806053641-6101469b1110?q=80&w=1000&auto=format&fit=crop"},{"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>
|
||||
);
|
||||
}
|
||||
71
src/pages/HomePage/sections/Bookings.tsx
Normal file
71
src/pages/HomePage/sections/Bookings.tsx
Normal 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://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?q=80&w=1000&auto=format&fit=crop",
|
||||
},
|
||||
{
|
||||
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://images.unsplash.com/photo-1622279457486-62dcc4a431d6?q=80&w=1000&auto=format&fit=crop",
|
||||
},
|
||||
{
|
||||
tag: "Confirm",
|
||||
title: "Secure Your Time",
|
||||
subtitle: "Step 3",
|
||||
description: "Confirm your booking and receive an email confirmation with your court details.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1589806053641-6101469b1110?q=80&w=1000&auto=format&fit=crop",
|
||||
},
|
||||
];
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
23
src/pages/HomePage/sections/Contact.tsx
Normal file
23
src/pages/HomePage/sections/Contact.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
20
src/pages/HomePage/sections/Features.tsx
Normal file
20
src/pages/HomePage/sections/Features.tsx
Normal 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://images.unsplash.com/photo-1589806053641-6101469b1110?q=80&w=1000&auto=format&fit=crop","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>
|
||||
);
|
||||
}
|
||||
21
src/pages/HomePage/sections/Hero.tsx
Normal file
21
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "hero" section.
|
||||
|
||||
import React from 'react';
|
||||
import HeroBillboardBrandFloatingCards from "@/components/sections/hero/HeroBillboardBrandFloatingCards";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardBrandFloatingCards
|
||||
textAnimation="fade-blur"
|
||||
brand="Grand Slam Club"
|
||||
description="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."
|
||||
primaryButton={{"href":"#book","text":"Book a Court"}}
|
||||
secondaryButton={{"text":"Join the Club","href":"#membership"}}
|
||||
videoSrc="https://storage.googleapis.com/webild/default/templates/tennis/hero.mp4"
|
||||
floatingCards={[{"name":"Clay Courts","imageSrc":"https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?q=80&w=1000&auto=format&fit=crop"},{"name":"Grass Courts","imageSrc":"https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?q=80&w=1000&auto=format&fit=crop"}]}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
77
src/pages/HomePage/sections/Membership.tsx
Normal file
77
src/pages/HomePage/sections/Membership.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
20
src/pages/HomePage/sections/Menu.tsx
Normal file
20
src/pages/HomePage/sections/Menu.tsx
Normal 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":"Clay Courts","imageSrc":"https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?q=80&w=1000&auto=format&fit=crop"},{"imageSrc":"https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?q=80&w=1000&auto=format&fit=crop","category":"Courts","name":"Grass Courts"},{"imageSrc":"https://images.unsplash.com/photo-1589806053641-6101469b1110?q=80&w=1000&auto=format&fit=crop","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://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?q=80&w=1000&auto=format&fit=crop"},{"category":"Amenities","name":"Locker Rooms","imageSrc":"https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?q=80&w=1000&auto=format&fit=crop"}]}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user