feat: enhance landing page, Telegram webhook, SEO suite, and cookie consent banner
This commit is contained in:
+16
-19
@@ -4,41 +4,38 @@ export default async function AdminDashboardPage() {
|
||||
const session = await auth()
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="space-y-8">
|
||||
<div>
|
||||
<h2 className="text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Dashboard</h2>
|
||||
<p className="text-gray-500 dark:text-gray-400 mt-2">
|
||||
Hoş geldiniz, {session?.user?.name || session?.user?.email}. İşte projenizin genel görünümü.
|
||||
<h1 className="text-2xl font-extrabold tracking-tight text-zinc-950">Yönetim Paneli</h1>
|
||||
<p className="text-zinc-600 text-sm mt-1.5">
|
||||
Hoş geldiniz, <span className="font-semibold text-zinc-900">{session?.user?.name || session?.user?.email}</span>. İşte platformun genel görünümü.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{/* Placeholder Stat Cards */}
|
||||
{[
|
||||
{ name: 'Toplam Kullanıcı', stat: '1,245' },
|
||||
{ name: 'Aktif Oturumlar', stat: '42' },
|
||||
{ name: 'Yeni Kayıtlar', stat: '8' },
|
||||
{ name: 'Sistem Durumu', stat: 'Online' },
|
||||
{ name: 'Toplam Demo Talebi', stat: '28' },
|
||||
{ name: 'Aktif Pilot Bürolar', stat: '14' },
|
||||
{ name: 'Haftalık Analiz Sayısı', stat: '342' },
|
||||
{ name: 'Sistem Durumu', stat: 'Aktif / Çevrimiçi' },
|
||||
].map((item) => (
|
||||
<div
|
||||
key={item.name}
|
||||
className="overflow-hidden rounded-lg bg-white dark:bg-gray-950 border border-gray-200 dark:border-gray-800 px-4 py-5 shadow-sm sm:p-6"
|
||||
className="overflow-hidden rounded-2xl bg-white border border-zinc-200/80 p-5 shadow-sm"
|
||||
>
|
||||
<dt className="truncate text-sm font-medium text-gray-500 dark:text-gray-400">{item.name}</dt>
|
||||
<dd className="mt-1 text-3xl font-semibold tracking-tight text-gray-900 dark:text-white">
|
||||
<dt className="truncate text-xs font-bold uppercase tracking-wide text-zinc-500">{item.name}</dt>
|
||||
<dd className="mt-2 text-2xl font-extrabold tracking-tight text-zinc-950 font-mono">
|
||||
{item.stat}
|
||||
</dd>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="rounded-lg bg-white dark:bg-gray-950 border border-gray-200 dark:border-gray-800 shadow-sm">
|
||||
<div className="p-6">
|
||||
<h3 className="text-lg font-medium text-gray-900 dark:text-white">Son Aktiviteler</h3>
|
||||
<div className="mt-4 border-t border-gray-100 dark:border-gray-800">
|
||||
<div className="py-4 text-sm text-gray-500">
|
||||
Henüz aktivite kaydı bulunmuyor.
|
||||
</div>
|
||||
<div className="rounded-2xl bg-white border border-zinc-200/80 p-6 shadow-sm">
|
||||
<h2 className="text-base font-bold text-zinc-950">Son Aktiviteler & Demo Başvuruları</h2>
|
||||
<div className="mt-4 border-t border-zinc-100 divide-y divide-zinc-100">
|
||||
<div className="py-4 text-sm text-zinc-500">
|
||||
Henüz bekleyen aktivite kaydı bulunmuyor. Yeni talepler anlık olarak burada listelenecektir.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user