Merge version_2 into main #2
371
src/app/page.tsx
371
src/app/page.tsx
@@ -2,14 +2,14 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
|
||||
import TextAbout from '@/components/sections/about/TextAbout';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -26,277 +26,104 @@ export default function LandingPage() {
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "menu",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
]}
|
||||
brandName="American Flatbread"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
brandName="A Taste of Worcester"
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroOverlay
|
||||
title="Wood-Fired Goodness in Worcester"
|
||||
description="Experience organic, artisanal flatbreads handcrafted and baked in our traditional wood-fired ovens. Serving our community with passion and locally sourced ingredients."
|
||||
buttons={[
|
||||
{
|
||||
text: "View Our Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
{
|
||||
text: "Order Online",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/greenies-qutab-greens-herbs-dough-cook-brown-wood-rustic-desk_140725-14966.jpg"
|
||||
imageAlt="Artisanal flatbread pizza from our wood-fired oven"
|
||||
showBlur={true}
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/merry-young-adult-enjoying-christmas-conversation-video-call-room-decorated-festivity-celebration-talking-woman-preparing-drink-wine-kitchen-with-joyful-ornaments_482257-28400.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3547.jpg",
|
||||
alt: "Satisfied diner",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/handsome-young-man-surrounded-by-peanut-butter-jellly-sandwiches_273609-36460.jpg",
|
||||
alt: "Community member",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/charming-lady-red-stylish-beret-smiling-sitting-sofa-wonderful-young-woman-with-dark-hair-beige-coat-posing_197531-27623.jpg",
|
||||
alt: "Returning guest",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/cropped-image-pretty-young-teenage-girl-with-dark-skin-crisp-hair-keeps-hand-chin-dressed-casual-clothes-poses-against-cafe-interior-meets-with-best-friend-has-spare-time-weekend_273609-29076.jpg",
|
||||
alt: "Pizza enthusiast",
|
||||
},
|
||||
]}
|
||||
avatarText="Join our community of pizza lovers"
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitDualMedia
|
||||
title="A Taste of Worcester"
|
||||
description="Authentic, wood-fired artisanal flatbreads made with locally sourced, organic ingredients."
|
||||
tag="Welcome to our kitchen"
|
||||
rating={5}
|
||||
ratingText="Rated 5 stars by our local community"
|
||||
mediaItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/greenies-qutab-greens-herbs-dough-cook-brown-wood-rustic-desk_140725-14966.jpg", imageAlt: "Fresh flatbread preparation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/cutter-near-pizza_23-2147772074.jpg", imageAlt: "Wood-fired oven" }
|
||||
]}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<MediaAbout
|
||||
useInvertedBackground={true}
|
||||
title="Baked with Passion & Integrity"
|
||||
description="At American Flatbread Worcester, we believe that food should be simple, real, and connect us to our community. Our flatbreads start with organic, stone-ground flour and are baked to perfection in wood-fired ovens built by hand. We partner with local farmers to ensure every bite supports the land and the people who nurture it."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/cutter-near-pizza_23-2147772074.jpg"
|
||||
imageAlt="Our traditional wood-fired oven"
|
||||
/>
|
||||
</div>
|
||||
<div id="about" data-section="about">
|
||||
<TextAbout
|
||||
title="Rooted in Our Community"
|
||||
tag="About Us"
|
||||
useInvertedBackground={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="split-description"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Revolution",
|
||||
price: "$18",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=1",
|
||||
imageAlt: "Revolution Flatbread",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Medicine Wheel",
|
||||
price: "$19",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=2",
|
||||
imageAlt: "Medicine Wheel Flatbread",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Homemade Sausage",
|
||||
price: "$20",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=3",
|
||||
imageAlt: "Sausage Flatbread",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "New York Plain",
|
||||
price: "$16",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=4",
|
||||
imageAlt: "New York Plain",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Spinach & Mushroom",
|
||||
price: "$19",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=5",
|
||||
imageAlt: "Spinach Flatbread",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Roasted Peppers",
|
||||
price: "$18",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=6",
|
||||
imageAlt: "Roasted Pepper Flatbread",
|
||||
},
|
||||
]}
|
||||
title="Our Signature Flatbreads"
|
||||
description="Explore our menu of seasonal favorites and classic creations, all fired up in our open hearth."
|
||||
/>
|
||||
</div>
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardThree
|
||||
title="Our Signature Flatbreads"
|
||||
description="Freshly baked and seasonal selections."
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
textboxLayout="split-description"
|
||||
products={[
|
||||
{ id: "p1", name: "Revolution", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=1" },
|
||||
{ id: "p2", name: "Medicine Wheel", price: "$19", imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=2" },
|
||||
{ id: "p3", name: "Homemade Sausage", price: "$20", imageSrc: "http://img.b2bpic.net/free-photo/tasty-pizza-table_23-2148570393.jpg?_wi=3" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTwo
|
||||
animationType="slide-up"
|
||||
textboxLayout="split-description"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Alex R.",
|
||||
role: "Local Resident",
|
||||
testimonial: "The best crust I've ever had. You can taste the wood-fired love in every bite.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/merry-young-adult-enjoying-christmas-conversation-video-call-room-decorated-festivity-celebration-talking-woman-preparing-drink-wine-kitchen-with-joyful-ornaments_482257-28400.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Sarah M.",
|
||||
role: "Foodie",
|
||||
testimonial: "Authentic, fresh, and consistently delicious. A Worcester staple!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3547.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "James L.",
|
||||
role: "Frequent Diner",
|
||||
testimonial: "The atmosphere is always welcoming, and the service is genuine.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-surrounded-by-peanut-butter-jellly-sandwiches_273609-36460.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Emily K.",
|
||||
role: "Vegetarian",
|
||||
testimonial: "The veggie options are incredible. Fresh, locally sourced ingredients really make a difference.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/charming-lady-red-stylish-beret-smiling-sitting-sofa-wonderful-young-woman-with-dark-hair-beige-coat-posing_197531-27623.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Michael B.",
|
||||
role: "Pizza Enthusiast",
|
||||
testimonial: "A true community experience. The quality is unmatched.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cropped-image-pretty-young-teenage-girl-with-dark-skin-crisp-hair-keeps-hand-chin-dressed-casual-clothes-poses-against-cafe-interior-meets-with-best-friend-has-spare-time-weekend_273609-29076.jpg",
|
||||
},
|
||||
]}
|
||||
title="From Our Table to Yours"
|
||||
description="Hear what our neighbors say about their experience at American Flatbread."
|
||||
/>
|
||||
</div>
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTwelve
|
||||
cardTitle="Community Favorites"
|
||||
cardTag="Hear from our neighbors"
|
||||
cardAnimation="slide-up"
|
||||
testimonials={[
|
||||
{ id: "1", name: "Alex R.", imageSrc: "http://img.b2bpic.net/free-photo/merry-young-adult-enjoying-christmas-conversation-video-call-room-decorated-festivity-celebration-talking-woman-preparing-drink-wine-kitchen-with-joyful-ornaments_482257-28400.jpg" },
|
||||
{ id: "2", name: "Sarah M.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3547.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitMedia
|
||||
textboxLayout="split-description"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Do you offer gluten-free options?",
|
||||
content: "Yes! We take pride in our gluten-friendly alternatives to ensure everyone can enjoy our flatbreads.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Are your ingredients organic?",
|
||||
content: "Absolutely. We prioritize locally sourced, organic ingredients whenever possible to maintain quality.",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Do you host private events?",
|
||||
content: "We do! Please contact us directly for more information on hosting your next gathering here.",
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-table-assortment-with-plant_23-2148914894.jpg"
|
||||
imageAlt="FAQ Background Image"
|
||||
mediaAnimation="slide-up"
|
||||
title="Frequently Asked Questions"
|
||||
description="Curious about our ingredients or hosting a group?"
|
||||
faqsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
sideTitle="Common Questions"
|
||||
faqsAnimation="slide-up"
|
||||
faqs={[
|
||||
{ id: "f1", title: "Do you offer gluten-free options?", content: "Yes, we have gluten-friendly alternatives available." },
|
||||
{ id: "f2", title: "Are ingredients organic?", content: "We source organic, local ingredients whenever possible." }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "cell-wave",
|
||||
}}
|
||||
text="Visit us in Worcester and taste the difference. We can't wait to fire up the oven for you."
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Directions",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
text: "Call Now",
|
||||
href: "tel:5085551234",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
title="Contact Us"
|
||||
description="Reach out with questions or event inquiries."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Your Name" },
|
||||
{ name: "email", type: "email", placeholder: "Your Email" }
|
||||
]}
|
||||
mediaPosition="right"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-table-assortment-with-plant_23-2148914894.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="American Flatbread Worcester"
|
||||
columns={[
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
{
|
||||
label: "Worcester, MA",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Menu",
|
||||
items: [
|
||||
{
|
||||
label: "Full Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
{
|
||||
label: "Ingredients",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect",
|
||||
items: [
|
||||
{
|
||||
label: "Instagram",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Facebook",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{ title: "Visit", items: [{ label: "Worcester, MA" }] },
|
||||
{ title: "Menu", items: [{ label: "Flatbreads" }, { label: "Salads" }] }
|
||||
]}
|
||||
bottomLeftText="© 2025 A Taste of Worcester"
|
||||
bottomRightText="Built for the community"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user