Update src/app/page.tsx
This commit is contained in:
306
src/app/page.tsx
306
src/app/page.tsx
@@ -1,15 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
|
||||
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
||||
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
|
||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
import { Coffee, Heart, Sparkles, Star } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -25,214 +16,95 @@ export default function LandingPage() {
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
links={[
|
||||
{ label: "Home", href: "home" },
|
||||
{ label: "About", href: "about" },
|
||||
{ label: "Menu", href: "menu" },
|
||||
{ label: "Contact", href: "contact" }
|
||||
]}
|
||||
logoText="My Day"
|
||||
primaryButton={{
|
||||
text: "Book a Table",
|
||||
href: "contact"
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardScroll
|
||||
title="Welcome to My Day"
|
||||
description="Discover our artisan coffee and cozy atmosphere. A perfect place to start your day or unwind with friends."
|
||||
tag="Premium Coffee Experience"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565656661-lj0131tv.jpg"
|
||||
buttons={[
|
||||
{ text: "View Menu", href: "menu" },
|
||||
{ text: "Book a Table", href: "contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<TestimonialAboutCard
|
||||
tag="Our Story"
|
||||
tagIcon={Coffee}
|
||||
title="Crafted with passion, served with love. My Day coffeeshop is where quality meets comfort."
|
||||
description="Founded in 2018. Locally roasted, ethically sourced, artisan quality."
|
||||
icon={Heart}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565655535-yn1ij35l.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardSeven
|
||||
title="Our Menu"
|
||||
description="Handcrafted beverages and fresh pastries made fresh daily"
|
||||
tag="Featured Items"
|
||||
tagIcon={Sparkles}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Signature Espresso",
|
||||
price: "$4.50",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Cappuccino Classico",
|
||||
price: "$5.50",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565658398-rzdk67xj.jpg"
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Cold Brew Blend",
|
||||
price: "$5.00",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565659198-9eavtm8q.jpg"
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Butter Croissant",
|
||||
price: "$4.00",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414397437-vf61oti3.jpg"
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Chocolate Cake",
|
||||
price: "$5.50",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565660426-dqa90soa.jpg"
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Blueberry Muffin",
|
||||
price: "$4.50",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565661338-uk9bdz3q.jpg"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTwelve
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Mitchell",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565662495-bt8vf9hb.jpg"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "James Rodriguez",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565663497-7g5mp6d4.jpg"
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily Chen",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565664521-6sq4zooh.jpg"
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Michael Thompson",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565665445-zz3yp1m7.jpg"
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Jessica Adams",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508651819-t3cnqjfz.jpg"
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "David Wilson",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565666312-zqg4oclx.jpg"
|
||||
}
|
||||
]}
|
||||
title="Over 5,000 happy customers enjoy our coffee and atmosphere every month"
|
||||
tag="Customer Loved"
|
||||
tagIcon={Star}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
text="Ready to join us for your perfect coffee moment? Get in touch to book a table or learn more about our offerings."
|
||||
buttons={[
|
||||
{ text: "Send us a Message", href: "mailto:hello@mydag.coffee" },
|
||||
{ text: "Call Us", href: "tel:+1-555-123-4567" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardTwo
|
||||
title="Premium Selection"
|
||||
description="Our best-rated products loved by customers worldwide"
|
||||
tag="Top Rated"
|
||||
tagIcon={Star}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
brand: "My Day Roastery",
|
||||
name: "Premium Coffee Blend",
|
||||
price: "$25.00",
|
||||
rating: 5,
|
||||
reviewCount: "2.3k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Cold Brew Collection",
|
||||
price: "$45.00",
|
||||
rating: 4,
|
||||
reviewCount: "1.8k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565659198-9eavtm8q.jpg"
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Espresso Gift Set",
|
||||
price: "$89.99",
|
||||
rating: 5,
|
||||
reviewCount: "945",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg"
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Artisan Coffee Sampler",
|
||||
price: "$65.00",
|
||||
rating: 4,
|
||||
reviewCount: "1.2k",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565658398-rzdk67xj.jpg"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
logoText="My Day"
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
{ label: "Home", href: "home" },
|
||||
{ label: "About", href: "about" },
|
||||
{ label: "Menu", href: "menu" }
|
||||
]
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "Contact", href: "contact" },
|
||||
{ label: "Locations", href: "https://maps.google.com" },
|
||||
{ label: "Privacy Policy", href: "/privacy" }
|
||||
]
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "Instagram", href: "https://instagram.com" },
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Twitter", href: "https://twitter.com" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
<div className="min-h-screen bg-gradient-to-br from-amber-50 via-white to-orange-50">
|
||||
<div className="text-center py-20 px-4">
|
||||
<h1 className="text-4xl font-bold mb-4 text-gray-900">My Day Coffee Shop</h1>
|
||||
<p className="text-lg text-gray-600 mb-8">Premium artisan coffee and cozy atmosphere</p>
|
||||
<div className="space-y-4">
|
||||
<button className="bg-amber-600 text-white px-6 py-3 rounded-lg hover:bg-amber-700 transition-colors">
|
||||
View Menu
|
||||
</button>
|
||||
<br />
|
||||
<button className="border border-amber-600 text-amber-600 px-6 py-3 rounded-lg hover:bg-amber-50 transition-colors">
|
||||
Book a Table
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="max-w-6xl mx-auto px-4 py-16">
|
||||
<div className="text-center mb-12">
|
||||
<h2 className="text-3xl font-bold mb-4 text-gray-900">Our Story</h2>
|
||||
<p className="text-lg text-gray-600">Crafted with passion, served with love. My Day coffeeshop is where quality meets comfort.</p>
|
||||
</div>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
|
||||
<div className="bg-white rounded-lg shadow-md p-6">
|
||||
<h3 className="text-xl font-semibold mb-2">Signature Espresso</h3>
|
||||
<p className="text-gray-600 mb-2">Rich, bold, and perfectly balanced</p>
|
||||
<p className="text-lg font-bold text-amber-600">$4.50</p>
|
||||
</div>
|
||||
<div className="bg-white rounded-lg shadow-md p-6">
|
||||
<h3 className="text-xl font-semibold mb-2">Cappuccino Classico</h3>
|
||||
<p className="text-gray-600 mb-2">Creamy foam art masterpiece</p>
|
||||
<p className="text-lg font-bold text-amber-600">$5.50</p>
|
||||
</div>
|
||||
<div className="bg-white rounded-lg shadow-md p-6">
|
||||
<h3 className="text-xl font-semibold mb-2">Cold Brew Blend</h3>
|
||||
<p className="text-gray-600 mb-2">Smooth and refreshing</p>
|
||||
<p className="text-lg font-bold text-amber-600">$5.00</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="text-center mb-12">
|
||||
<h2 className="text-3xl font-bold mb-4 text-gray-900">What Our Customers Say</h2>
|
||||
<p className="text-lg text-gray-600">Over 5,000 happy customers enjoy our coffee and atmosphere every month</p>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-lg shadow-md p-8 text-center">
|
||||
<h2 className="text-3xl font-bold mb-4 text-gray-900">Get In Touch</h2>
|
||||
<p className="text-lg text-gray-600 mb-8">Ready to join us for your perfect coffee moment? Get in touch to book a table or learn more about our offerings.</p>
|
||||
<div className="space-x-4">
|
||||
<a href="mailto:hello@myday.coffee" className="bg-amber-600 text-white px-6 py-3 rounded-lg hover:bg-amber-700 transition-colors inline-block">
|
||||
Send us a Message
|
||||
</a>
|
||||
<a href="tel:+1-555-123-4567" className="border border-amber-600 text-amber-600 px-6 py-3 rounded-lg hover:bg-amber-50 transition-colors inline-block">
|
||||
Call Us
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer className="bg-gray-900 text-white py-12">
|
||||
<div className="max-w-6xl mx-auto px-4 text-center">
|
||||
<h3 className="text-2xl font-bold mb-4">My Day</h3>
|
||||
<div className="grid md:grid-cols-3 gap-8">
|
||||
<div>
|
||||
<h4 className="font-semibold mb-2">Navigation</h4>
|
||||
<ul className="space-y-1">
|
||||
<li><a href="#home" className="text-gray-300 hover:text-white">Home</a></li>
|
||||
<li><a href="#about" className="text-gray-300 hover:text-white">About</a></li>
|
||||
<li><a href="#menu" className="text-gray-300 hover:text-white">Menu</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-2">Contact</h4>
|
||||
<ul className="space-y-1">
|
||||
<li><a href="#contact" className="text-gray-300 hover:text-white">Contact</a></li>
|
||||
<li><a href="https://maps.google.com" className="text-gray-300 hover:text-white">Locations</a></li>
|
||||
<li><a href="/privacy" className="text-gray-300 hover:text-white">Privacy Policy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-2">Social</h4>
|
||||
<ul className="space-y-1">
|
||||
<li><a href="https://instagram.com" className="text-gray-300 hover:text-white">Instagram</a></li>
|
||||
<li><a href="https://facebook.com" className="text-gray-300 hover:text-white">Facebook</a></li>
|
||||
<li><a href="https://twitter.com" className="text-gray-300 hover:text-white">Twitter</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user