Merge version_2_1781430826427 into main
Merge version_2_1781430826427 into main
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,212 +1,33 @@
|
||||
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
|
||||
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||
import { Award, Coffee, Smile } from "lucide-react";
|
||||
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 AboutSection from './HomePage/sections/About';
|
||||
import FeaturesSection from './HomePage/sections/Features';
|
||||
import MenuSection from './HomePage/sections/Menu';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
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">
|
||||
<HeroSplit
|
||||
tag="Düsseldorf's Finest"
|
||||
title="Welcome to FENTCHA"
|
||||
description="Authentic bubble tea handcrafted with premium ingredients for the true connoisseur. Experience the perfect blend of tradition and modern innovation in every cup."
|
||||
primaryButton={{
|
||||
text: "View Menu",
|
||||
href: "#menu",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Visit Us",
|
||||
href: "#contact",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/arrangement-with-delicious-traditional-thai-tea_23-2148994374.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTestimonial
|
||||
tag="Our Philosophy"
|
||||
quote="At FENTCHA, we believe every cup should be an experience. From sourcing the finest tea leaves to selecting the chewiest tapioca pearls, our commitment to quality is uncompromising."
|
||||
author="The FENTCHA Team"
|
||||
role="Düsseldorf HHA"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/composition-with-delicious-traditional-thai-tea_23-2148994347.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesArrowCards
|
||||
tag="Why FENTCHA"
|
||||
title="Crafted with Care"
|
||||
description="Our dedication shows in every sip. Discover why our community loves our unique approach to bubble tea."
|
||||
items={[
|
||||
{
|
||||
title: "Premium Tea Base",
|
||||
tags: [
|
||||
"Hand-sourced",
|
||||
"Organic",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bartender-preparing-refreshing-cocktail_23-2148176723.jpg",
|
||||
},
|
||||
{
|
||||
title: "Fresh Tapioca",
|
||||
tags: [
|
||||
"Cooked hourly",
|
||||
"Perfect texture",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/glass-bowl-tasty-balls-cereals-breakfast-sieve_114579-89185.jpg",
|
||||
},
|
||||
{
|
||||
title: "Artisanal Experience",
|
||||
tags: [
|
||||
"Cozy space",
|
||||
"Authentic",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pretty-fashion-model-red-sunglasses-works-with-her-tablet-sitting-cafe_8353-5106.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FeaturesSection />
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<SectionErrorBoundary name="menu">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Signature Collection"
|
||||
title="Explore Our Flavors"
|
||||
description="Indulge in our carefully curated selection of refreshing boba drinks, each designed to provide a unique palate sensation."
|
||||
items={[
|
||||
{
|
||||
title: "Classic Pearl Milk Tea",
|
||||
description: "The timeless favorite with our signature house-made syrup.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/iced-chocolate_1339-4956.jpg",
|
||||
},
|
||||
{
|
||||
title: "Brown Sugar Boba",
|
||||
description: "Caramelized brown sugar perfection with fresh milk.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/green-tea-fresh-milk-served-with-delicious-snacks_1150-24494.jpg",
|
||||
},
|
||||
{
|
||||
title: "Matcha Bliss",
|
||||
description: "Premium ceremonial grade matcha latte.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/matcha-bubble-tea-clear-cup-with-black-straw_23-2152002554.jpg",
|
||||
},
|
||||
{
|
||||
title: "Strawberry Yogurt",
|
||||
description: "Fresh fruit puree blended with yogurt base.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/figs-bowl-with-cup-drink-blue_114579-29059.jpg",
|
||||
},
|
||||
{
|
||||
title: "Jasmine Green Tea",
|
||||
description: "Fragrant floral tea with a light finish.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-delicious-traditional-thai-tea_23-2148994377.jpg",
|
||||
},
|
||||
{
|
||||
title: "Taro Milky Way",
|
||||
description: "Creamy, earthy taro blended to velvety perfection.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lavender-latte-with-flowers_23-2152002553.jpg",
|
||||
},
|
||||
{
|
||||
title: "Mango Sago Splash",
|
||||
description: "Tropical indulgence with coconut and fresh mango.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/green-tea-iced-tall-glass-with-cream-topped-with-iced-green-tea-decorated-with-green-tea-powder_1150-22922.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MenuSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="By The Numbers"
|
||||
title="Delighting Düsseldorf"
|
||||
description="Our community continues to grow, and so does our passion for serving you."
|
||||
metrics={[
|
||||
{
|
||||
icon: Coffee,
|
||||
title: "Cups Served Daily",
|
||||
value: "500+",
|
||||
},
|
||||
{
|
||||
icon: Smile,
|
||||
title: "Happy Customers",
|
||||
value: "10,000+",
|
||||
},
|
||||
{
|
||||
icon: Award,
|
||||
title: "Flavor Varieties",
|
||||
value: "30+",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialTrustCard
|
||||
quote="The absolute best bubble tea in Düsseldorf! The texture of the pearls is always spot on and the tea flavor is incredible."
|
||||
rating={5}
|
||||
author="Sophia M., Regular Visitor"
|
||||
avatars={[
|
||||
{
|
||||
name: "Sophia",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-young-women-with-bubble-tea_23-2150315119.jpg",
|
||||
},
|
||||
{
|
||||
name: "David",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girls-with-coffe_1157-7328.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emily",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/positive-adorable-ethnic-girl-scrolls-photos-smartphone-uses-modern-smartphone-drinks-takeaway-coffee-feels-touched-delighted-wears-round-glasses-uses-shopping-website_273609-34239.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-waitress-holding-tray-with-cup-coffee-working-cafeteria-serves-table_657921-527.jpg",
|
||||
},
|
||||
{
|
||||
name: "Anna",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-eating-outdoors-chinese-asian-food-sitting-stree_197531-31017.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Visit Us"
|
||||
text="Find us in the heart of Düsseldorf for your next boba fix."
|
||||
primaryButton={{
|
||||
text: "Get Directions",
|
||||
href: "#",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Us",
|
||||
href: "#",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
22
src/pages/HomePage/sections/About.tsx
Normal file
22
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTestimonial
|
||||
tag="Our Philosophy"
|
||||
quote="At FENTCHA, we believe every cup should be an experience. From sourcing the finest tea leaves to selecting the chewiest tapioca pearls, our commitment to quality is uncompromising."
|
||||
author="The FENTCHA Team"
|
||||
role="Düsseldorf HHA"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/composition-with-delicious-traditional-thai-tea_23-2148994347.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Contact.tsx
Normal file
27
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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="Visit Us"
|
||||
text="Find us in the heart of Düsseldorf for your next boba fix."
|
||||
primaryButton={{
|
||||
text: "Get Directions",
|
||||
href: "#",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Us",
|
||||
href: "#",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
46
src/pages/HomePage/sections/Features.tsx
Normal file
46
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
// 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 FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesArrowCards
|
||||
tag="Why FENTCHA"
|
||||
title="Crafted with Care"
|
||||
description="Our dedication shows in every sip. Discover why our community loves our unique approach to bubble tea."
|
||||
items={[
|
||||
{
|
||||
title: "Premium Tea Base",
|
||||
tags: [
|
||||
"Hand-sourced",
|
||||
"Organic",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bartender-preparing-refreshing-cocktail_23-2148176723.jpg",
|
||||
},
|
||||
{
|
||||
title: "Fresh Tapioca",
|
||||
tags: [
|
||||
"Cooked hourly",
|
||||
"Perfect texture",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/glass-bowl-tasty-balls-cereals-breakfast-sieve_114579-89185.jpg",
|
||||
},
|
||||
{
|
||||
title: "Artisanal Experience",
|
||||
tags: [
|
||||
"Cozy space",
|
||||
"Authentic",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pretty-fashion-model-red-sunglasses-works-with-her-tablet-sitting-cafe_8353-5106.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
29
src/pages/HomePage/sections/Hero.tsx
Normal file
29
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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 HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplit
|
||||
tag="Düsseldorf's Finest"
|
||||
title="Welcome to FENTCHA"
|
||||
description="Authentic bubble tea handcrafted with premium ingredients for the true connoisseur. Experience the perfect blend of tradition and modern innovation in every cup."
|
||||
primaryButton={{
|
||||
text: "View Menu",
|
||||
href: "#menu",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Visit Us",
|
||||
href: "#contact",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/arrangement-with-delicious-traditional-thai-tea_23-2148994374.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
171
src/pages/HomePage/sections/Menu.tsx
Normal file
171
src/pages/HomePage/sections/Menu.tsx
Normal file
@@ -0,0 +1,171 @@
|
||||
/* 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 TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
const items = [
|
||||
{
|
||||
title: "Classic Pearl Milk Tea",
|
||||
description: "Der zeitlose Favorit mit unserem hausgemachten Sirup.",
|
||||
price: "4,50 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/iced-chocolate_1339-4956.jpg"
|
||||
},
|
||||
{
|
||||
title: "Brown Sugar Boba",
|
||||
description: "Karamellisierter brauner Zucker in Perfektion mit frischer Milch.",
|
||||
price: "5,00 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/green-tea-fresh-milk-served-with-delicious-snacks_1150-24494.jpg"
|
||||
},
|
||||
{
|
||||
title: "Matcha Bliss",
|
||||
description: "Premium Matcha Latte in zeremonieller Qualität.",
|
||||
price: "5,50 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/matcha-bubble-tea-clear-cup-with-black-straw_23-2152002554.jpg"
|
||||
},
|
||||
{
|
||||
title: "Strawberry Yogurt",
|
||||
description: "Frisches Fruchtpüree gemischt mit Joghurtbasis.",
|
||||
price: "5,20 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/figs-bowl-with-cup-drink-blue_114579-29059.jpg"
|
||||
},
|
||||
{
|
||||
title: "Jasmine Green Tea",
|
||||
description: "Duftender blumiger Tee mit einem leichten Abgang.",
|
||||
price: "4,20 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-delicious-traditional-thai-tea_23-2148994377.jpg"
|
||||
},
|
||||
{
|
||||
title: "Taro Milky Way",
|
||||
description: "Cremiger, erdiger Taro, samtig gemixt.",
|
||||
price: "4,80 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lavender-latte-with-flowers_23-2152002553.jpg"
|
||||
},
|
||||
{
|
||||
title: "Mango Sago Splash",
|
||||
description: "Tropischer Genuss mit Kokosnuss und frischer Mango.",
|
||||
price: "5,50 €",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/green-tea-iced-tall-glass-with-cream-topped-with-iced-green-tea-decorated-with-green-tea-powder_1150-22922.jpg"
|
||||
}
|
||||
];
|
||||
|
||||
type FeatureItem = {
|
||||
title: string;
|
||||
description: string;
|
||||
price?: string;
|
||||
href: string;
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
interface FeaturesRevealCardsBentoProps {
|
||||
tag: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton?: { text: string; href: string };
|
||||
secondaryButton?: { text: string; href: string };
|
||||
items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem];
|
||||
}
|
||||
|
||||
const MenuInline = () => {
|
||||
const gridClasses = [
|
||||
"md:col-span-2",
|
||||
"md:col-span-4",
|
||||
"md:col-span-3",
|
||||
"md:col-span-3",
|
||||
"md:col-span-2",
|
||||
"md:col-span-2",
|
||||
"md:col-span-2",
|
||||
];
|
||||
|
||||
const staggerDelays = [
|
||||
0,
|
||||
0.1,
|
||||
0,
|
||||
0.1,
|
||||
0,
|
||||
0.1,
|
||||
0.2,
|
||||
];
|
||||
|
||||
return (
|
||||
<section aria-label="Features reveal cards bento section" className="py-20">
|
||||
<div className="flex flex-col gap-8 md:gap-10">
|
||||
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Signature Collection"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Explore Our Flavors"}
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Indulge in our carefully curated selection of refreshing boba drinks, each designed to provide a unique palate sensation."}
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
|
||||
/>
|
||||
|
||||
{(undefined || undefined) && (
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary" animationDelay={0.1} />}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3">
|
||||
{items.map((item, index) => (
|
||||
<ScrollReveal key={item.title} variant="slide-up" delay={staggerDelays[index]} className={cls("col-span-1 group", gridClasses[index])}>
|
||||
<a href={item.href} className="block relative overflow-hidden rounded">
|
||||
<div className="h-80 xl:h-100 2xl:h-120 overflow-hidden">
|
||||
<ImageOrVideo
|
||||
imageSrc={item.imageSrc}
|
||||
videoSrc={item.videoSrc}
|
||||
className="rounded group-hover:scale-105 transition-transform duration-500"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute -inset-x-px -bottom-px h-2/5 backdrop-blur-xl mask-fade-top-overlay" aria-hidden="true" />
|
||||
<div className="absolute inset-x-3 bottom-3 2xl:inset-x-4 2xl:bottom-4 z-10">
|
||||
<div className="relative flex flex-col gap-1 md:gap-0 md:group-hover:gap-1 p-3 2xl:p-4 transition-all duration-400">
|
||||
<div className="absolute inset-0 -z-10 card rounded translate-y-0 opacity-100 md:translate-y-full md:opacity-0 transition-all duration-400 ease-out md:group-hover:translate-y-0 md:group-hover:opacity-100" />
|
||||
<h3 className="text-2xl font-semibold leading-snug text-foreground md:text-white transition-colors duration-400 md:group-hover:text-foreground">
|
||||
{item.title}
|
||||
</h3>
|
||||
{item.price && <p className="text-lg font-bold text-primary-cta">{item.price}</p>}
|
||||
<div className="grid grid-rows-[1fr] md:grid-rows-[0fr] transition-all duration-400 ease-out md:group-hover:grid-rows-[1fr]">
|
||||
<p className="overflow-hidden text-base leading-snug text-foreground opacity-100 md:opacity-0 transition-opacity duration-400 md:group-hover:opacity-100">
|
||||
{item.description}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</ScrollReveal>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function MenuSection() {
|
||||
return (
|
||||
<div data-webild-section="menu" id="menu">
|
||||
<MenuInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
38
src/pages/HomePage/sections/Metrics.tsx
Normal file
38
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "metrics" section.
|
||||
|
||||
import React from 'react';
|
||||
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
|
||||
import { Award, Coffee, Smile } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="By The Numbers"
|
||||
title="Delighting Düsseldorf"
|
||||
description="Our community continues to grow, and so does our passion for serving you."
|
||||
metrics={[
|
||||
{
|
||||
icon: Coffee,
|
||||
title: "Cups Served Daily",
|
||||
value: "500+",
|
||||
},
|
||||
{
|
||||
icon: Smile,
|
||||
title: "Happy Customers",
|
||||
value: "10,000+",
|
||||
},
|
||||
{
|
||||
icon: Award,
|
||||
title: "Flavor Varieties",
|
||||
value: "30+",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
42
src/pages/HomePage/sections/Testimonials.tsx
Normal file
42
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,42 @@
|
||||
// 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 TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialTrustCard
|
||||
quote="The absolute best bubble tea in Düsseldorf! The texture of the pearls is always spot on and the tea flavor is incredible."
|
||||
rating={5}
|
||||
author="Sophia M., Regular Visitor"
|
||||
avatars={[
|
||||
{
|
||||
name: "Sophia",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-young-women-with-bubble-tea_23-2150315119.jpg",
|
||||
},
|
||||
{
|
||||
name: "David",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girls-with-coffe_1157-7328.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emily",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/positive-adorable-ethnic-girl-scrolls-photos-smartphone-uses-modern-smartphone-drinks-takeaway-coffee-feels-touched-delighted-wears-round-glasses-uses-shopping-website_273609-34239.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-waitress-holding-tray-with-cup-coffee-working-cafeteria-serves-table_657921-527.jpg",
|
||||
},
|
||||
{
|
||||
name: "Anna",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-eating-outdoors-chinese-asian-food-sitting-stree_197531-31017.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user