Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-06-11 19:56:57 +00:00
2 changed files with 81 additions and 235 deletions

View File

@@ -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() {
<NavbarLayoutFloatingInline
navItems={[
{
name: "الرئيسية",
id: "/",
},
name: "الرئيسية", id: "/"},
{
name: "المنيو",
id: "/menu",
},
name: "المنيو", id: "/menu"},
{
name: "من نحن",
id: "/about",
},
name: "من نحن", id: "/about"},
{
name: "تواصل معنا",
id: "/contact",
},
name: "تواصل معنا", id: "/contact"},
{
name: "السلة",
id: "/cart",
},
name: "السلة", id: "/cart"},
]}
brandName="مقهى [اكتب اسم المقهى هنا]"
button={{
text: "اطلب الآن",
href: "/checkout",
}}
text: "اطلب الآن", href: "/checkout"}}
animateOnLoad={true}
/>
</div>
@@ -60,42 +48,33 @@ export default function LandingPage() {
<div id="admin-dashboard-hero" data-section="admin-dashboard-hero">
<HeroBillboardDashboard
background={{
variant: "animated-grid",
}}
variant: "animated-grid"}}
title="لوحة تحكم المقهى"
description="نظرة عامة شاملة على أداء أعمالك اليومية وإدارة الموارد بفاعلية."
tag="إدارة متكاملة"
dashboard={{
title: "نظرة عامة على الأداء",
stats: [
title: "نظرة عامة على الأداء", stats: [
{
title: "مبيعات اليوم",
valuePrefix: "$",
values: [
title: "مبيعات اليوم", valuePrefix: "$", values: [
3200,
3500,
3750,
],
description: "إجمالي الإيرادات اليومية.",
},
description: "إجمالي الإيرادات اليومية."},
{
title: "طلبات جديدة",
values: [
title: "طلبات جديدة", values: [
15,
18,
22,
],
description: "عدد الطلبات المستلمة حديثاً.",
},
description: "عدد الطلبات المستلمة حديثاً."},
{
title: "عملاء جدد",
values: [
title: "عملاء جدد", values: [
5,
7,
10,
],
description: "المشتركون الجدد في برامج الولاء.",
},
description: "المشتركون الجدد في برامج الولاء."},
],
logoIcon: Coffee,
sidebarItems: [
@@ -107,7 +86,7 @@ export default function LandingPage() {
icon: Package,
},
{
icon: ClipboardList,
icon: Clipboard,
},
{
icon: Users,
@@ -119,19 +98,13 @@ export default function LandingPage() {
icon: Settings,
},
],
searchPlaceholder: "البحث في لوحة التحكم...",
buttons: [
searchPlaceholder: "البحث في لوحة التحكم...", buttons: [
{
text: "إضافة منتج جديد",
href: "/admin/products/new",
},
text: "إضافة منتج جديد", href: "/admin/products/new"},
{
text: "عرض جميع الطلبات",
href: "/admin/orders",
},
text: "عرض جميع الطلبات", href: "/admin/orders"},
],
chartTitle: "إيرادات الأشهر الستة الماضية",
chartData: [
chartTitle: "إيرادات الأشهر الستة الماضية", chartData: [
{
value: 150,
},
@@ -154,24 +127,15 @@ export default function LandingPage() {
listItems: [
{
icon: ShoppingBag,
title: "طلب جديد #1234",
status: "قيد المعالجة",
},
title: "طلب جديد #1234", status: "قيد المعالجة"},
{
icon: UserPlus,
title: "تسجيل عميل جديد",
status: "تم",
},
title: "تسجيل عميل جديد", status: "تم"},
{
icon: Coffee,
title: "تحديث مخزون القهوة",
status: "مكتمل",
},
title: "تحديث مخزون القهوة", status: "مكتمل"},
],
listTitle: "الأنشطة الأخيرة",
imageSrc: "http://img.b2bpic.net/free-photo/business-woman-drinking-coffee-while-using-laptop_23-2148095717.jpg",
imageAlt: "Business woman drinking coffee while using laptop, showing dashboard data",
}}
listTitle: "الأنشطة الأخيرة", imageSrc: "http://img.b2bpic.net/free-photo/business-woman-drinking-coffee-while-using-laptop_23-2148095717.jpg", imageAlt: "Business woman drinking coffee while using laptop, showing dashboard data"}}
/>
</div>
@@ -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() {
<FooterBase
columns={[
{
title: "خدماتنا",
items: [
title: "خدماتنا", items: [
{
label: "القهوة والمشروبات",
href: "/menu",
},
label: "القهوة والمشروبات", href: "/menu"},
{
label: "الحلويات والمخبوزات",
href: "/menu",
},
label: "الحلويات والمخبوزات", href: "/menu"},
{
label: "التوصيل",
href: "/delivery",
},
label: "التوصيل", href: "/delivery"},
],
},
{
title: "المقهى",
items: [
title: "المقهى", items: [
{
label: "عنا",
href: "/about",
},
label: "عنا", href: "/about"},
{
label: "اتصل بنا",
href: "/contact",
},
label: "اتصل بنا", href: "/contact"},
{
label: "الوظائف",
href: "/careers",
},
label: "الوظائف", href: "/careers"},
],
},
{
title: "المساعدة",
items: [
title: "المساعدة", items: [
{
label: "الأسئلة الشائعة",
href: "/faq",
},
label: "الأسئلة الشائعة", href: "/faq"},
{
label: "سياسة الخصوصية",
href: "/privacy",
},
label: "سياسة الخصوصية", href: "/privacy"},
{
label: "شروط الخدمة",
href: "/terms",
},
label: "شروط الخدمة", href: "/terms"},
],
},
]}

View File

@@ -27,31 +27,19 @@ export default function LandingPage() {
<NavbarLayoutFloatingInline
navItems={[
{
name: "الرئيسية",
id: "/",
},
name: "الرئيسية", id: "/"},
{
name: "المنيو",
id: "/menu",
},
name: "المنيو", id: "/menu"},
{
name: "من نحن",
id: "/about",
},
name: "من نحن", id: "/about"},
{
name: "تواصل معنا",
id: "/contact",
},
name: "تواصل معنا", id: "/contact"},
{
name: "السلة",
id: "/cart",
},
name: "السلة", id: "/cart"},
]}
brandName="مقهى [اكتب اسم المقهى هنا]"
button={{
text: "اطلب الآن",
href: "/checkout",
}}
text: "اطلب الآن", href: "/checkout"}}
animateOnLoad={true}
/>
</div>
@@ -59,45 +47,26 @@ export default function LandingPage() {
<div id="cart-details" data-section="cart-details">
<ProductCart
isOpen={false}
onClose={() => {}}
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() {
<ContactCTA
useInvertedBackground={false}
background={{
variant: "sparkles-gradient",
}}
variant: "sparkles-gradient"}}
tag="فرصتك الآن"
title="لا تدع قهوتك المفضلة تنتظر طويلاً!"
description="أكمل طلبك الآن واستمتع بتجربة قهوة فريدة تصلك إلى باب منزلك."
buttons={[
{
text: "الانتقال إلى إتمام الطلب",
href: "/checkout",
},
text: "الانتقال إلى إتمام الطلب", href: "/checkout"},
]}
/>
</div>
@@ -164,54 +115,33 @@ export default function LandingPage() {
<FooterBase
columns={[
{
title: "خدماتنا",
items: [
title: "خدماتنا", items: [
{
label: "القهوة والمشروبات",
href: "/menu",
},
label: "القهوة والمشروبات", href: "/menu"},
{
label: "الحلويات والمخبوزات",
href: "/menu",
},
label: "الحلويات والمخبوزات", href: "/menu"},
{
label: "التوصيل",
href: "/delivery",
},
label: "التوصيل", href: "/delivery"},
],
},
{
title: "المقهى",
items: [
title: "المقهى", items: [
{
label: "عنا",
href: "/about",
},
label: "عنا", href: "/about"},
{
label: "اتصل بنا",
href: "/contact",
},
label: "اتصل بنا", href: "/contact"},
{
label: "الوظائف",
href: "/careers",
},
label: "الوظائف", href: "/careers"},
],
},
{
title: "المساعدة",
items: [
title: "المساعدة", items: [
{
label: "الأسئلة الشائعة",
href: "/faq",
},
label: "الأسئلة الشائعة", href: "/faq"},
{
label: "سياسة الخصوصية",
href: "/privacy",
},
label: "سياسة الخصوصية", href: "/privacy"},
{
label: "شروط الخدمة",
href: "/terms",
},
label: "شروط الخدمة", href: "/terms"},
],
},
]}