Update src/app/page.tsx

This commit is contained in:
2026-05-09 21:27:44 +00:00
parent 13c783eb39
commit c04f26a867

View File

@@ -31,25 +31,15 @@ export default function LandingPage() {
<NavbarStyleCentered
navItems={[
{
name: "Home",
id: "hero",
},
name: "Home", id: "hero"},
{
name: "Menu",
id: "products",
},
name: "Menu", id: "products"},
{
name: "About",
id: "about",
},
name: "About", id: "about"},
{
name: "Reviews",
id: "testimonials",
},
name: "Reviews", id: "testimonials"},
{
name: "Contact",
id: "contact",
},
name: "Contact", id: "contact"},
]}
brandName="Sweet Time"
/>
@@ -63,25 +53,15 @@ export default function LandingPage() {
showDimOverlay={true}
avatars={[
{
src: "http://img.b2bpic.net/free-photo/side-view-wild-berries-clay-pot-table_141793-3800.jpg",
alt: "Side view wild berries in an clay pot on the table",
},
src: "http://img.b2bpic.net/free-photo/side-view-wild-berries-clay-pot-table_141793-3800.jpg", alt: "Side view wild berries in an clay pot on the table"},
{
src: "http://img.b2bpic.net/free-photo/ornate-windows-art-nouveau-style-with-stained-glass_23-2150975601.jpg",
alt: "Ornate windows in art nouveau style with stained glass",
},
src: "http://img.b2bpic.net/free-photo/ornate-windows-art-nouveau-style-with-stained-glass_23-2150975601.jpg", alt: "Ornate windows in art nouveau style with stained glass"},
{
src: "http://img.b2bpic.net/free-photo/woman-eating-pasta-italian-restaurant_1303-24360.jpg",
alt: "Woman eating pasta in an italian restaurant",
},
src: "http://img.b2bpic.net/free-photo/woman-eating-pasta-italian-restaurant_1303-24360.jpg", alt: "Woman eating pasta in an italian restaurant"},
{
src: "http://img.b2bpic.net/free-photo/rustic-chandelier-made-bulbs-ropes-dining-table-vintage-kitchen_181624-9173.jpg",
alt: "Rustic chandelier made of bulbs and ropes over a dining table in a vintage kitchen",
},
src: "http://img.b2bpic.net/free-photo/rustic-chandelier-made-bulbs-ropes-dining-table-vintage-kitchen_181624-9173.jpg", alt: "Rustic chandelier made of bulbs and ropes over a dining table in a vintage kitchen"},
{
src: "http://img.b2bpic.net/free-photo/arab-restaurant_23-2147794221.jpg",
alt: "cozy restaurant interior marrakech style",
},
src: "http://img.b2bpic.net/free-photo/arab-restaurant_23-2147794221.jpg", alt: "cozy restaurant interior marrakech style"},
]}
avatarText="Loved by thousands of locals"
/>
@@ -95,17 +75,11 @@ export default function LandingPage() {
description="Sweet Time has been a local favorite for years. We prioritize quality ingredients and consistent preparation to bring joy to every bite."
bulletPoints={[
{
title: "Fresh Ingredients",
description: "We source only the best to ensure quality in every dish.",
},
title: "Fresh Ingredients", description: "We source only the best to ensure quality in every dish."},
{
title: "Professional Service",
description: "Our team is dedicated to providing quick and welcoming hospitality.",
},
title: "Professional Service", description: "Our team is dedicated to providing quick and welcoming hospitality."},
{
title: "Local Favorite",
description: "Proudly serving the Iziki community for years with love.",
},
title: "Local Favorite", description: "Proudly serving the Iziki community for years with love."},
]}
imageSrc="http://img.b2bpic.net/free-photo/waffles_74190-3819.jpg"
mediaAnimation="blur-reveal"
@@ -120,41 +94,17 @@ export default function LandingPage() {
useInvertedBackground={true}
products={[
{
id: "1",
name: "Nutella Banana Crepe",
price: "35 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/almond-banana-pancake_1339-5270.jpg",
},
id: "1", name: "Nutella Banana Crepe", price: "35 MAD", imageSrc: "http://img.b2bpic.net/free-photo/almond-banana-pancake_1339-5270.jpg"},
{
id: "2",
name: "Strawberry Waffle",
price: "40 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/belgium-waffles-with-strawberries-ice-cream-white-plate_2829-13952.jpg",
},
id: "2", name: "Strawberry Waffle", price: "40 MAD", imageSrc: "http://img.b2bpic.net/free-photo/belgium-waffles-with-strawberries-ice-cream-white-plate_2829-13952.jpg"},
{
id: "3",
name: "4 Cheese Pizza",
price: "50 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/georgian-khachapuri-with-melted-cheese-sliced_114579-3150.jpg",
},
id: "3", name: "4 Cheese Pizza", price: "50 MAD", imageSrc: "http://img.b2bpic.net/free-photo/georgian-khachapuri-with-melted-cheese-sliced_114579-3150.jpg"},
{
id: "4",
name: "Pistachio Konafa Crepe",
price: "45 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/woman-puts-yogurt-azerbaijani-gutab-with-herbs_141793-2215.jpg",
},
id: "4", name: "Pistachio Konafa Crepe", price: "45 MAD", imageSrc: "http://img.b2bpic.net/free-photo/woman-puts-yogurt-azerbaijani-gutab-with-herbs_141793-2215.jpg"},
{
id: "5",
name: "Fresh Mango Juice",
price: "25 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/dynamic-mango-smoothie-splash-with-fruit-chunks_84443-83740.jpg",
},
id: "5", name: "Fresh Mango Juice", price: "25 MAD", imageSrc: "http://img.b2bpic.net/free-photo/dynamic-mango-smoothie-splash-with-fruit-chunks_84443-83740.jpg"},
{
id: "6",
name: "Classic Pancake Stack",
price: "30 MAD",
imageSrc: "http://img.b2bpic.net/free-photo/pancakes-anime-style_23-2151230605.jpg",
},
id: "6", name: "Classic Pancake Stack", price: "30 MAD", imageSrc: "http://img.b2bpic.net/free-photo/pancakes-anime-style_23-2151230605.jpg"},
]}
title="Our Popular Menu"
description="Indulge in our most requested sweet and savory delights."
@@ -165,33 +115,19 @@ export default function LandingPage() {
<MetricCardSeven
textboxLayout="default"
useInvertedBackground={false}
animationType="blur-reveal"
metrics={[
{
id: "1",
value: "100+",
title: "Verified Reviews",
items: [
"Constant quality",
"Reliable taste",
],
id: "1", value: "100+", title: "Verified Reviews", items: [
"Constant quality", "Reliable taste"],
},
{
id: "2",
value: "4.3",
title: "Average Rating",
items: [
"Loved by locals",
"Consistently high",
],
id: "2", value: "4.3", title: "Average Rating", items: [
"Loved by locals", "Consistently high"],
},
{
id: "3",
value: "50+",
title: "Daily Orders",
items: [
"Quick service",
"Always fresh",
],
id: "3", value: "50+", title: "Daily Orders", items: [
"Quick service", "Always fresh"],
},
]}
title="Our Impact at a Glance"
@@ -206,45 +142,20 @@ export default function LandingPage() {
useInvertedBackground={true}
testimonials={[
{
id: "1",
name: "Oualid",
handle: "@oualid",
testimonial: "Everything was fresh, delicious, and beautifully prepared.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/roommates-spending-time-together_23-2149359311.jpg",
},
id: "1", name: "Oualid", handle: "@oualid", testimonial: "Everything was fresh, delicious, and beautifully prepared.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/roommates-spending-time-together_23-2149359311.jpg"},
{
id: "2",
name: "Khadija Dmiai",
handle: "@khadija",
testimonial: "I am always satisfied with the quality. Reliable and professional.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-taking-selfie_23-2148972784.jpg",
},
id: "2", name: "Khadija Dmiai", handle: "@khadija", testimonial: "I am always satisfied with the quality. Reliable and professional.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-taking-selfie_23-2148972784.jpg"},
{
id: "3",
name: "Ira Haim",
handle: "@irahaim",
testimonial: "Cozy place, good service, and tasty food. Definitely recommend!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/attractive-happy-young-bearded-man-trendy-hat-texting-messages-via-social-networks-browsing-internet-using-free-wifi-his-electronic-device-coffee-break-restaurant_273609-1934.jpg",
},
id: "3", name: "Ira Haim", handle: "@irahaim", testimonial: "Cozy place, good service, and tasty food. Definitely recommend!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/attractive-happy-young-bearded-man-trendy-hat-texting-messages-via-social-networks-browsing-internet-using-free-wifi-his-electronic-device-coffee-break-restaurant_273609-1934.jpg"},
{
id: "4",
name: "Anonymous",
handle: "@guest",
testimonial: "Best crepes in town, period.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/positive-lifestyle-portrait-happy-exited-pretty-woman-with-pink-hairs-having-dinner-vintage-american-cafe-eating-hot-dog-french-fries-mil-shake-junk-food-cheat-meal-pastel-colors_291049-357.jpg",
},
id: "4", name: "Anonymous", handle: "@guest", testimonial: "Best crepes in town, period.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/positive-lifestyle-portrait-happy-exited-pretty-woman-with-pink-hairs-having-dinner-vintage-american-cafe-eating-hot-dog-french-fries-mil-shake-junk-food-cheat-meal-pastel-colors_291049-357.jpg"},
{
id: "5",
name: "Satisfied Diner",
handle: "@diner",
testimonial: "Great vibe and fast delivery. Very professional service.",
rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/laughing-young-lady-sitting-posing-near-cupcakes_171337-14180.jpg",
},
id: "5", name: "Satisfied Diner", handle: "@diner", testimonial: "Great vibe and fast delivery. Very professional service.", rating: 4,
imageSrc: "http://img.b2bpic.net/free-photo/laughing-young-lady-sitting-posing-near-cupcakes_171337-14180.jpg"},
]}
showRating={true}
title="Hear From Our Guests"
@@ -258,20 +169,11 @@ export default function LandingPage() {
useInvertedBackground={false}
faqs={[
{
id: "1",
title: "Do you offer delivery?",
content: "Yes, we provide delivery services to our surrounding areas.",
},
id: "1", title: "Do you offer delivery?", content: "Yes, we provide delivery services to our surrounding areas."},
{
id: "2",
title: "What are your opening hours?",
content: "We are open daily and close at 01:00 AM.",
},
id: "2", title: "What are your opening hours?", content: "We are open daily and close at 01:00 AM."},
{
id: "3",
title: "Do you accept takeout?",
content: "Absolutely! You can order your favorite meals to go.",
},
id: "3", title: "Do you accept takeout?", content: "Absolutely! You can order your favorite meals to go."},
]}
title="Common Questions"
description="Everything you need to know about visiting Sweet Time."
@@ -286,22 +188,14 @@ export default function LandingPage() {
description="Located at N 2, Iziki 1, Marrakech. Reach out for reservations or questions."
inputs={[
{
name: "name",
type: "text",
placeholder: "Your Name",
required: true,
name: "name", type: "text", placeholder: "Your Name", required: true,
},
{
name: "email",
type: "email",
placeholder: "Your Email",
required: true,
name: "email", type: "email", placeholder: "Your Email", required: true,
},
]}
textarea={{
name: "message",
placeholder: "How can we help?",
rows: 4,
name: "message", placeholder: "How can we help?", rows: 4,
required: true,
}}
imageSrc="http://img.b2bpic.net/free-photo/beautiful-balcony-old-house-pals-spain_181624-40218.jpg"
@@ -312,33 +206,21 @@ export default function LandingPage() {
<FooterSimple
columns={[
{
title: "Quick Links",
items: [
title: "Quick Links", items: [
{
label: "Menu",
href: "#products",
},
label: "Menu", href: "#products"},
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Reviews",
href: "#testimonials",
},
label: "Reviews", href: "#testimonials"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
],
},
]}