Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7379a18dbb | |||
| 2634a1c5a5 | |||
| 8e0352995b |
206
src/app/page.tsx
206
src/app/page.tsx
@@ -5,7 +5,7 @@ import ReactLenis from "lenis/react";
|
|||||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||||
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
|
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
import HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||||
@@ -28,37 +28,21 @@ export default function LandingPage() {
|
|||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingInline
|
<NavbarLayoutFloatingInline
|
||||||
navItems={[
|
navItems={[
|
||||||
{
|
{ name: "Features", id: "#features" },
|
||||||
name: "Features",
|
{ name: "How It Works", id: "#how-it-works" },
|
||||||
id: "#features",
|
{ name: "Reviews", id: "#testimonials" },
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "How It Works",
|
|
||||||
id: "#how-it-works",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Reviews",
|
|
||||||
id: "#testimonials",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
brandName="EatThisFridge"
|
brandName="EatThisFridge"
|
||||||
button={{
|
button={{ text: "Start Cooking", href: "#generator" }}
|
||||||
text: "Start Cooking",
|
|
||||||
href: "#generator",
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroOverlay
|
<HeroSplit
|
||||||
title="Turn Your Fridge Into a Menu"
|
title="Turn Your Fridge Into a Menu"
|
||||||
description="Simply type in the ingredients you have, and get 5 delicious, healthy recipes you can cook right now. No more food waste, just great meals."
|
description="Simply type in the ingredients you have, and get 5 delicious, healthy recipes you can cook right now. No more food waste, just great meals."
|
||||||
buttons={[
|
background={{ variant: "plain" }}
|
||||||
{
|
buttons={[{ text: "Get Recipes Now", href: "#generator" }]}
|
||||||
text: "Get Recipes Now",
|
|
||||||
href: "#generator",
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-futuristic-dark-themed-kitchen-interfa-1774875216089-467a8473.png?_wi=1"
|
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-futuristic-dark-themed-kitchen-interfa-1774875216089-467a8473.png?_wi=1"
|
||||||
imageAlt="Smart fridge interface"
|
imageAlt="Smart fridge interface"
|
||||||
/>
|
/>
|
||||||
@@ -70,36 +54,9 @@ export default function LandingPage() {
|
|||||||
textboxLayout="split"
|
textboxLayout="split"
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
features={[
|
features={[
|
||||||
{
|
{ id: "1", label: "Fast", title: "Instant Results", items: ["Type in seconds", "Get 5 unique recipes", "Save time and money"] },
|
||||||
id: "1",
|
{ id: "2", label: "Smart", title: "AI Powered", items: ["Ingredient matching", "Balanced nutritional values", "Seasonal suggestions"] },
|
||||||
label: "Fast",
|
{ id: "3", label: "Easy", title: "Beginner Friendly", items: ["Step-by-step guidance", "Minimal tools needed", "Clear instructions"] },
|
||||||
title: "Instant Results",
|
|
||||||
items: [
|
|
||||||
"Type in seconds",
|
|
||||||
"Get 5 unique recipes",
|
|
||||||
"Save time and money",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "2",
|
|
||||||
label: "Smart",
|
|
||||||
title: "AI Powered",
|
|
||||||
items: [
|
|
||||||
"Ingredient matching",
|
|
||||||
"Balanced nutritional values",
|
|
||||||
"Seasonal suggestions",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3",
|
|
||||||
label: "Easy",
|
|
||||||
title: "Beginner Friendly",
|
|
||||||
items: [
|
|
||||||
"Step-by-step guidance",
|
|
||||||
"Minimal tools needed",
|
|
||||||
"Clear instructions",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Why EatThisFridge?"
|
title="Why EatThisFridge?"
|
||||||
description="We make cooking accessible and sustainable by bridging the gap between your pantry and your plate."
|
description="We make cooking accessible and sustainable by bridging the gap between your pantry and your plate."
|
||||||
@@ -113,27 +70,9 @@ export default function LandingPage() {
|
|||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
products={[
|
products={[
|
||||||
{
|
{ id: "p1", name: "Fresh Garden Pasta", price: "15 mins", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=1", imageAlt: "Garden Pasta" },
|
||||||
id: "p1",
|
{ id: "p2", name: "Avocado Toast Bliss", price: "5 mins", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=2", imageAlt: "Avocado Toast" },
|
||||||
name: "Fresh Garden Pasta",
|
{ id: "p3", name: "Hearty Vegetable Stew", price: "30 mins", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=3", imageAlt: "Vegetable Stew" },
|
||||||
price: "15 mins",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=1",
|
|
||||||
imageAlt: "Garden Pasta",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p2",
|
|
||||||
name: "Avocado Toast Bliss",
|
|
||||||
price: "5 mins",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=2",
|
|
||||||
imageAlt: "Avocado Toast",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "p3",
|
|
||||||
name: "Hearty Vegetable Stew",
|
|
||||||
price: "30 mins",
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/a-delicious-gourmet-pasta-recipe-on-a-cl-1774875217876-7547d452.png?_wi=3",
|
|
||||||
imageAlt: "Vegetable Stew",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Recipe Showcase"
|
title="Recipe Showcase"
|
||||||
description="Check out some of the mouth-watering recipes our users are creating everyday from common kitchen items."
|
description="Check out some of the mouth-watering recipes our users are creating everyday from common kitchen items."
|
||||||
@@ -147,46 +86,11 @@ export default function LandingPage() {
|
|||||||
gridVariant="four-items-2x2-equal-grid"
|
gridVariant="four-items-2x2-equal-grid"
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
testimonials={[
|
testimonials={[
|
||||||
{
|
{ id: "t1", name: "Alex P.", role: "Foodie", company: "Home Cook", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=1" },
|
||||||
id: "t1",
|
{ id: "t2", name: "Sam K.", role: "Busy Parent", company: "Home Cook", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=2" },
|
||||||
name: "Alex P.",
|
{ id: "t3", name: "Jordan D.", role: "Student", company: "Home Cook", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=3" },
|
||||||
role: "Foodie",
|
{ id: "t4", name: "Taylor R.", role: "Pro Chef", company: "Home Cook", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=4" },
|
||||||
company: "Home Cook",
|
{ id: "t5", name: "Morgan W.", role: "Dietitian", company: "Home Cook", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=5" },
|
||||||
rating: 5,
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=1",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t2",
|
|
||||||
name: "Sam K.",
|
|
||||||
role: "Busy Parent",
|
|
||||||
company: "Home Cook",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=2",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t3",
|
|
||||||
name: "Jordan D.",
|
|
||||||
role: "Student",
|
|
||||||
company: "Home Cook",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=3",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t4",
|
|
||||||
name: "Taylor R.",
|
|
||||||
role: "Pro Chef",
|
|
||||||
company: "Home Cook",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=4",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "t5",
|
|
||||||
name: "Morgan W.",
|
|
||||||
role: "Dietitian",
|
|
||||||
company: "Home Cook",
|
|
||||||
rating: 5,
|
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BfLPV4xhlr4f6vDMdFvKbBKyxd/portrait-of-a-happy-home-cook-using-a-mo-1774875217931-9faddbef.png?_wi=5",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Loved by Home Cooks"
|
title="Loved by Home Cooks"
|
||||||
description="See why food lovers are making EatThisFridge their go-to kitchen companion."
|
description="See why food lovers are making EatThisFridge their go-to kitchen companion."
|
||||||
@@ -204,31 +108,11 @@ export default function LandingPage() {
|
|||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
faqsAnimation="slide-up"
|
faqsAnimation="slide-up"
|
||||||
faqs={[
|
faqs={[
|
||||||
{
|
{ id: "f1", title: "How does it work?", content: "Our AI analyzes your ingredients and matches them to thousands of curated recipes." },
|
||||||
id: "f1",
|
{ id: "f2", title: "Is it free?", content: "Yes, basic recipe generation is free for everyone." },
|
||||||
title: "How does it work?",
|
{ id: "f3", title: "Can I save my favorites?", content: "Registered users can save their favorite recipes for later." },
|
||||||
content: "Our AI analyzes your ingredients and matches them to thousands of curated recipes.",
|
{ id: "f4", title: "Does it work offline?", content: "An internet connection is required to fetch new recipes." },
|
||||||
},
|
{ id: "f5", title: "Are recipes healthy?", content: "We prioritize nutritional balance in all our generated suggestions." },
|
||||||
{
|
|
||||||
id: "f2",
|
|
||||||
title: "Is it free?",
|
|
||||||
content: "Yes, basic recipe generation is free for everyone.",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "f3",
|
|
||||||
title: "Can I save my favorites?",
|
|
||||||
content: "Registered users can save their favorite recipes for later.",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "f4",
|
|
||||||
title: "Does it work offline?",
|
|
||||||
content: "An internet connection is required to fetch new recipes.",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "f5",
|
|
||||||
title: "Are recipes healthy?",
|
|
||||||
content: "We prioritize nutritional balance in all our generated suggestions.",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -236,45 +120,9 @@ export default function LandingPage() {
|
|||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterSimple
|
<FooterSimple
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{ title: "Company", items: [{ label: "About", href: "#" }, { label: "Careers", href: "#" }] },
|
||||||
title: "Company",
|
{ title: "Resources", items: [{ label: "Blog", href: "#" }, { label: "Support", href: "#" }] },
|
||||||
items: [
|
{ title: "Legal", items: [{ label: "Privacy", href: "#" }, { label: "Terms", href: "#" }] },
|
||||||
{
|
|
||||||
label: "About",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Careers",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Resources",
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "Blog",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Support",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Legal",
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "Privacy",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Terms",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
bottomLeftText="© 2024 EatThisFridge"
|
bottomLeftText="© 2024 EatThisFridge"
|
||||||
bottomRightText="Built to reduce waste."
|
bottomRightText="Built to reduce waste."
|
||||||
|
|||||||
Reference in New Issue
Block a user