Update src/app/page.tsx
This commit is contained in:
240
src/app/page.tsx
240
src/app/page.tsx
@@ -2,16 +2,17 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FaqBase from '@/components/sections/faq/FaqBase';
|
||||
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
||||
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
|
||||
import { MapPin, Phone, Mail } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -31,22 +32,10 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "products",
|
||||
},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "faq",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "products" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
]}
|
||||
brandName="McDonald's"
|
||||
/>
|
||||
@@ -56,12 +45,7 @@ export default function LandingPage() {
|
||||
<HeroLogo
|
||||
logoText="I'm Lovin' It"
|
||||
description="Your favorite burgers, fries, and more. Always fresh, always hot, and always served with a smile."
|
||||
buttons={[
|
||||
{
|
||||
text: "Order Now",
|
||||
href: "#products",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Order Now", href: "#products" }]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-delicious-food-frame-with-copy-space_23-2148308858.jpg"
|
||||
imageAlt="McDonald's Hero Meal"
|
||||
/>
|
||||
@@ -71,19 +55,9 @@ export default function LandingPage() {
|
||||
<InlineImageSplitTextAbout
|
||||
useInvertedBackground={true}
|
||||
heading={[
|
||||
{
|
||||
type: "text",
|
||||
content: "More than just a meal,",
|
||||
},
|
||||
{
|
||||
type: "image",
|
||||
src: "http://img.b2bpic.net/free-photo/unfocused-spacious-store_1203-597.jpg",
|
||||
alt: "McDonald's History",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
content: "it's a global tradition.",
|
||||
},
|
||||
{ type: "text", content: "More than just a meal," },
|
||||
{ type: "image", src: "http://img.b2bpic.net/free-photo/unfocused-spacious-store_1203-597.jpg", alt: "McDonald's History" },
|
||||
{ type: "text", content: "it's a global tradition." },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -94,27 +68,9 @@ export default function LandingPage() {
|
||||
textboxLayout="split-description"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Fresh Beef",
|
||||
description: "100% real beef, cooked to perfection.",
|
||||
tag: "Beef",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-burger-ingredients-slate-background_23-2148235015.jpg",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Golden Fries",
|
||||
description: "Crispy, hot, and seasoned just right.",
|
||||
tag: "Fries",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nectarine-slices-with-drink-wooden-cutting-board-table-flat-lay_176474-8879.jpg",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Cool Drinks",
|
||||
description: "Refreshing beverages to quench your thirst.",
|
||||
tag: "Drinks",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beverage-glass-near-lemons-ice-blocks_23-2148216355.jpg",
|
||||
},
|
||||
{ id: "f1", title: "Fresh Beef", description: "100% real beef, cooked to perfection.", tag: "Beef", imageSrc: "http://img.b2bpic.net/free-photo/top-view-burger-ingredients-slate-background_23-2148235015.jpg" },
|
||||
{ id: "f2", title: "Golden Fries", description: "Crispy, hot, and seasoned just right.", tag: "Fries", imageSrc: "http://img.b2bpic.net/free-photo/nectarine-slices-with-drink-wooden-cutting-board-table-flat-lay_176474-8879.jpg" },
|
||||
{ id: "f3", title: "Cool Drinks", description: "Refreshing beverages to quench your thirst.", tag: "Drinks", imageSrc: "http://img.b2bpic.net/free-photo/beverage-glass-near-lemons-ice-blocks_23-2148216355.jpg" },
|
||||
]}
|
||||
title="Quality Ingredients"
|
||||
description="We source the finest ingredients to bring you the taste you love, every single time."
|
||||
@@ -128,118 +84,24 @@ export default function LandingPage() {
|
||||
gridVariant="two-columns-alternating-heights"
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Big Mac",
|
||||
price: "$5.99",
|
||||
variant: "Classic",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-burgers-frame-with-orange-background_23-2148235004.jpg",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "French Fries",
|
||||
price: "$2.99",
|
||||
variant: "Side",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-plate-with-crackers-pink-plate-wooden-desk-grey-snack-crisp-cracker_140725-20794.jpg",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "McFlurry",
|
||||
price: "$3.49",
|
||||
variant: "Dessert",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hot-chocolate-cup-with-whipped-cream_1220-4741.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Chicken Nuggets",
|
||||
price: "$4.99",
|
||||
variant: "Snack",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-chicken-wings-cutting-board-dark-background-lunch-dinner-sandwich-fries-meal-burger-food-salad_140725-158650.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Egg McMuffin",
|
||||
price: "$3.99",
|
||||
variant: "Breakfast",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-wooden_1150-8063.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Happy Meal",
|
||||
price: "$4.50",
|
||||
variant: "Kids",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-delicious-exotic-fruits_23-2149090888.jpg",
|
||||
},
|
||||
{ id: "p1", name: "Big Mac", price: "$5.99", variant: "Classic", imageSrc: "http://img.b2bpic.net/free-photo/top-view-burgers-frame-with-orange-background_23-2148235004.jpg" },
|
||||
{ id: "p2", name: "French Fries", price: "$2.99", variant: "Side", imageSrc: "http://img.b2bpic.net/free-photo/front-view-plate-with-crackers-pink-plate-wooden-desk-grey-snack-crisp-cracker_140725-20794.jpg" },
|
||||
{ id: "p3", name: "McFlurry", price: "$3.49", variant: "Dessert", imageSrc: "http://img.b2bpic.net/free-photo/hot-chocolate-cup-with-whipped-cream_1220-4741.jpg" },
|
||||
{ id: "p4", name: "Chicken Nuggets", price: "$4.99", variant: "Snack", imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-chicken-wings-cutting-board-dark-background-lunch-dinner-sandwich-fries-meal-burger-food-salad_140725-158650.jpg" },
|
||||
]}
|
||||
title="Our Menu"
|
||||
description="Explore the classics and new favorites."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="socialProof" data-section="socialProof">
|
||||
<SocialProofOne
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Globally Trusted",
|
||||
"Quality Guaranteed",
|
||||
"Fan Favorite",
|
||||
"Always Fresh",
|
||||
"Speedy Service",
|
||||
"Community Partner",
|
||||
"Sustainable Sourcing",
|
||||
]}
|
||||
title="Proudly Serving Millions"
|
||||
description="Join our global family of happy customers."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardThirteen
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Sarah J.",
|
||||
handle: "@sarahj",
|
||||
testimonial: "The best fries ever! Always crispy.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-shirt-joyfully-looking-camera-holding-plate-with-slice-chocolate-cake-hands-yellow-background-isolated_574295-5390.jpg",
|
||||
},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Mike D.",
|
||||
handle: "@miked",
|
||||
testimonial: "Quick and delicious, my go-to lunch spot.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-cup_23-2149005452.jpg",
|
||||
},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Emily R.",
|
||||
handle: "@emilyr",
|
||||
testimonial: "Love the dessert selection, especially the McFlurry.",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/joyful-young-brunette-with-beret-beige-trench-coat-stylish-glasses-sitting-city-cafe-terrace-sunny-autumn-day-eating-cheesecake-calling-waiter_197531-24439.jpg",
|
||||
},
|
||||
{
|
||||
id: "t4",
|
||||
name: "David K.",
|
||||
handle: "@davidk",
|
||||
testimonial: "Consistently good food, fast service.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/african-american-father-being-feed-by-his-daughter-meal-home_637285-12661.jpg",
|
||||
},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Jessica L.",
|
||||
handle: "@jessl",
|
||||
testimonial: "Perfect comfort food for the whole family.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dreamy-young-asian-lady-holds-two-delicious-sweet-donuts-licks-lips-wants-eat-high-calories-food-breaks-diet-dressed-warm-clothes-headgear_273609-38574.jpg",
|
||||
},
|
||||
{ id: "t1", name: "Sarah J.", handle: "@sarahj", testimonial: "The best fries ever! Always crispy.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-shirt-joyfully-looking-camera-holding-plate-with-slice-chocolate-cake-hands-yellow-background-isolated_574295-5390.jpg" },
|
||||
{ id: "t2", name: "Mike D.", handle: "@miked", testimonial: "Quick and delicious, my go-to lunch spot.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-cup_23-2149005452.jpg" },
|
||||
]}
|
||||
showRating={true}
|
||||
title="Loved by Everyone"
|
||||
@@ -252,21 +114,8 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "q1",
|
||||
title: "Are you open 24/7?",
|
||||
content: "Many of our locations are open 24/7. Check your local store.",
|
||||
},
|
||||
{
|
||||
id: "q2",
|
||||
title: "Can I order online?",
|
||||
content: "Yes, use our app for quick and easy ordering.",
|
||||
},
|
||||
{
|
||||
id: "q3",
|
||||
title: "Do you offer delivery?",
|
||||
content: "We offer delivery through our partners. Check the app for details.",
|
||||
},
|
||||
{ id: "q1", title: "Are you open 24/7?", content: "Many of our locations are open 24/7. Check your local store." },
|
||||
{ id: "q2", title: "Can I order online?", content: "Yes, use our app for quick and easy ordering." },
|
||||
]}
|
||||
title="Got Questions?"
|
||||
description="Find answers to your common questions."
|
||||
@@ -275,51 +124,22 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
<ContactCenter
|
||||
tag="Contact Us"
|
||||
title="Visit Our Restaurant"
|
||||
description="Paul Harris 753, Las Condes, Santiago"
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
tag="Stay Connected"
|
||||
title="Join our Newsletter"
|
||||
description="Get exclusive deals and updates straight to your inbox."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/side-view-man-taking-order_23-2147775868.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Careers",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Investors",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Terms of Use",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
<FooterCard
|
||||
logoText="McDonald's"
|
||||
copyrightText="© 2025 McDonald's. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user