Compare commits
2 Commits
version_1_
...
version_2_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4432cd6a40 | ||
| dc12454e8d |
@@ -1,234 +1,35 @@
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand';
|
||||
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
|
||||
import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
|
||||
import { Award, Globe, Users } 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 BenefitsSection from './HomePage/sections/Benefits';
|
||||
import RecipesSection from './HomePage/sections/Recipes';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
|
||||
import AdvisoryBoardSection from './HomePage/sections/AdvisoryBoard';export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboardBrand
|
||||
brand="Healthy Living in Every Bite"
|
||||
description="Discover the world's most nutritious recipes, curated for your wellbeing. Join our community of food lovers and transform your health today."
|
||||
primaryButton={{
|
||||
text: "Explore Recipes",
|
||||
href: "#recipes",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Learn More",
|
||||
href: "#benefits",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/high-angle-colorful-vegetables-assortment-wooden-background_23-2148655358.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="benefits" data-section="benefits">
|
||||
<SectionErrorBoundary name="benefits">
|
||||
<FeaturesRevealCards
|
||||
tag="Why Us"
|
||||
title="Nutrition Made Simple"
|
||||
description="We believe healthy food shouldn't be complicated. Our recipes are easy to follow and focus on high-impact nutrition."
|
||||
items={[
|
||||
{
|
||||
title: "Scientific Accuracy",
|
||||
description: "Every recipe is reviewed by certified nutritionists to ensure balanced macros.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/greek-caesar-salad-with-white-meat-lettuce-cherry-tomatoes-inside-white-plate-wooden-table_114579-3288.jpg",
|
||||
},
|
||||
{
|
||||
title: "Global Flavors",
|
||||
description: "Experience diverse culinary traditions from around the world tailored to health.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cornflakes-morning-healthy-meal_23-2147693599.jpg",
|
||||
},
|
||||
{
|
||||
title: "Easy Prep",
|
||||
description: "Quick, delicious meals designed for busy lifestyles and high energy.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wrap-salad-roll_1339-4153.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<BenefitsSection />
|
||||
|
||||
<div id="recipes" data-section="recipes">
|
||||
<SectionErrorBoundary name="recipes">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Recipe Showcase"
|
||||
title="Healthy Global Favorites"
|
||||
description="From Mediterranean greens to vibrant Asian superfoods, explore recipes that nourish your body."
|
||||
items={[
|
||||
{
|
||||
title: "Quinoa Veggie Bowl",
|
||||
description: "A light and fiber-rich meal from Latin America.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-sliced-salad-different-vegetables_169016-2314.jpg",
|
||||
},
|
||||
{
|
||||
title: "Kiwi Green Smoothie",
|
||||
description: "The perfect fresh start to your morning.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fruit-salad-blue-bowl-wooden-table_123827-33992.jpg",
|
||||
},
|
||||
{
|
||||
title: "Grilled Salmon Plate",
|
||||
description: "Packed with Omega-3s and fresh garden veggies.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/grilled-salmon-steak_1339-5877.jpg",
|
||||
},
|
||||
{
|
||||
title: "Berry Superfood Oats",
|
||||
description: "Antioxidant-rich oats for a sustained energy release.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-cereals-fruits_23-2148103388.jpg",
|
||||
},
|
||||
{
|
||||
title: "Lentil Stuffed Peppers",
|
||||
description: "A high-protein, plant-based dinner staple.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/healthy-food-composition-with-colorful-salad_23-2147992899.jpg",
|
||||
},
|
||||
{
|
||||
title: "Zucchini Pesto Pasta",
|
||||
description: "Low-carb goodness with authentic Italian flavor.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegan-lunch-kids-pumpkin-risotto-with-lentils_53876-129284.jpg",
|
||||
},
|
||||
{
|
||||
title: "Healthy Global Fusion",
|
||||
description: "Diverse tastes for every palate.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-delicious-vegan-salad-bowl_181624-41074.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<RecipesSection />
|
||||
<AdvisoryBoardSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="The Impact"
|
||||
title="Making Global Wellness Easy"
|
||||
description="Our platform empowers people globally to make better food choices every day."
|
||||
metrics={[
|
||||
{
|
||||
icon: Users,
|
||||
title: "Active Users",
|
||||
value: "1.2M+",
|
||||
},
|
||||
{
|
||||
icon: Award,
|
||||
title: "Curated Recipes",
|
||||
value: "5,000+",
|
||||
},
|
||||
{
|
||||
icon: Globe,
|
||||
title: "Countries Served",
|
||||
value: "150+",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialOverlayCards
|
||||
tag="Community Voices"
|
||||
title="What Our Foodies Say"
|
||||
description="Hear from the community about how we've helped change their dietary habits."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Jenkins",
|
||||
role: "Graphic Designer",
|
||||
company: "Creative Hub",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sporty-woman-fitting-sport-wear-sunset-sports-ground-stretching-her-neck-before-after-workout_343596-7073.jpg",
|
||||
},
|
||||
{
|
||||
name: "David Thorne",
|
||||
role: "Software Engineer",
|
||||
company: "TechStream",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-sandwiches-with-sliced-tomatoes-healthy-life-writing-grey-background-snack-bun-burger-sandwich-bread_140725-85904.jpg",
|
||||
},
|
||||
{
|
||||
name: "Chloe Wong",
|
||||
role: "College Student",
|
||||
company: "University Life",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-sitting-beach_613910-806.jpg",
|
||||
},
|
||||
{
|
||||
name: "Robert Miller",
|
||||
role: "Senior Consultant",
|
||||
company: "Global Firm",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-healthy-life-written-notebook-red-cabbage-cauliflower-yellow-bell-pepper-green-tomato-bowls-white-wooden-surface_140725-63497.jpg",
|
||||
},
|
||||
{
|
||||
name: "Elise Moore",
|
||||
role: "Fitness Coach",
|
||||
company: "Vitality Gym",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828878.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="Help Center"
|
||||
title="Common Recipe Queries"
|
||||
description="Have questions about our nutrition standards or app usage?"
|
||||
categories={[
|
||||
{
|
||||
name: "General",
|
||||
items: [
|
||||
{
|
||||
question: "Are all recipes gluten-free?",
|
||||
answer: "Many are, and we provide clear dietary filters for all recipes.",
|
||||
},
|
||||
{
|
||||
question: "How do you calculate macros?",
|
||||
answer: "We use verified databases to track nutrition based on standard ingredient weight.",
|
||||
},
|
||||
{
|
||||
question: "Can I save my favorites?",
|
||||
answer: "Yes, simply log in to your account and save recipes to your digital cookbook.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Start Today"
|
||||
text="Ready to revolutionize your kitchen and your health?"
|
||||
primaryButton={{
|
||||
text: "Download NutriChef",
|
||||
href: "#",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Support",
|
||||
href: "#",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
86
src/pages/HomePage/sections/AdvisoryBoard.tsx
Normal file
86
src/pages/HomePage/sections/AdvisoryBoard.tsx
Normal file
@@ -0,0 +1,86 @@
|
||||
import { motion } from "motion/react";
|
||||
import Card from "@/components/ui/Card";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import SocialLinks from "@/components/ui/SocialLinks";
|
||||
import Tag from "@/components/ui/Tag";
|
||||
|
||||
export default function AdvisoryBoard() {
|
||||
const members = [
|
||||
{
|
||||
name: "Dr. Sarah Jenkins",
|
||||
role: "Lead Clinical Dietitian",
|
||||
description: "With over 15 years of experience in clinical nutrition, Dr. Jenkins ensures our recipes meet the highest standards for balanced diets.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&q=80&w=800",
|
||||
socialLinks: [
|
||||
{ icon: "Linkedin", href: "#" },
|
||||
{ icon: "Twitter", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Michael Chen, MS, RD",
|
||||
role: "Sports Nutritionist",
|
||||
description: "Michael specializes in performance nutrition, crafting meals that fuel active lifestyles and optimize recovery.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&q=80&w=800",
|
||||
socialLinks: [
|
||||
{ icon: "Linkedin", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Elena Rodriguez",
|
||||
role: "Holistic Health Coach",
|
||||
description: "Elena brings a holistic approach to our platform, focusing on whole foods and sustainable eating habits.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1594824436998-058a231d685b?auto=format&fit=crop&q=80&w=800",
|
||||
socialLinks: [
|
||||
{ icon: "Instagram", href: "#" },
|
||||
{ icon: "Twitter", href: "#" }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
<section className="relative w-full py-24 bg-background" data-webild-section="advisory-board">
|
||||
<div className="w-content-width mx-auto px-6">
|
||||
<div className="text-center mb-16 max-w-3xl mx-auto">
|
||||
<ScrollReveal variant="fade">
|
||||
<Tag text="Scientific Advisory" className="mb-4" />
|
||||
</ScrollReveal>
|
||||
<TextAnimation
|
||||
text="Meet Our Nutrition Experts"
|
||||
variant="fade-blur"
|
||||
tag="h2"
|
||||
gradientText={false}
|
||||
className="text-4xl md:text-5xl font-bold text-foreground mb-6"
|
||||
/>
|
||||
<ScrollReveal variant="fade" delay={0.1}>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
Every recipe is vetted by our board of certified nutritionists and dietitians to ensure you get the best health benefits.
|
||||
</p>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
|
||||
{members.map((member, index) => (
|
||||
<ScrollReveal variant="fade" key={index} delay={0.2 + index * 0.1}>
|
||||
<Card className="h-full flex flex-col overflow-hidden">
|
||||
<div className="aspect-[4/3] relative overflow-hidden">
|
||||
<ImageOrVideo
|
||||
imageSrc={member.imageSrc}
|
||||
className="w-full h-full object-cover transition-transform duration-500 hover:scale-105"
|
||||
/>
|
||||
</div>
|
||||
<div className="p-6 flex flex-col flex-grow">
|
||||
<h3 className="text-xl font-bold text-foreground mb-1">{member.name}</h3>
|
||||
<p className="text-sm text-primary-cta mb-4 font-medium">{member.role}</p>
|
||||
<p className="text-muted-foreground mb-6 flex-grow">{member.description}</p>
|
||||
<SocialLinks links={member.socialLinks} size="sm" />
|
||||
</div>
|
||||
</Card>
|
||||
</ScrollReveal>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
37
src/pages/HomePage/sections/Benefits.tsx
Normal file
37
src/pages/HomePage/sections/Benefits.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "benefits" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function BenefitsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="benefits" data-section="benefits">
|
||||
<SectionErrorBoundary name="benefits">
|
||||
<FeaturesRevealCards
|
||||
tag="Why Us"
|
||||
title="Nutrition Made Simple"
|
||||
description="We believe healthy food shouldn't be complicated. Our recipes are easy to follow and focus on high-impact nutrition."
|
||||
items={[
|
||||
{
|
||||
title: "Scientific Accuracy",
|
||||
description: "Every recipe is reviewed by certified nutritionists to ensure balanced macros.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/greek-caesar-salad-with-white-meat-lettuce-cherry-tomatoes-inside-white-plate-wooden-table_114579-3288.jpg",
|
||||
},
|
||||
{
|
||||
title: "Global Flavors",
|
||||
description: "Experience diverse culinary traditions from around the world tailored to health.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cornflakes-morning-healthy-meal_23-2147693599.jpg",
|
||||
},
|
||||
{
|
||||
title: "Easy Prep",
|
||||
description: "Quick, delicious meals designed for busy lifestyles and high energy.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/wrap-salad-roll_1339-4153.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="Start Today"
|
||||
text="Ready to revolutionize your kitchen and your health?"
|
||||
primaryButton={{
|
||||
text: "Download NutriChef",
|
||||
href: "#",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact Support",
|
||||
href: "#",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
39
src/pages/HomePage/sections/Faq.tsx
Normal file
39
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,39 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "faq" section.
|
||||
|
||||
import React from 'react';
|
||||
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="Help Center"
|
||||
title="Common Recipe Queries"
|
||||
description="Have questions about our nutrition standards or app usage?"
|
||||
categories={[
|
||||
{
|
||||
name: "General",
|
||||
items: [
|
||||
{
|
||||
question: "Are all recipes gluten-free?",
|
||||
answer: "Many are, and we provide clear dietary filters for all recipes.",
|
||||
},
|
||||
{
|
||||
question: "How do you calculate macros?",
|
||||
answer: "We use verified databases to track nutrition based on standard ingredient weight.",
|
||||
},
|
||||
{
|
||||
question: "Can I save my favorites?",
|
||||
answer: "Yes, simply log in to your account and save recipes to your digital cookbook.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
28
src/pages/HomePage/sections/Hero.tsx
Normal file
28
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboardBrand
|
||||
brand="Healthy Living in Every Bite"
|
||||
description="Discover the world's most nutritious recipes, curated for your wellbeing. Join our community of food lovers and transform your health today."
|
||||
primaryButton={{
|
||||
text: "Explore Recipes",
|
||||
href: "#recipes",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Learn More",
|
||||
href: "#benefits",
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/high-angle-colorful-vegetables-assortment-wooden-background_23-2148655358.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</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, Globe, Users } 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="The Impact"
|
||||
title="Making Global Wellness Easy"
|
||||
description="Our platform empowers people globally to make better food choices every day."
|
||||
metrics={[
|
||||
{
|
||||
icon: Users,
|
||||
title: "Active Users",
|
||||
value: "1.2M+",
|
||||
},
|
||||
{
|
||||
icon: Award,
|
||||
title: "Curated Recipes",
|
||||
value: "5,000+",
|
||||
},
|
||||
{
|
||||
icon: Globe,
|
||||
title: "Countries Served",
|
||||
value: "150+",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
64
src/pages/HomePage/sections/Recipes.tsx
Normal file
64
src/pages/HomePage/sections/Recipes.tsx
Normal file
@@ -0,0 +1,64 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "recipes" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function RecipesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="recipes" data-section="recipes">
|
||||
<SectionErrorBoundary name="recipes">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Recipe Showcase"
|
||||
title="Healthy Global Favorites"
|
||||
description="From Mediterranean greens to vibrant Asian superfoods, explore recipes that nourish your body."
|
||||
items={[
|
||||
{
|
||||
title: "Quinoa Veggie Bowl",
|
||||
description: "A light and fiber-rich meal from Latin America.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-sliced-salad-different-vegetables_169016-2314.jpg",
|
||||
},
|
||||
{
|
||||
title: "Kiwi Green Smoothie",
|
||||
description: "The perfect fresh start to your morning.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fruit-salad-blue-bowl-wooden-table_123827-33992.jpg",
|
||||
},
|
||||
{
|
||||
title: "Grilled Salmon Plate",
|
||||
description: "Packed with Omega-3s and fresh garden veggies.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/grilled-salmon-steak_1339-5877.jpg",
|
||||
},
|
||||
{
|
||||
title: "Berry Superfood Oats",
|
||||
description: "Antioxidant-rich oats for a sustained energy release.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-cereals-fruits_23-2148103388.jpg",
|
||||
},
|
||||
{
|
||||
title: "Lentil Stuffed Peppers",
|
||||
description: "A high-protein, plant-based dinner staple.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/healthy-food-composition-with-colorful-salad_23-2147992899.jpg",
|
||||
},
|
||||
{
|
||||
title: "Zucchini Pesto Pasta",
|
||||
description: "Low-carb goodness with authentic Italian flavor.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vegan-lunch-kids-pumpkin-risotto-with-lentils_53876-129284.jpg",
|
||||
},
|
||||
{
|
||||
title: "Healthy Global Fusion",
|
||||
description: "Diverse tastes for every palate.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-delicious-vegan-salad-bowl_181624-41074.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
57
src/pages/HomePage/sections/Testimonials.tsx
Normal file
57
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,57 @@
|
||||
// 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 TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialOverlayCards
|
||||
tag="Community Voices"
|
||||
title="What Our Foodies Say"
|
||||
description="Hear from the community about how we've helped change their dietary habits."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Jenkins",
|
||||
role: "Graphic Designer",
|
||||
company: "Creative Hub",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sporty-woman-fitting-sport-wear-sunset-sports-ground-stretching-her-neck-before-after-workout_343596-7073.jpg",
|
||||
},
|
||||
{
|
||||
name: "David Thorne",
|
||||
role: "Software Engineer",
|
||||
company: "TechStream",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-sandwiches-with-sliced-tomatoes-healthy-life-writing-grey-background-snack-bun-burger-sandwich-bread_140725-85904.jpg",
|
||||
},
|
||||
{
|
||||
name: "Chloe Wong",
|
||||
role: "College Student",
|
||||
company: "University Life",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-sitting-beach_613910-806.jpg",
|
||||
},
|
||||
{
|
||||
name: "Robert Miller",
|
||||
role: "Senior Consultant",
|
||||
company: "Global Firm",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-healthy-life-written-notebook-red-cabbage-cauliflower-yellow-bell-pepper-green-tomato-bowls-white-wooden-surface_140725-63497.jpg",
|
||||
},
|
||||
{
|
||||
name: "Elise Moore",
|
||||
role: "Fitness Coach",
|
||||
company: "Vitality Gym",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828878.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user