diff --git a/web-next/app/[locale]/account/page.tsx b/web-next/app/[locale]/account/page.tsx index 6c21e89..53b7e29 100644 --- a/web-next/app/[locale]/account/page.tsx +++ b/web-next/app/[locale]/account/page.tsx @@ -147,15 +147,18 @@ function ServicesPanel({ t }: { t: (k: string) => string }) { {groups.map((g) => (

{g.title}

- +
))} diff --git a/web-next/app/[locale]/admin/page.tsx b/web-next/app/[locale]/admin/page.tsx index 982c3e6..8220161 100644 --- a/web-next/app/[locale]/admin/page.tsx +++ b/web-next/app/[locale]/admin/page.tsx @@ -13,41 +13,31 @@ export default async function AdminPage({ params }: { params: Promise<{ locale: if (!session.bnetId) redirect({ href: '/login', locale }) if (!(await isAdmin(session))) redirect({ href: '/', locale }) + const items: { href: string; label: string; icon: string }[] = [ + { href: '/admin/news', label: t('manageNews'), icon: '📰' }, + { href: '/admin/prices', label: t('managePrices'), icon: '💲' }, + { href: '/admin/votes', label: t('manageVotes'), icon: '🗳️' }, + { href: '/admin/gold', label: t('manageGold'), icon: '🪙' }, + { href: '/admin/users', label: t('manageUsers'), icon: '👤' }, + { href: '/admin/recruit', label: t('manageRecruit'), icon: '🎁' }, + ] + return (

{t('title')}

- + ))} +
) }