Merge version_2_1781556565816 into main #3

Merged
bender merged 1 commits from version_2_1781556565816 into main 2026-06-15 20:51:11 +00:00
8 changed files with 285 additions and 138 deletions

View File

@@ -1,148 +1,33 @@
import ContactCta from '@/components/sections/contact/ContactCta';
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
// files directly. Non-block content (wrappers, non-inlinable sections) is
// preserved inline; extracted section blocks become <XSection/> refs.
export default function HomePage() {
import React from 'react';
import HeroSection from './HomePage/sections/Hero';
import HowItWorksSection from './HomePage/sections/HowItWorks';
import CausesSection from './HomePage/sections/Causes';
import ProductsSection from './HomePage/sections/Products';
import MonthlyMissionSection from './HomePage/sections/MonthlyMission';
import TestimonialsSection from './HomePage/sections/Testimonials';
import ContactSection from './HomePage/sections/Contact';
export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroSplitMediaGrid
tag="Your Coffee. Your Cause."
title="Raise money with every cup you drink."
description="Premium coffee that helps organizations raise meaningful money with every bag sold. Join us in making a difference."
primaryButton={{
text: "Start a Fundraiser", href: "#contact"}}
secondaryButton={{
text: "Shop Coffee", href: "#products"}}
items={[
{
imageSrc: "http://img.b2bpic.net/free-photo/girl-white-sweater-sitting-alone-cafe_1157-26876.jpg"},
{
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-sitting-together_23-2149026889.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="how-it-works" data-section="how-it-works">
<SectionErrorBoundary name="how-it-works">
<FeaturesDetailedSteps
tag="Simple Fundraising"
title="How It Works"
description="Getting your organization set up is easier than you think."
steps={[
{
tag: "01", title: "Launch Campaign", subtitle: "Get Started", description: "Apply online and receive your fundraising link in minutes.", imageSrc: "http://img.b2bpic.net/free-photo/successful-businessman-using-touchpad-office_1262-2328.jpg"},
{
tag: "02", title: "Spread the Word", subtitle: "Share & Sell", description: "Share your coffee link with friends, family, and supporters.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-group-volunteers-taking-care-donations_23-2148687301.jpg"},
{
tag: "03", title: "Earn 50%", subtitle: "Collect Funds", description: "Keep half of every sale made through your custom shop.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-hand-touching-ipo-initial-public-offering-sign-virtual-screen_493343-29975.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
<HowItWorksSection />
<div id="causes" data-section="causes">
<SectionErrorBoundary name="causes">
<SocialProofMarquee
tag="Impact"
title="Featured Causes"
description="Proudly supporting amazing organizations across the country."
names={[
"Springfield High Booster", "Youth Sports Alliance", "City Animal Shelter", "Community Food Bank", "Grace Neighborhood Church", "Lincoln Little League", "Central High PTA"]}
/>
</SectionErrorBoundary>
</div>
<CausesSection />
<div id="products" data-section="products">
<SectionErrorBoundary name="products">
<FeaturesImageBento
tag="Our Coffee"
title="Premium Coffee Selection"
description="Roasted for freshness, chosen for impact."
items={[
{
title: "Sunrise Blend", description: "Light roast, bright notes", imageSrc: "http://img.b2bpic.net/free-photo/three-black-take-away-paper-cups-with-closed-caps-isolated-wooden-brick-table_346278-571.jpg"},
{
title: "Everyday Blend", description: "Medium roast, smooth finish", imageSrc: "http://img.b2bpic.net/free-photo/coffee-bags-with-coffee-beans-around_1232-1359.jpg"},
{
title: "Midnight Roast", description: "Dark roast, bold body", imageSrc: "http://img.b2bpic.net/free-photo/closeup-paper-bag-with-roasted-coffee-beans-lights-isolated-white-background_181624-60278.jpg"},
{
title: "Decaf Delight", description: "Swiss water processed", imageSrc: "http://img.b2bpic.net/free-photo/roasted-coffee-bean-pictures-concept_53876-16489.jpg"},
{
title: "French Roast", description: "Rich, smoky profile", imageSrc: "http://img.b2bpic.net/free-photo/two-brutal-tattooed-roaster-hands-hold-sealed-package-bag-with-tea-coffee-ready-delivery-sale_346278-558.jpg"},
{
title: "Kenya Reserve", description: "Single-origin notes", imageSrc: "http://img.b2bpic.net/free-photo/roasted-coffee-beans-burlap-sack_23-2148255077.jpg"},
{
title: "Subscriptions", description: "Save 15% recurring", imageSrc: "http://img.b2bpic.net/free-photo/steel-card-with-lettering-guest-relations-stands-table_1304-3054.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
<ProductsSection />
<div id="monthly-mission" data-section="monthly-mission">
<SectionErrorBoundary name="monthly-mission">
<MetricsIconCards
tag="This Month"
title="Monthly Mission"
description="Every month, we highlight one cause and track their progress toward their goal."
metrics={[
{
icon: "Target", title: "Campaign Goal", value: "$10,000"},
{
icon: "TrendingUp", title: "Raised So Far", value: "$7,450"},
{
icon: "Users", title: "Supporters", value: "240"},
]}
/>
</SectionErrorBoundary>
</div>
<MonthlyMissionSection />
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialMarqueeOverlayCards
tag="Impact Stories"
title="Community Voices"
description="Read how coffee is helping our partners achieve their goals."
testimonials={[
{
name: "Sarah J.", role: "Principal", company: "Central High", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg"},
{
name: "Mike R.", role: "Coach", company: "Youth Sports", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cropped-shot-happy-young-afro-american-bodybuilder-looking-camera-grinning-confidently-keeping-hands-his-waist-posing-against-white-studio-wall-background-with-copy-space-your-text_343059-465.jpg"},
{
name: "Emily V.", role: "Coordinator", company: "Animal Rescue", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-business-jacket-looking-confident-camera-smiling-with-crossed-arms-hand-raised-chin-thinking-positive_839833-8974.jpg"},
{
name: "David W.", role: "Member", company: "Local Church", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/person-looking-football-game-sunny-day_23-2149015514.jpg"},
{
name: "Jessica L.", role: "Mom", company: "Booster Club", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/mother-son-are-resting-sofa-home_344912-2327.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
<TestimonialsSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Apply Now"
text="Start your organization's fundraiser today and earn 50% on every bag."
primaryButton={{
text: "Apply for Fundraiser", href: "/apply"}}
secondaryButton={{
text: "Contact Support", href: "#"}}
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}
}

View File

@@ -0,0 +1,22 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "causes" section.
import React from 'react';
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function CausesSection(): React.JSX.Element {
return (
<div id="causes" data-section="causes">
<SectionErrorBoundary name="causes">
<SocialProofMarquee
tag="Impact"
title="Featured Causes"
description="Proudly supporting amazing organizations across the country."
names={[
"Springfield High Booster", "Youth Sports Alliance", "City Animal Shelter", "Community Food Bank", "Grace Neighborhood Church", "Lincoln Little League", "Central High PTA"]}
/>
</SectionErrorBoundary>
</div>
);
}

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 ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Apply Now"
text="Start your organization's fundraiser today and earn 50% on every bag."
primaryButton={{
text: "Apply for Fundraiser", href: "/apply"}}
secondaryButton={{
text: "Contact Support", href: "#"}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,88 @@
/* 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 HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
const primaryButton = {
text: "Start a Fundraiser",
href: "#contact"
};
const secondaryButton = {
text: "Shop Coffee",
href: "#products"
};
const items = [
{
imageSrc: "http://img.b2bpic.net/free-photo/girl-white-sweater-sitting-alone-cafe_1157-26876.jpg"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-sitting-together_23-2149026889.jpg"
}
];
type HeroSplitMediaGridProps = {
tag: string;
title: string;
description: string;
primaryButton: { text: string; href: string };
secondaryButton: { text: string; href: string };
items: [
{ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never },
{ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }
];
};
const HeroInline = () => {
return (
<section aria-label="Hero section" className="relative flex items-center h-fit md:h-svh pt-25 pb-20 md:py-0">
<HeroBackgroundSlot />
<div className="flex flex-col md:flex-row items-center gap-12 md:gap-20 w-content-width mx-auto">
<div className="w-full md:w-1/2">
<div className="flex flex-col items-center md:items-start gap-3">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Your Coffee. Your Cause."}</p>
</div>
<TextAnimation
text={"Raise money with every cup you drink."}
variant="slide-up"
gradientText={true}
tag="h1"
className="text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center md:text-left text-balance"
/>
<TextAnimation
text={"Premium coffee that helps organizations raise meaningful money with every bag sold. Join us in making a difference."}
variant="slide-up"
gradientText={false}
tag="p"
className="md:max-w-8/10 text-lg md:text-xl leading-snug text-center md:text-left text-balance"
/>
<div className="flex flex-wrap max-md:justify-center gap-3 mt-2 md:mt-3">
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
</div>
</div>
</div>
<ScrollReveal variant="slide-up" delay={0.2} className="w-full md:w-1/2">
<div className="h-80 md:h-[65vh] p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden w-full">
<ImageOrVideo imageSrc="https://images.unsplash.com/photo-1522529599102-193c0d76b5b6?q=80&w=2070&auto=format&fit=crop" className="w-full h-full object-cover rounded-[inherit]" />
</div>
</ScrollReveal>
</div>
</section>
);
};
export default function HeroSection() {
return (
<div data-webild-section="hero" id="hero">
<HeroInline />
</div>
);
}

View File

@@ -0,0 +1,28 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "how-it-works" section.
import React from 'react';
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HowItWorksSection(): React.JSX.Element {
return (
<div id="how-it-works" data-section="how-it-works">
<SectionErrorBoundary name="how-it-works">
<FeaturesDetailedSteps
tag="Simple Fundraising"
title="How It Works"
description="Getting your organization set up is easier than you think."
steps={[
{
tag: "01", title: "Launch Campaign", subtitle: "Get Started", description: "Apply online and receive your fundraising link in minutes.", imageSrc: "http://img.b2bpic.net/free-photo/successful-businessman-using-touchpad-office_1262-2328.jpg"},
{
tag: "02", title: "Spread the Word", subtitle: "Share & Sell", description: "Share your coffee link with friends, family, and supporters.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-group-volunteers-taking-care-donations_23-2148687301.jpg"},
{
tag: "03", title: "Earn 50%", subtitle: "Collect Funds", description: "Keep half of every sale made through your custom shop.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-hand-touching-ipo-initial-public-offering-sign-virtual-screen_493343-29975.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,28 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "monthly-mission" section.
import React from 'react';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MonthlyMissionSection(): React.JSX.Element {
return (
<div id="monthly-mission" data-section="monthly-mission">
<SectionErrorBoundary name="monthly-mission">
<MetricsIconCards
tag="This Month"
title="Monthly Mission"
description="Every month, we highlight one cause and track their progress toward their goal."
metrics={[
{
icon: "Target", title: "Campaign Goal", value: "$10,000"},
{
icon: "TrendingUp", title: "Raised So Far", value: "$7,450"},
{
icon: "Users", title: "Supporters", value: "240"},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,36 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "products" section.
import React from 'react';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ProductsSection(): React.JSX.Element {
return (
<div id="products" data-section="products">
<SectionErrorBoundary name="products">
<FeaturesImageBento
tag="Our Coffee"
title="Premium Coffee Selection"
description="Roasted for freshness, chosen for impact."
items={[
{
title: "Sunrise Blend", description: "Light roast, bright notes", imageSrc: "http://img.b2bpic.net/free-photo/three-black-take-away-paper-cups-with-closed-caps-isolated-wooden-brick-table_346278-571.jpg"},
{
title: "Everyday Blend", description: "Medium roast, smooth finish", imageSrc: "http://img.b2bpic.net/free-photo/coffee-bags-with-coffee-beans-around_1232-1359.jpg"},
{
title: "Midnight Roast", description: "Dark roast, bold body", imageSrc: "http://img.b2bpic.net/free-photo/closeup-paper-bag-with-roasted-coffee-beans-lights-isolated-white-background_181624-60278.jpg"},
{
title: "Decaf Delight", description: "Swiss water processed", imageSrc: "http://img.b2bpic.net/free-photo/roasted-coffee-bean-pictures-concept_53876-16489.jpg"},
{
title: "French Roast", description: "Rich, smoky profile", imageSrc: "http://img.b2bpic.net/free-photo/two-brutal-tattooed-roaster-hands-hold-sealed-package-bag-with-tea-coffee-ready-delivery-sale_346278-558.jpg"},
{
title: "Kenya Reserve", description: "Single-origin notes", imageSrc: "http://img.b2bpic.net/free-photo/roasted-coffee-beans-burlap-sack_23-2148255077.jpg"},
{
title: "Subscriptions", description: "Save 15% recurring", imageSrc: "http://img.b2bpic.net/free-photo/steel-card-with-lettering-guest-relations-stands-table_1304-3054.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,37 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "testimonials" section.
import React from 'react';
import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialsSection(): React.JSX.Element {
return (
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialMarqueeOverlayCards
tag="Impact Stories"
title="Community Voices"
description="Read how coffee is helping our partners achieve their goals."
testimonials={[
{
name: "Sarah J.", role: "Principal", company: "Central High", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg"},
{
name: "Mike R.", role: "Coach", company: "Youth Sports", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cropped-shot-happy-young-afro-american-bodybuilder-looking-camera-grinning-confidently-keeping-hands-his-waist-posing-against-white-studio-wall-background-with-copy-space-your-text_343059-465.jpg"},
{
name: "Emily V.", role: "Coordinator", company: "Animal Rescue", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-business-jacket-looking-confident-camera-smiling-with-crossed-arms-hand-raised-chin-thinking-positive_839833-8974.jpg"},
{
name: "David W.", role: "Member", company: "Local Church", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/person-looking-football-game-sunny-day_23-2149015514.jpg"},
{
name: "Jessica L.", role: "Mom", company: "Booster Club", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/mother-son-are-resting-sofa-home_344912-2327.jpg"},
]}
/>
</SectionErrorBoundary>
</div>
);
}