feat: promotion feature added

This commit is contained in:
2026-02-23 21:04:18 +03:30
parent d65b73a593
commit 99d29bbce5
6 changed files with 912 additions and 0 deletions
+10
View File
@@ -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() {
</p>
</div>
</Link>
<Link href="/admin/promotions" className="block">
<div className="bg-pink-50 hover:bg-pink-100 rounded-lg p-6 transition-colors">
<MegaphoneIcon className="h-8 w-8 text-pink-600 mb-3" />
<h3 className="text-lg font-medium text-gray-900">مدیریت تبلیغات</h3>
<p className="text-sm text-gray-600 mt-1">
ایجاد و مدیریت تبلیغات، بنرها و اسلایدرها
</p>
</div>
</Link>
</div>
</div>
</div>