feat: add refferal feature
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useAuth } from '@/contexts/AuthContext';
|
||||
import Link from 'next/link';
|
||||
import { UsersIcon, CubeIcon, TagIcon , BellIcon } from '@heroicons/react/24/outline';
|
||||
import { UsersIcon, CubeIcon, TagIcon , BellIcon, GiftIcon } from '@heroicons/react/24/outline';
|
||||
import { MegaphoneIcon } from 'lucide-react';
|
||||
// import { BellIcon } from 'lucide-react';
|
||||
|
||||
@@ -77,6 +77,15 @@ export default function Dashboard() {
|
||||
</p>
|
||||
</div>
|
||||
</Link>
|
||||
<Link href="/admin/referral-rewards" className="block">
|
||||
<div className="bg-emerald-50 hover:bg-emerald-100 rounded-lg p-6 transition-colors">
|
||||
<GiftIcon className="h-8 w-8 text-emerald-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>
|
||||
|
||||
Reference in New Issue
Block a user