6e7a9634d1
- Copia los logos del tema original (nw-logo -> public/brand/logo.webp, nw-long-logo -> logo-long.webp). - Header: logo + nombre. Home hero: logo largo con glow dorado. - Footer: logo + copyright + enlaces (inicio/foros/votar/registro), i18n. Verificado: logos se sirven (200), home 200. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
import { getTranslations } from 'next-intl/server'
|
|
import { Link } from '@/i18n/navigation'
|
|
|
|
export async function Footer() {
|
|
const t = await getTranslations('Nav')
|
|
return (
|
|
<footer className="mt-16 border-t border-nw-border/60 bg-nw-bg/60">
|
|
<div className="mx-auto flex max-w-5xl flex-col items-center gap-4 px-4 py-8 text-sm sm:flex-row sm:justify-between">
|
|
<div className="flex items-center gap-2 text-nw-muted">
|
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
<img src="/brand/logo.webp" alt="Nova WoW" className="h-7 w-auto opacity-80" />
|
|
<span>© 2026 Nova WoW · WotLK Classic 3.4.3</span>
|
|
</div>
|
|
<nav className="flex flex-wrap items-center justify-center gap-4 text-nw-muted">
|
|
<Link href="/" className="hover:text-nw-gold-light">
|
|
{t('home')}
|
|
</Link>
|
|
<Link href="/forum" className="hover:text-nw-gold-light">
|
|
{t('forum')}
|
|
</Link>
|
|
<Link href="/vote-points" className="hover:text-nw-gold-light">
|
|
{t('vote')}
|
|
</Link>
|
|
<Link href="/register" className="hover:text-nw-gold-light">
|
|
{t('register')}
|
|
</Link>
|
|
</nav>
|
|
</div>
|
|
</footer>
|
|
)
|
|
}
|