From bac4c115afc6b078b393aa50d400605b96a80a4b Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 10 May 2026 11:38:17 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 114 +++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 72 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 487cc61..a5b4b2c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -15,6 +15,10 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia import { Award, Coffee, Smile } from "lucide-react"; export default function LandingPage() { + const handleCall = () => { + window.location.href = "tel:0742072028"; + }; + return ( @@ -52,18 +58,13 @@ export default function LandingPage() { logoText="Cupcakery Bakery" description="Premium catering & delivery. Indulge in our exquisite cookies, brownies, croissants, and specialty coffees, delivered straight to you." buttons={[ - { - text: "Order Now", href: "#products"}, - { - text: "Call Us: 074 207 2028", href: "tel:0742072028"}, + { text: "Order Now", href: "#products" }, + { text: "Call Us: 074 207 2028", onClick: handleCall }, ]} slides={[ - { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DWxDUXj8K89bTUE5cWBdlXCiiL/uploaded-1778412725055-7296vjwz.png", imageAlt: "Cupcakery Bakery Logo"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/tasty-cake-glass-composition_23-2149030803.jpg", imageAlt: "luxury cupcake display background"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/woman-holds-cupcake-with-glaze-flower_1304-3184.jpg", imageAlt: "gourmet chocolate cupcake close up"}, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DWxDUXj8K89bTUE5cWBdlXCiiL/uploaded-1778412725055-7296vjwz.png", imageAlt: "Cupcakery Bakery Logo" }, + { imageSrc: "http://img.b2bpic.net/free-photo/tasty-cake-glass-composition_23-2149030803.jpg", imageAlt: "luxury cupcake display background" }, + { imageSrc: "http://img.b2bpic.net/free-photo/woman-holds-cupcake-with-glaze-flower_1304-3184.jpg", imageAlt: "gourmet chocolate cupcake close up" }, ]} /> @@ -74,8 +75,7 @@ export default function LandingPage() { title="Crafted with Love" description="At Cupcakery Bakery, we believe that every bite tells a story. Specializing in high-end catering and convenient delivery, we bring our artisanal baked goods and barista-crafted coffees directly to your event or home. From velvety milk coffee to our signature mini cupcakes, we curate experiences that delight the senses." buttons={[ - { - text: "Learn More", href: "#"}, + { text: "Learn More", href: "#" }, ]} imageSrc="http://img.b2bpic.net/free-photo/close-up-smiling-young-woman-holding-mixing-bowl-bakery_23-2148189077.jpg" imageAlt="baking process artisanal cookies" @@ -88,18 +88,8 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} features={[ - { - title: "Premium Catering", description: "Elevated dessert platters for every corporate or social occasion.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-arrangement_23-2149182263.jpg", imageAlt: "catering service delivery box"}, - phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/green-red-sweets-served-box-candy-bar_8353-8475.jpg", imageAlt: "catering service delivery box"}, - }, - { - title: "Coffee Delivery", description: "Barista-grade coffee delivered hot or iced to your doorstep.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-photo/top-view-cutting-board-with-tasty-breakfast-with-pancakes-croisasant-stacked-cookies-beautiful-gift-boxes-coffee-dark-surface_140725-94999.jpg", imageAlt: "coffee and cupcakes delivery"}, - phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-courier-yellow-uniform-holding-plastic-brown-coffee-cups-dark-pink-background-job-uniform-delivery-color-service-worker_140725-36474.jpg", imageAlt: "coffee and cupcakes delivery"}, - }, + { title: "Premium Catering", description: "Elevated dessert platters for every corporate or social occasion.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-arrangement_23-2149182263.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/green-red-sweets-served-box-candy-bar_8353-8475.jpg" } }, + { title: "Coffee Delivery", description: "Barista-grade coffee delivered hot or iced to your doorstep.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/top-view-cutting-board-with-tasty-breakfast-with-pancakes-croisasant-stacked-cookies-beautiful-gift-boxes-coffee-dark-surface_140725-94999.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-courier-yellow-uniform-holding-plastic-brown-coffee-cups-dark-pink-background-job-uniform-delivery-color-service-worker_140725-36474.jpg" } }, ]} showStepNumbers={false} title="Why Choose Us" @@ -114,15 +104,18 @@ export default function LandingPage() { gridVariant="uniform-all-items-equal" useInvertedBackground={false} products={[ - { - id: "p1", brand: "Bakery", name: "Signature Cupcakes", price: "RS. 100 ", rating: 5, - reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/side-view-chocolate-muffin-wooden-cutting-board_140725-10234.jpg"}, - { - id: "p2", brand: "Bakery", name: "Buttery Croissants", price: "RS. 100 ", rating: 5, - reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/freshly-baked-croissants-with-raspberry-jam-raspberry-fruits_114579-11666.jpg"}, + { id: "p1", brand: "Bakery", name: "Cookies", price: "RS. 50", rating: 5, reviewCount: "100", imageSrc: "https://images.unsplash.com/photo-1499636136210-6f4ee915583e?q=80&w=300" }, + { id: "p2", brand: "Bakery", name: "Brownies", price: "RS. 70", rating: 5, reviewCount: "90", imageSrc: "https://images.unsplash.com/photo-1606313564200-e75d5e30475c?q=80&w=300" }, + { id: "p3", brand: "Bakery", name: "Croissants", price: "RS. 80", rating: 5, reviewCount: "75", imageSrc: "https://images.unsplash.com/photo-1555507036-ab1f4038808a?q=80&w=300" }, + { id: "p4", brand: "Cafe", name: "Iced Coffee", price: "RS. 150", rating: 4, reviewCount: "200", imageSrc: "https://images.unsplash.com/photo-1517701604599-b27474a59029?q=80&w=300" }, + { id: "p5", brand: "Cafe", name: "Coffee", price: "RS. 120", rating: 5, reviewCount: "150", imageSrc: "https://images.unsplash.com/photo-1509042239860-f550ce710b93?q=80&w=300" }, + { id: "p6", brand: "Cafe", name: "Cappuccino", price: "RS. 180", rating: 5, reviewCount: "130", imageSrc: "https://images.unsplash.com/photo-1572442388796-11668a67e53d?q=80&w=300" }, + { id: "p7", brand: "Cafe", name: "Milk Coffee", price: "RS. 140", rating: 4, reviewCount: "110", imageSrc: "https://images.unsplash.com/photo-1585494424658-27d7d0801626?q=80&w=300" }, + { id: "p8", brand: "Bakery", name: "Cupcakes", price: "RS. 100", rating: 5, reviewCount: "200", imageSrc: "https://images.unsplash.com/photo-1587668132962-ce406180373e?q=80&w=300" }, + { id: "p9", brand: "Bakery", name: "Mini Cupcakes", price: "RS. 60", rating: 5, reviewCount: "80", imageSrc: "https://images.unsplash.com/photo-1614833983226-25807916e4b8?q=80&w=300" }, ]} title="Our Menu" - description="Freshly baked delights for your indulgence." + description="Freshly baked delights and artisanal coffees." /> @@ -133,12 +126,8 @@ export default function LandingPage() { gridVariant="uniform-all-items-equal" useInvertedBackground={false} metrics={[ - { - id: "m1", value: "500+", title: "Catering Events", description: "Successful events served.", icon: Award, - }, - { - id: "m2", value: "10k+", title: "Cups Served", description: "Barista-crafted coffees.", icon: Coffee, - }, + { id: "m1", value: "500+", title: "Catering Events", description: "Successful events served.", icon: Award }, + { id: "m2", value: "10k+", title: "Cups Served", description: "Barista-crafted coffees.", icon: Coffee }, ]} title="Our Success" description="Quality defined by numbers." @@ -151,10 +140,7 @@ export default function LandingPage() { testimonial="The catering service from Cupcakery Bakery is absolutely unparalleled. Their cupcakes are always the highlight of our corporate events!" rating={5} author="Sarah J., Corporate Event Planner" - avatars={[ - { - src: "http://img.b2bpic.net/free-photo/smiling-girl-with-curly-hair-drinking-coffee-writing-notes_7502-9175.jpg", alt: "happy customer cupcake catering"}, - ]} + avatars={[{ src: "http://img.b2bpic.net/free-photo/smiling-girl-with-curly-hair-drinking-coffee-writing-notes_7502-9175.jpg", alt: "happy customer cupcake catering" }]} ratingAnimation="slide-up" avatarsAnimation="slide-up" /> @@ -164,10 +150,7 @@ export default function LandingPage() { @@ -201,17 +178,10 @@ export default function LandingPage() { ); -} +} \ No newline at end of file