From 0cf50976c762dab62acb3cfc6761a04f5b232dc9 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 11 Jun 2026 19:56:53 +0000 Subject: [PATCH 1/2] Update src/app/admin/page.tsx --- src/app/admin/page.tsx | 178 +++++++++++------------------------------ 1 file changed, 47 insertions(+), 131 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index daa44ac..b2b870f 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -7,7 +7,7 @@ import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDash import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import TeamCardFive from '@/components/sections/team/TeamCardFive'; -import { BarChart, Coffee, Home, Package, Settings, ShoppingBag, Star, TrendingUp, UserPlus, Users } from "lucide-react"; +import { BarChart, Coffee, Home, Package, Settings, ShoppingBag, Star, TrendingUp, UserPlus, Users, Clipboard } from "lucide-react"; export default function LandingPage() { return ( @@ -28,31 +28,19 @@ export default function LandingPage() { @@ -60,42 +48,33 @@ export default function LandingPage() {
@@ -182,29 +146,17 @@ export default function LandingPage() { useInvertedBackground={false} metrics={[ { - id: "1", - icon: TrendingUp, - title: "نمو المبيعات", - value: "+15%", - }, + id: "1", icon: TrendingUp, + title: "نمو المبيعات", value: "+15%"}, { - id: "2", - icon: Coffee, - title: "عدد المنتجات", - value: "78", - }, + id: "2", icon: Coffee, + title: "عدد المنتجات", value: "78"}, { - id: "3", - icon: Users, - title: "العملاء النشطون", - value: "1,200", - }, + id: "3", icon: Users, + title: "العملاء النشطون", value: "1,200"}, { - id: "4", - icon: Star, - title: "متوسط التقييم", - value: "4.8", - }, + id: "4", icon: Star, + title: "متوسط التقييم", value: "4.8"}, ]} title="إحصائيات الأداء الرئيسية" description="لمحة سريعة عن أهم مقاييس عملك، تساعدك على اتخاذ قرارات مستنيرة." @@ -218,26 +170,11 @@ export default function LandingPage() { useInvertedBackground={false} team={[ { - id: "1", - name: "أحمد الجابري", - role: "مدير العمليات", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-man-wearing-apron-attractive-caucasian-male-barista-cafe-restaurant-owner-cross-arms-smile-with-confident-warm-welcome-his-successful-business-place_609648-2444.jpg?_wi=2", - imageAlt: "smiling male owner coffee shop", - }, + id: "1", name: "أحمد الجابري", role: "مدير العمليات", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-man-wearing-apron-attractive-caucasian-male-barista-cafe-restaurant-owner-cross-arms-smile-with-confident-warm-welcome-his-successful-business-place_609648-2444.jpg", imageAlt: "smiling male owner coffee shop"}, { - id: "2", - name: "ليلى محمود", - role: "مسؤولة العملاء", - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-drinking-coffee-cup_23-2149442243.jpg?_wi=2", - imageAlt: "female co-owner cafe portrait", - }, + id: "2", name: "ليلى محمود", role: "مسؤولة العملاء", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-drinking-coffee-cup_23-2149442243.jpg", imageAlt: "female co-owner cafe portrait"}, { - id: "3", - name: "يوسف خالد", - role: "فني دعم", - imageSrc: "http://img.b2bpic.net/free-photo/cafe-restaurants-coffee-shop-owners-retail-concept-close-up-cheerful-handsome-salesman-black-apron-inviting-welcoming-clients-store-laughing-happy-white-background_1258-59308.jpg?_wi=2", - imageAlt: "head barista portrait", - }, + id: "3", name: "يوسف خالد", role: "فني دعم", imageSrc: "http://img.b2bpic.net/free-photo/cafe-restaurants-coffee-shop-owners-retail-concept-close-up-cheerful-handsome-salesman-black-apron-inviting-welcoming-clients-store-laughing-happy-white-background_1258-59308.jpg", imageAlt: "head barista portrait"}, ]} title="فريق الدعم" description="فريقنا المتخصص متواجد لمساعدتك في أي استفسارات أو مشكلات قد تواجهك." @@ -248,54 +185,33 @@ export default function LandingPage() { Date: Thu, 11 Jun 2026 19:56:54 +0000 Subject: [PATCH 2/2] Update src/app/cart/page.tsx --- src/app/cart/page.tsx | 138 +++++++++++------------------------------- 1 file changed, 34 insertions(+), 104 deletions(-) diff --git a/src/app/cart/page.tsx b/src/app/cart/page.tsx index 466a4c2..df03278 100644 --- a/src/app/cart/page.tsx +++ b/src/app/cart/page.tsx @@ -27,31 +27,19 @@ export default function LandingPage() { @@ -59,45 +47,26 @@ export default function LandingPage() {
{}} items={[ { - id: "1", - name: "اسبريسو مزدوج", - price: "20.00 درهم", - quantity: 1, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-aromatic-coffee-plate_23-2148349623.jpg?_wi=3", - imageAlt: "perfect espresso shot rich crema", - }, + id: "1", name: "اسبريسو مزدوج", price: "20.00 درهم", quantity: 1, + imageSrc: "http://img.b2bpic.net/free-photo/close-up-aromatic-coffee-plate_23-2148349623.jpg", imageAlt: "perfect espresso shot rich crema"}, { - id: "2", - name: "لاتيه مثلج", - variants: [ - "حجم كبير", - ], - price: "28.00 درهم", - quantity: 2, - imageSrc: "http://img.b2bpic.net/free-photo/brunette-young-female-hat-drinks-coffee-from-paper-cup-summer-green-park_613910-14271.jpg?_wi=2", - imageAlt: "iced spanish latte condensation", - }, + id: "2", name: "لاتيه مثلج", variants: [ + "حجم كبير"], + price: "28.00 درهم", quantity: 2, + imageSrc: "http://img.b2bpic.net/free-photo/brunette-young-female-hat-drinks-coffee-from-paper-cup-summer-green-park_613910-14271.jpg", imageAlt: "iced spanish latte condensation"}, { - id: "3", - name: "شريحة تشيز كيك الفراولة", - price: "35.00 درهم", - quantity: 1, - imageSrc: "http://img.b2bpic.net/free-photo/vertical-closeup-shot-strawberry-cheesecake-white-plate_181624-20506.jpg?_wi=3", - imageAlt: "strawberry cheesecake dessert slice", - }, + id: "3", name: "شريحة تشيز كيك الفراولة", price: "35.00 درهم", quantity: 1, + imageSrc: "http://img.b2bpic.net/free-photo/vertical-closeup-shot-strawberry-cheesecake-white-plate_181624-20506.jpg", imageAlt: "strawberry cheesecake dessert slice"}, ]} total="111.00 درهم" buttons={[ { - text: "متابعة التسوق", - href: "/menu", - }, + text: "متابعة التسوق", href: "/menu"}, { - text: "إتمام الطلب", - href: "/checkout", - }, + text: "إتمام الطلب", href: "/checkout"}, ]} title="سلة مشترياتك" totalLabel="الإجمالي" @@ -113,28 +82,13 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "1", - name: "قهوة اليوم", - price: "22.00 درهم", - imageSrc: "http://img.b2bpic.net/free-photo/black-coffee-coffee-cup_74190-1831.jpg?_wi=2", - imageAlt: "americano coffee black hot", - initialQuantity: 1, + id: "1", name: "قهوة اليوم", price: "22.00 درهم", imageSrc: "http://img.b2bpic.net/free-photo/black-coffee-coffee-cup_74190-1831.jpg", imageAlt: "americano coffee black hot", initialQuantity: 1, }, { - id: "2", - name: "كرواسون باللوز", - price: "18.00 درهم", - imageSrc: "http://img.b2bpic.net/free-photo/drawings-near-pastry-hot-chocolate_23-2147817007.jpg?_wi=2", - imageAlt: "flaky butter croissant plate", - initialQuantity: 1, + id: "2", name: "كرواسون باللوز", price: "18.00 درهم", imageSrc: "http://img.b2bpic.net/free-photo/drawings-near-pastry-hot-chocolate_23-2147817007.jpg", imageAlt: "flaky butter croissant plate", initialQuantity: 1, }, { - id: "3", - name: "ساندويتش النادي", - price: "45.00 درهم", - imageSrc: "http://img.b2bpic.net/free-photo/sandwich-with-ham-fresh-vegetables_2829-14231.jpg?_wi=3", - imageAlt: "fresh club sandwich fries", - initialQuantity: 1, + id: "3", name: "ساندويتش النادي", price: "45.00 درهم", imageSrc: "http://img.b2bpic.net/free-photo/sandwich-with-ham-fresh-vegetables_2829-14231.jpg", imageAlt: "fresh club sandwich fries", initialQuantity: 1, }, ]} title="منتجات قد تعجبك" @@ -146,16 +100,13 @@ export default function LandingPage() {
@@ -164,54 +115,33 @@ export default function LandingPage() {