From 5b2133cefef1ee13e3f546cf8fda55b60c83eabd Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 13:10:09 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 100 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 71 insertions(+), 29 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f668477..7e676d1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,8 +11,42 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterSimple from '@/components/sections/footer/FooterSimple'; import { Clock, MapPin, UtensilsCrossed, Users } from 'lucide-react'; +import { useState } from 'react'; export default function LandingPage() { + const [openMenuTab, setOpenMenuTab] = useState(null); + + const menuTabs = [ + { + id: "sweet", label: "Sweet Waffles", products: [ + { + id: "1", name: "Nutella Waffle", price: "55 MAD", imageSrc: "http://img.b2bpic.net/free-photo/top-view-waffles-covered-honey-with-hazelnuts-honey-dipper_23-2148422831.jpg", imageAlt: "Nutella Waffle" + }, + { + id: "2", name: "Kinder Bueno Waffle", price: "65 MAD", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fruit-dessert-pancakes-with-chocolate-sliced-red-strawberries-bananas-inside-white-plate-grey_140725-13139.jpg", imageAlt: "Kinder Bueno Waffle" + }, + { + id: "3", name: "Strawberry Waffle", price: "60 MAD", imageSrc: "http://img.b2bpic.net/free-photo/delicious-breakfast-with-waffles-fruits_176474-28205.jpg", imageAlt: "Strawberry Waffle" + }, + { + id: "4", name: "Oreo Waffle", price: "60 MAD", imageSrc: "http://img.b2bpic.net/free-photo/belgium-sweet-coffee-food-fresh_1203-4731.jpg", imageAlt: "Oreo Waffle" + } + ] + }, + { + id: "savory", label: "Savory Waffles", products: [ + { + id: "5", name: "Chicken Cheese Waffle", price: "70 MAD", imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-little-biscuits-dark-blue-surface_179666-44259.jpg", imageAlt: "Chicken Cheese Waffle" + }, + { + id: "6", name: "Turkey & Cheese Waffle", price: "65 MAD", imageSrc: "http://img.b2bpic.net/free-photo/front-view-yummy-waffle-cakes-with-chocolate-bars-brown-background_140725-133434.jpg", imageAlt: "Turkey & Cheese Waffle" + } + ] + } + ]; + + const allProducts = menuTabs.reduce((acc, tab) => [...acc, ...tab.products], []); + return (
- +
+
+ {menuTabs.map((tab) => ( + + ))} +
+ + {menuTabs.map((tab) => ( +
+ +
+ ))} +
-- 2.49.1