diff --git a/src/app/page.tsx b/src/app/page.tsx index 251a697..1cef26d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,77 +30,31 @@ export default function LandingPage() {
{ document.getElementById('contact')?.scrollIntoView({ behavior: 'smooth' }); } }, + { text: "Voir le menu", onClick: () => { document.getElementById('menu')?.scrollIntoView({ behavior: 'smooth' }); } }, + { text: "Itinéraire", onClick: () => { document.getElementById('contact')?.scrollIntoView({ behavior: 'smooth' }); } }, ]} mediaItems={[ - { - imageSrc: "http://img.b2bpic.net/free-photo/three-delicious-mexican-tacos-with-fresh-toppings_84443-82579.jpg", - imageAlt: "Tacos gourmands", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-arrangement-spanish-food_23-2149157435.jpg", - imageAlt: "Escalope du chef", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-tacos-with-meat_23-2148750427.jpg", - imageAlt: "Tacos maison", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/cooked-meat-veggies-kebab-black-table_23-2148651056.jpg", - imageAlt: "Kebab premium", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-arrangement-potato-fries-bowl_23-2148501579.jpg", - imageAlt: "Frites maison", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/black-slate-surrounded-by-variety-delicious-mexican-food-brown-table_23-2148042483.jpg", - imageAlt: "Tacos Box", - }, + { imageSrc: "http://img.b2bpic.net/free-photo/three-delicious-mexican-tacos-with-fresh-toppings_84443-82579.jpg", imageAlt: "Tacos gourmands" }, + { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-arrangement-spanish-food_23-2149157435.jpg", imageAlt: "Escalope du chef" }, ]} />
@@ -109,19 +63,9 @@ export default function LandingPage() { @@ -133,51 +77,12 @@ export default function LandingPage() { gridVariant="one-large-left-three-stacked-right" useInvertedBackground={true} products={[ - { - id: "1", - name: "Escalope du Chef", - price: "12,90 €", - variant: "Premium", - imageSrc: "http://img.b2bpic.net/free-photo/food-blogger-healthy-fitness-chef-recording-video-social-media-sprinkling-salad_140725-166744.jpg", - }, - { - id: "2", - name: "Tacos Maison", - price: "10,90 €", - variant: "Signature", - imageSrc: "http://img.b2bpic.net/free-photo/delicious-taco-table_23-2150878145.jpg", - }, - { - id: "3", - name: "Kebab Gourmand", - price: "9,50 €", - variant: "Tradition", - imageSrc: "http://img.b2bpic.net/free-photo/lule-kebab-with-herbs-inside_140725-3781.jpg", - }, - { - id: "4", - name: "Frites au Cheddar", - price: "5,00 €", - variant: "Extra", - imageSrc: "http://img.b2bpic.net/free-photo/top-close-view-fried-potatoes-tasty-french-fries-inside-plate-dark-surface-food-meal-dinner-dish-ingredients-product-potato_140725-54034.jpg", - }, - { - id: "5", - name: "Menu Maxi", - price: "14,90 €", - variant: "Complet", - imageSrc: "http://img.b2bpic.net/free-photo/blackboard-amidst-mexican-food-blue-background_23-2147740740.jpg", - }, - { - id: "6", - name: "Tacos Box", - price: "18,90 €", - variant: "Partage", - imageSrc: "http://img.b2bpic.net/free-photo/sombrero-mexican-food-around-paper-card_23-2147740719.jpg", - }, + { id: "1", name: "Escalope du Chef", price: "12,90 €", variant: "Premium", imageSrc: "http://img.b2bpic.net/free-photo/food-blogger-healthy-fitness-chef-recording-video-social-media-sprinkling-salad_140725-166744.jpg" }, + { id: "2", name: "Tacos Maison", price: "10,90 €", variant: "Signature", imageSrc: "http://img.b2bpic.net/free-photo/delicious-taco-table_23-2150878145.jpg" }, ]} title="Notre Menu Gourmand" description="Découvrez nos recettes signature, préparées à la demande avec passion." + buttons={[{ text: "Voir le menu complet", onClick: () => { document.getElementById('contact')?.scrollIntoView({ behavior: 'smooth' }); } }]} /> @@ -185,48 +90,7 @@ export default function LandingPage() { @@ -236,23 +100,7 @@ export default function LandingPage() { @@ -290,14 +122,13 @@ export default function LandingPage() {
alert(`Inscription reçue : ${email}`)} />
@@ -310,4 +141,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file