From f035a128390ebd06ca29e1bcabc89e640a1fdddb Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 29 Apr 2026 01:13:33 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 188 ++++++++++------------------------------------- 1 file changed, 40 insertions(+), 148 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 08d64f6..cab1835 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,21 +32,13 @@ export default function LandingPage() { @@ -55,41 +47,26 @@ export default function LandingPage() {
@@ -100,14 +77,9 @@ export default function LandingPage() { useInvertedBackground={true} heading={[ { - type: "text", - content: "مذاق لا ينسى في تيغسالين", - }, + type: "text", content: "مذاق لا ينسى في تيغسالين"}, { - type: "image", - src: "http://img.b2bpic.net/free-photo/treats-halloween-party_23-2148603648.jpg", - alt: "About Snack", - }, + type: "image", src: "http://img.b2bpic.net/free-photo/treats-halloween-party_23-2148603648.jpg", alt: "About Snack"}, ]} />
@@ -120,47 +92,21 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "p1", - name: "دجاج مشوي كامل", - price: "70 درهم", - variant: "وجبة", - imageSrc: "http://img.b2bpic.net/free-photo/top-close-view-delicious-fried-chicken-cooked-meat-slices-dark-space_140725-79529.jpg", - }, + id: "p1", name: "دجاج مشوي كامل", price: "70 درهم", variant: "وجبة", imageSrc: "http://img.b2bpic.net/free-photo/top-close-view-delicious-fried-chicken-cooked-meat-slices-dark-space_140725-79529.jpg"}, { - id: "p2", - name: "نصف دجاجة", - price: "35 درهم", - variant: "وجبة", - imageSrc: "http://img.b2bpic.net/free-photo/tasty-restaurant-appetizers-big-company-including-goldy-chicken-nuggets-fried-potatoes-green-salad-leaves-fresh-cucumbers-standing-white-table-looking-delicious-mouthwatering_132075-13079.jpg", - }, + id: "p2", name: "نصف دجاجة", price: "35 درهم", variant: "وجبة", imageSrc: "http://img.b2bpic.net/free-photo/tasty-restaurant-appetizers-big-company-including-goldy-chicken-nuggets-fried-potatoes-green-salad-leaves-fresh-cucumbers-standing-white-table-looking-delicious-mouthwatering_132075-13079.jpg"}, { - id: "p3", - name: "ساندويش دجاج", - price: "25 درهم", - variant: "وجبة", - imageSrc: "http://img.b2bpic.net/free-photo/grilled-cheeseburger-fries-refreshment-lunch-generated-by-ai_188544-16106.jpg", - }, + id: "p3", name: "ساندويش دجاج", price: "25 درهم", variant: "وجبة", imageSrc: "http://img.b2bpic.net/free-photo/grilled-cheeseburger-fries-refreshment-lunch-generated-by-ai_188544-16106.jpg"}, { - id: "p4", - name: "عصير برتقال", - price: "10 درهم", - variant: "مشروب", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-orange-juice-glass-served-with-tube-mint-orange-limes-wooden-table_140725-94728.jpg", - }, + id: "p4", name: "عصير برتقال", price: "10 درهم", variant: "مشروب", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-orange-juice-glass-served-with-tube-mint-orange-limes-wooden-table_140725-94728.jpg"}, { - id: "p5", - name: "عصير أفوكا", - price: "15 درهم", - variant: "مشروب", - imageSrc: "http://img.b2bpic.net/free-photo/two-glasses-fruit-smoothies_23-2148574120.jpg", - }, + id: "p5", name: "عصير أفوكا", price: "15 درهم", variant: "مشروب", imageSrc: "http://img.b2bpic.net/free-photo/two-glasses-fruit-smoothies_23-2148574120.jpg"}, { - id: "p6", - name: "عصائر مشكلة", - price: "12 درهم", - variant: "مشروب", - imageSrc: "http://img.b2bpic.net/free-photo/chalkboard-bottles-colorful-juice_23-2148150380.jpg", - }, + id: "p6", name: "عصائر مشكلة", price: "12 درهم", variant: "مشروب", imageSrc: "http://img.b2bpic.net/free-photo/chalkboard-bottles-colorful-juice_23-2148150380.jpg"}, + ]} + buttons={[ + { + text: "اطلب الآن عبر واتساب", href: "https://wa.me/212626980870"}, ]} title="قائمة الطعام" description="تشكيلة مختارة من الدجاج المشوي والأطباق الجانبية والمشروبات الطبيعية." @@ -174,16 +120,11 @@ export default function LandingPage() { useInvertedBackground={true} negativeCard={{ items: [ - "لا نستخدم ألوان صناعية", - "لا نستخدم إضافات ضارة", - ], + "لا نستخدم ألوان صناعية", "لا نستخدم إضافات ضارة"], }} positiveCard={{ items: [ - "دجاج طازج يومياً", - "فواكه طبيعية موسمية", - "نظافة ومعايير عالية", - ], + "دجاج طازج يومياً", "فواكه طبيعية موسمية", "نظافة ومعايير عالية"], }} title="لماذا تختارنا؟" description="نقدم الأفضل دائماً لزبائننا." @@ -198,20 +139,11 @@ export default function LandingPage() { useInvertedBackground={false} metrics={[ { - id: "m1", - value: "1000+", - description: "وجبة مقدمة", - }, + id: "m1", value: "1000+", description: "وجبة مقدمة"}, { - id: "m2", - value: "500+", - description: "زبون سعيد", - }, + id: "m2", value: "500+", description: "زبون سعيد"}, { - id: "m3", - value: "100%", - description: "طبيعي وطازج", - }, + id: "m3", value: "100%", description: "طبيعي وطازج"}, ]} title="أرقامنا" description="ثقتكم هي سر نجاحنا." @@ -225,40 +157,15 @@ export default function LandingPage() { useInvertedBackground={true} testimonials={[ { - id: "t1", - name: "أحمد", - handle: "@ahmed", - testimonial: "أفضل دجاج مشوي في المنطقة، النظافة والطعم لا يُعلى عليهما.", - imageSrc: "http://img.b2bpic.net/free-photo/smiling-male-gardener-wearing-gardening-hat-holds-pumpkin_141793-116079.jpg", - }, + id: "t1", name: "أحمد", handle: "@ahmed", testimonial: "أفضل دجاج مشوي في المنطقة، النظافة والطعم لا يُعلى عليهما.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-male-gardener-wearing-gardening-hat-holds-pumpkin_141793-116079.jpg"}, { - id: "t2", - name: "سارة", - handle: "@sarah", - testimonial: "عصائر طبيعية ومنعشة دائماً.", - imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg", - }, + id: "t2", name: "سارة", handle: "@sarah", testimonial: "عصائر طبيعية ومنعشة دائماً.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg"}, { - id: "t3", - name: "خالد", - handle: "@khaled", - testimonial: "ساندويش الدجاج طعمه خيالي والأسعار مناسبة جداً.", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-beautiful-young-woman-kitchen-holding-tomato-smartphone-buys-fresh_1258-195017.jpg", - }, + id: "t3", name: "خالد", handle: "@khaled", testimonial: "ساندويش الدجاج طعمه خيالي والأسعار مناسبة جداً.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-beautiful-young-woman-kitchen-holding-tomato-smartphone-buys-fresh_1258-195017.jpg"}, { - id: "t4", - name: "ليلى", - handle: "@layla", - testimonial: "خدمة سريعة ولطيفة جداً، أنصح به.", - imageSrc: "http://img.b2bpic.net/free-photo/happy-family-havinf-dinner-together_23-2149117524.jpg", - }, + id: "t4", name: "ليلى", handle: "@layla", testimonial: "خدمة سريعة ولطيفة جداً، أنصح به.", imageSrc: "http://img.b2bpic.net/free-photo/happy-family-havinf-dinner-together_23-2149117524.jpg"}, { - id: "t5", - name: "ياسين", - handle: "@yassine", - testimonial: "دائماً أطلب منهم، الجودة ثابتة.", - imageSrc: "http://img.b2bpic.net/free-photo/young-person-enjoying-meal_23-2151525810.jpg", - }, + id: "t5", name: "ياسين", handle: "@yassine", testimonial: "دائماً أطلب منهم، الجودة ثابتة.", imageSrc: "http://img.b2bpic.net/free-photo/young-person-enjoying-meal_23-2151525810.jpg"}, ]} title="قالوا عنا" description="آراء زبائننا الكرام." @@ -271,20 +178,11 @@ export default function LandingPage() { useInvertedBackground={false} faqs={[ { - id: "f1", - title: "هل يتوفر التوصيل؟", - content: "نعم، نتواصل عبر الواتساب لتأكيد الطلبات وتوصيلها.", - }, + id: "f1", title: "هل يتوفر التوصيل؟", content: "نعم، نتواصل عبر الواتساب لتأكيد الطلبات وتوصيلها."}, { - id: "f2", - title: "ما هي ساعات العمل؟", - content: "نحن مفتوحون يومياً من 11 صباحاً حتى 11 مساءً.", - }, + id: "f2", title: "ما هي ساعات العمل؟", content: "نحن مفتوحون يومياً من 11 صباحاً حتى 11 مساءً."}, { - id: "f3", - title: "هل تستخدمون مكونات طازجة؟", - content: "نعم، نلتزم بجلب مكوناتنا طازجة يومياً.", - }, + id: "f3", title: "هل تستخدمون مكونات طازجة؟", content: "نعم، نلتزم بجلب مكوناتنا طازجة يومياً."}, ]} title="أسئلة شائعة" description="هل لديك أي استفسار آخر؟" @@ -299,15 +197,9 @@ export default function LandingPage() { description="يمكنك التواصل معنا مباشرة لطلب وجباتك المفضلة." inputs={[ { - name: "name", - type: "text", - placeholder: "الاسم الكامل", - }, + name: "name", type: "text", placeholder: "الاسم الكامل"}, { - name: "phone", - type: "tel", - placeholder: "رقم الهاتف", - }, + name: "phone", type: "tel", placeholder: "رقم الهاتف"}, ]} imageSrc="http://img.b2bpic.net/free-photo/bar-concept_23-2147798080.jpg" buttonText="إرسال الطلب" @@ -323,4 +215,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1