diff --git a/app/admin/dashboard/page.tsx b/app/admin/dashboard/page.tsx index 18167a3..da114fd 100644 --- a/app/admin/dashboard/page.tsx +++ b/app/admin/dashboard/page.tsx @@ -3,6 +3,7 @@ import { useAuth } from '@/contexts/AuthContext'; import Link from 'next/link'; import { UsersIcon, CubeIcon, TagIcon , BellIcon } from '@heroicons/react/24/outline'; +import { MegaphoneIcon } from 'lucide-react'; // import { BellIcon } from 'lucide-react'; export default function Dashboard() { @@ -67,6 +68,15 @@ export default function Dashboard() {
+ ++ ایجاد و مدیریت تبلیغات، بنرها و اسلایدرها +
+{error}
+{success}
+هیچ تبلیغاتی یافت نشد
++ {promotion.title || 'بدون عنوان'} +
+ + {getPromotionTypeLabel(promotion.type)} + + {promotion.is_active ? ( + + فعال + + ) : ( + + غیرفعال + + )} ++ {promotion.subtitle} +
+ )} + + {promotion.action_text && ( ++ متن دکمه: {promotion.action_text} +
+ )} + +