Compare commits
12 Commits
version_1
...
version_10
| Author | SHA1 | Date | |
|---|---|---|---|
| b502d27900 | |||
| 856689165e | |||
| c581de4a92 | |||
| c6e4e14a99 | |||
| f6568e4eaa | |||
| ca37755b11 | |||
| d63729ba41 | |||
| e9ac97a0af | |||
| d643c0029d | |||
| 5a850fba83 | |||
| 2eae5036a4 | |||
| b38034aced |
180
src/app/page.tsx
180
src/app/page.tsx
@@ -9,7 +9,6 @@ import HeroCentered from '@/components/sections/hero/HeroCentered';
|
|||||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||||
import TextAbout from '@/components/sections/about/TextAbout';
|
|
||||||
import { Award, Clock, Leaf, Sparkles, Wheat } from "lucide-react";
|
import { Award, Clock, Leaf, Sparkles, Wheat } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
@@ -31,21 +30,13 @@ export default function LandingPage() {
|
|||||||
<NavbarStyleCentered
|
<NavbarStyleCentered
|
||||||
navItems={[
|
navItems={[
|
||||||
{
|
{
|
||||||
name: "Home",
|
name: "Home", id: "hero"},
|
||||||
id: "hero",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "About",
|
name: "About", id: "about"},
|
||||||
id: "about",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Products",
|
name: "Products", id: "products"},
|
||||||
id: "products",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Contact",
|
name: "Contact", id: "contact"},
|
||||||
id: "contact",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
brandName="Golden Grain Bakery"
|
brandName="Golden Grain Bakery"
|
||||||
/>
|
/>
|
||||||
@@ -54,70 +45,42 @@ export default function LandingPage() {
|
|||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroCentered
|
<HeroCentered
|
||||||
background={{
|
background={{
|
||||||
variant: "plain",
|
variant: "plain"}}
|
||||||
}}
|
title="123"
|
||||||
title="Artisanal Breads & Pastries"
|
|
||||||
description="Baked fresh every morning with love, locally sourced ingredients, and generations of baking tradition."
|
description="Baked fresh every morning with love, locally sourced ingredients, and generations of baking tradition."
|
||||||
avatars={[
|
avatars={[
|
||||||
{
|
{
|
||||||
src: "https://pixabay.com/get/gb9221640f9242c2aed4f01cf5f8634fdedb97c1dc67b1824fba5b6045b0fffd777de388118029ad078525014658271a82082c6f064775f8246a231bf8ae5a464_1280.jpg",
|
src: "https://pixabay.com/get/gb9221640f9242c2aed4f01cf5f8634fdedb97c1dc67b1824fba5b6045b0fffd777de388118029ad078525014658271a82082c6f064775f8246a231bf8ae5a464_1280.jpg", alt: "Customer"},
|
||||||
alt: "Customer",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
src: "https://pixabay.com/get/g240c8ef0a48ac42ab2a98ad1517d1371d5b80a4307321059de282961c58a9a745eb6d4a476f12f7a1cbb22400b7b8c528af8c902767906b4a160124ba5950db5_1280.jpg",
|
src: "https://pixabay.com/get/g240c8ef0a48ac42ab2a98ad1517d1371d5b80a4307321059de282961c58a9a745eb6d4a476f12f7a1cbb22400b7b8c528af8c902767906b4a160124ba5950db5_1280.jpg", alt: "Customer"},
|
||||||
alt: "Customer",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
src: "https://pixabay.com/get/g9265d8a285bc37340e8da3fab34023821a10273a3907545aa131631934b3301c8a69618874383f291e388887d28600c31be9650600e4d82a2898318e66d217de_1280.jpg",
|
src: "https://pixabay.com/get/g9265d8a285bc37340e8da3fab34023821a10273a3907545aa131631934b3301c8a69618874383f291e388887d28600c31be9650600e4d82a2898318e66d217de_1280.jpg", alt: "Customer"},
|
||||||
alt: "Customer",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
src: "https://pixabay.com/get/ga08effa122561ca45693d834c60ecccfd462266ca504c166911776083ee54b4e77d54a754395cd882e3f0a5f4944bf164cb901cd5c70b16910660b4a836abb82_1280.jpg",
|
src: "https://pixabay.com/get/ga08effa122561ca45693d834c60ecccfd462266ca504c166911776083ee54b4e77d54a754395cd882e3f0a5f4944bf164cb901cd5c70b16910660b4a836abb82_1280.jpg", alt: "Customer"},
|
||||||
alt: "Customer",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
src: "https://pixabay.com/get/ga0a992742500f14377995b0747142003e6ab067a64201bb798c09a2b83cdc0558f8616f474e1280ff92e9c87e694324d68dc3aa3512cacfdf450f4fa91990f9f_1280.jpg",
|
src: "https://pixabay.com/get/ga0a992742500f14377995b0747142003e6ab067a64201bb798c09a2b83cdc0558f8616f474e1280ff92e9c87e694324d68dc3aa3512cacfdf450f4fa91990f9f_1280.jpg", alt: "Customer"},
|
||||||
alt: "Customer",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
avatarText="Loved by 1000+ local bread lovers"
|
avatarText="Loved by 1000+ local bread lovers"
|
||||||
marqueeItems={[
|
marqueeItems={[
|
||||||
{
|
{
|
||||||
type: "text-icon",
|
type: "text-icon", text: "Organic Ingredients", icon: Leaf,
|
||||||
text: "Organic Ingredients",
|
|
||||||
icon: Leaf,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "text-icon",
|
type: "text-icon", text: "Stone-Ground Flour", icon: Wheat,
|
||||||
text: "Stone-Ground Flour",
|
|
||||||
icon: Wheat,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "text-icon",
|
type: "text-icon", text: "Small Batch Bakes", icon: Award,
|
||||||
text: "Small Batch Bakes",
|
|
||||||
icon: Award,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "text-icon",
|
type: "text-icon", text: "Traditional Sourdough", icon: Sparkles,
|
||||||
text: "Traditional Sourdough",
|
|
||||||
icon: Sparkles,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "text-icon",
|
type: "text-icon", text: "Fresh Daily", icon: Clock,
|
||||||
text: "Fresh Daily",
|
|
||||||
icon: Clock,
|
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="about" data-section="about">
|
|
||||||
<TextAbout
|
|
||||||
useInvertedBackground={false}
|
|
||||||
tag="Our Story"
|
|
||||||
title="Crafted with Passion"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="products" data-section="products">
|
<div id="products" data-section="products">
|
||||||
<ProductCardThree
|
<ProductCardThree
|
||||||
@@ -127,41 +90,17 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "p1",
|
id: "p1", name: "Sourdough Loaf", price: "$8.00", imageSrc: "https://pixabay.com/get/gf836a3fdc0d28d9b2301419dcedbbd75ef3ea95137d6ec907ed91689832a6561e3ab4b73011f55586980947ccb5cac6e7f7913cda0c2172ed89800be673a092f_1280.jpg"},
|
||||||
name: "Sourdough Loaf",
|
|
||||||
price: "$8.00",
|
|
||||||
imageSrc: "https://pixabay.com/get/gf836a3fdc0d28d9b2301419dcedbbd75ef3ea95137d6ec907ed91689832a6561e3ab4b73011f55586980947ccb5cac6e7f7913cda0c2172ed89800be673a092f_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "p2",
|
id: "p2", name: "Butter Croissant", price: "$4.50", imageSrc: "https://pixabay.com/get/ge3c2826cce4e3cc694a0a25d2717ca20880fc7fd9a8376356d6b504ff194a0df6f5eb1285be8a11ebcab6a6faf1faca2_1280.jpg"},
|
||||||
name: "Butter Croissant",
|
|
||||||
price: "$4.50",
|
|
||||||
imageSrc: "https://pixabay.com/get/ge3c2826cce4e3cc694a0a25d2717ca20880fc7fd9a8376356d6b504ff194a0df6f5eb1285be8a11ebcab6a6faf1faca2_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "p3",
|
id: "p3", name: "Cinnamon Roll", price: "$5.00", imageSrc: "https://pixabay.com/get/g27cb2bc805abdb22786c43e4efec101a8ea4fe5e978ee741f9e405bfb9191a7fb57087c1eddc180acdefd0a607593363bcbcfcc0d6b721327d9650b462e52f1f_1280.jpg"},
|
||||||
name: "Cinnamon Roll",
|
|
||||||
price: "$5.00",
|
|
||||||
imageSrc: "https://pixabay.com/get/g27cb2bc805abdb22786c43e4efec101a8ea4fe5e978ee741f9e405bfb9191a7fb57087c1eddc180acdefd0a607593363bcbcfcc0d6b721327d9650b462e52f1f_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "p4",
|
id: "p4", name: "Chocolate Muffin", price: "$3.50", imageSrc: "https://pixabay.com/get/g39be45e1ecde16377a330be7c004292fb6e104e641702e37d7f530fe3f81c6fa5f2d0bc5e938b280f7bc288a8cb4267f6dea59bbe72e63731b5bb509683e671c_1280.jpg"},
|
||||||
name: "Chocolate Muffin",
|
|
||||||
price: "$3.50",
|
|
||||||
imageSrc: "https://pixabay.com/get/g39be45e1ecde16377a330be7c004292fb6e104e641702e37d7f530fe3f81c6fa5f2d0bc5e938b280f7bc288a8cb4267f6dea59bbe72e63731b5bb509683e671c_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "p5",
|
id: "p5", name: "French Baguette", price: "$6.00", imageSrc: "https://pixabay.com/get/g3261c4246c3b9e88b16473f06c272b3da2f12dc21d93888659b6120975b2f448d3fef81a3fe67d52ec6f14699ef85e72ecbf147b65ac273fb2fa5e2fc5783515_1280.jpg"},
|
||||||
name: "French Baguette",
|
|
||||||
price: "$6.00",
|
|
||||||
imageSrc: "https://pixabay.com/get/g3261c4246c3b9e88b16473f06c272b3da2f12dc21d93888659b6120975b2f448d3fef81a3fe67d52ec6f14699ef85e72ecbf147b65ac273fb2fa5e2fc5783515_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "p6",
|
id: "p6", name: "Mixed Berry Tart", price: "$7.50", imageSrc: "https://pixabay.com/get/g05a8dbdcd0352aa904acde73b6d5f02b5541d61912d7b019901c05564d55b9bd1ad4f8a7e87014623743712fc2903888059e4e5414ad3a2eda754a4e1444ed8c_1280.jpg"},
|
||||||
name: "Mixed Berry Tart",
|
|
||||||
price: "$7.50",
|
|
||||||
imageSrc: "https://pixabay.com/get/g05a8dbdcd0352aa904acde73b6d5f02b5541d61912d7b019901c05564d55b9bd1ad4f8a7e87014623743712fc2903888059e4e5414ad3a2eda754a4e1444ed8c_1280.jpg",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Our Daily Bakes"
|
title="Our Daily Bakes"
|
||||||
description="Discover our selection of handcrafted breads, pastries, and treats."
|
description="Discover our selection of handcrafted breads, pastries, and treats."
|
||||||
@@ -175,40 +114,15 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
testimonials={[
|
testimonials={[
|
||||||
{
|
{
|
||||||
id: "t1",
|
id: "t1", name: "Sarah Miller", handle: "@sarahm", testimonial: "The best sourdough in town. Always fresh and perfect crust!", imageSrc: "https://pixabay.com/get/gb9221640f9242c2aed4f01cf5f8634fdedb97c1dc67b1824fba5b6045b0fffd777de388118029ad078525014658271a82082c6f064775f8246a231bf8ae5a464_1280.jpg"},
|
||||||
name: "Sarah Miller",
|
|
||||||
handle: "@sarahm",
|
|
||||||
testimonial: "The best sourdough in town. Always fresh and perfect crust!",
|
|
||||||
imageSrc: "https://pixabay.com/get/gb9221640f9242c2aed4f01cf5f8634fdedb97c1dc67b1824fba5b6045b0fffd777de388118029ad078525014658271a82082c6f064775f8246a231bf8ae5a464_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "t2",
|
id: "t2", name: "James Chen", handle: "@jchen", testimonial: "Their croissants are absolutely life-changing. A daily morning treat.", imageSrc: "https://pixabay.com/get/g240c8ef0a48ac42ab2a98ad1517d1371d5b80a4307321059de282961c58a9a745eb6d4a476f12f7a1cbb22400b7b8c528af8c902767906b4a160124ba5950db5_1280.jpg"},
|
||||||
name: "James Chen",
|
|
||||||
handle: "@jchen",
|
|
||||||
testimonial: "Their croissants are absolutely life-changing. A daily morning treat.",
|
|
||||||
imageSrc: "https://pixabay.com/get/g240c8ef0a48ac42ab2a98ad1517d1371d5b80a4307321059de282961c58a9a745eb6d4a476f12f7a1cbb22400b7b8c528af8c902767906b4a160124ba5950db5_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "t3",
|
id: "t3", name: "Elena Rodriguez", handle: "@elenar", testimonial: "I love the warm atmosphere and the friendly staff. Highly recommend.", imageSrc: "https://pixabay.com/get/g9265d8a285bc37340e8da3fab34023821a10273a3907545aa131631934b3301c8a69618874383f291e388887d28600c31be9650600e4d82a2898318e66d217de_1280.jpg"},
|
||||||
name: "Elena Rodriguez",
|
|
||||||
handle: "@elenar",
|
|
||||||
testimonial: "I love the warm atmosphere and the friendly staff. Highly recommend.",
|
|
||||||
imageSrc: "https://pixabay.com/get/g9265d8a285bc37340e8da3fab34023821a10273a3907545aa131631934b3301c8a69618874383f291e388887d28600c31be9650600e4d82a2898318e66d217de_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "t4",
|
id: "t4", name: "Mark Johnson", handle: "@mjohn", testimonial: "The berry tarts are stunning and delicious. Perfect for weekend gatherings.", imageSrc: "https://pixabay.com/get/ga08effa122561ca45693d834c60ecccfd462266ca504c166911776083ee54b4e77d54a754395cd882e3f0a5f4944bf164cb901cd5c70b16910660b4a836abb82_1280.jpg"},
|
||||||
name: "Mark Johnson",
|
|
||||||
handle: "@mjohn",
|
|
||||||
testimonial: "The berry tarts are stunning and delicious. Perfect for weekend gatherings.",
|
|
||||||
imageSrc: "https://pixabay.com/get/ga08effa122561ca45693d834c60ecccfd462266ca504c166911776083ee54b4e77d54a754395cd882e3f0a5f4944bf164cb901cd5c70b16910660b4a836abb82_1280.jpg",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "t5",
|
id: "t5", name: "Chloe Smith", handle: "@chloes", testimonial: "Everything they make feels so authentic and artisanal. Truly great quality.", imageSrc: "https://pixabay.com/get/ga0a992742500f14377995b0747142003e6ab067a64201bb798c09a2b83cdc0558f8616f474e1280ff92e9c87e694324d68dc3aa3512cacfdf450f4fa91990f9f_1280.jpg"},
|
||||||
name: "Chloe Smith",
|
|
||||||
handle: "@chloes",
|
|
||||||
testimonial: "Everything they make feels so authentic and artisanal. Truly great quality.",
|
|
||||||
imageSrc: "https://pixabay.com/get/ga0a992742500f14377995b0747142003e6ab067a64201bb798c09a2b83cdc0558f8616f474e1280ff92e9c87e694324d68dc3aa3512cacfdf450f4fa91990f9f_1280.jpg",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Words From Our Community"
|
title="Words From Our Community"
|
||||||
description="Hear what our amazing local customers have to say about their bakery favorites."
|
description="Hear what our amazing local customers have to say about their bakery favorites."
|
||||||
@@ -221,20 +135,11 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
faqs={[
|
faqs={[
|
||||||
{
|
{
|
||||||
id: "q1",
|
id: "q1", title: "Do you offer gluten-free bread?", content: "We do have specific days for gluten-free options. Please check our weekly schedule."},
|
||||||
title: "Do you offer gluten-free bread?",
|
|
||||||
content: "We do have specific days for gluten-free options. Please check our weekly schedule.",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "q2",
|
id: "q2", title: "Are all your ingredients organic?", content: "We prioritize organic and locally sourced ingredients whenever possible."},
|
||||||
title: "Are all your ingredients organic?",
|
|
||||||
content: "We prioritize organic and locally sourced ingredients whenever possible.",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "q3",
|
id: "q3", title: "Do you take large orders for events?", content: "Yes, we handle event catering and large orders with advance notice."},
|
||||||
title: "Do you take large orders for events?",
|
|
||||||
content: "Yes, we handle event catering and large orders with advance notice.",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
title="Common Questions"
|
title="Common Questions"
|
||||||
description="Have questions about our baking process or availability?"
|
description="Have questions about our baking process or availability?"
|
||||||
@@ -246,8 +151,7 @@ export default function LandingPage() {
|
|||||||
<ContactText
|
<ContactText
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
background={{
|
background={{
|
||||||
variant: "plain",
|
variant: "plain"}}
|
||||||
}}
|
|
||||||
text="Visit us for a fresh loaf today!"
|
text="Visit us for a fresh loaf today!"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -258,29 +162,19 @@ export default function LandingPage() {
|
|||||||
{
|
{
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: "About Us",
|
label: "About Us", href: "#about"},
|
||||||
href: "#about",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Products",
|
label: "Products", href: "#products"},
|
||||||
href: "#products",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Contact",
|
label: "Contact", href: "#contact"},
|
||||||
href: "#contact",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: "Privacy Policy",
|
label: "Privacy Policy", href: "#"},
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Terms of Service",
|
label: "Terms of Service", href: "#"},
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
@@ -290,4 +184,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #f5f4ef;
|
--background: #0a0a0a;
|
||||||
--card: #dad6cd;
|
--card: #1a1a1a;
|
||||||
--foreground: #2a2928;
|
--foreground: #ffffffe6;
|
||||||
--primary-cta: #2a2928;
|
--primary-cta: #e6e6e6;
|
||||||
--primary-cta-text: #f5f4ef;
|
--primary-cta-text: #f5f4ef;
|
||||||
--secondary-cta: #ecebea;
|
--secondary-cta: #1a1a1a;
|
||||||
--secondary-cta-text: #2a2928;
|
--secondary-cta-text: #2a2928;
|
||||||
--accent: #ffffff;
|
--accent: #737373;
|
||||||
--background-accent: #c6b180;
|
--background-accent: #737373;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user