From af2438399d3ec77f419a9c9db9a32298ac556fd3 Mon Sep 17 00:00:00 2001 From: adevopg Date: Mon, 13 Jul 2026 01:44:49 +0000 Subject: [PATCH] =?UTF-8?q?UI:=20estilar=20enlaces=20del=20=C3=ADndice=20d?= =?UTF-8?q?e=20admin=20y=20del=20panel=20de=20servicios=20de=20la=20cuenta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se veΓ­an como enlaces azules sin estilo. Ahora: - /admin: rejilla de tarjetas (icono + etiqueta + flecha) con hover dorado. - /account (servicios): chips con borde, fondo de panel y hover dorado en vez de enlaces subrayados azules. Co-Authored-By: Claude Opus 4.8 (1M context) --- web-next/app/[locale]/account/page.tsx | 17 +++++---- web-next/app/[locale]/admin/page.tsx | 52 +++++++++++--------------- 2 files changed, 31 insertions(+), 38 deletions(-) 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}

-
    +
    {g.items.map((it) => ( -
  • - - {it.label} - -
  • + + {it.label} + β†’ + ))} -
+
))} 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')}

-
    -
  • - - {t('manageNews')} +
    + {items.map((it) => ( + + {it.icon} + {it.label} + β†’ -
  • -
  • - - {t('managePrices')} - -
  • -
  • - - {t('manageVotes')} - -
  • -
  • - - {t('manageGold')} - -
  • -
  • - - {t('manageUsers')} - -
  • -
  • - - {t('manageRecruit')} - -
  • -
+ ))} +
) }