fix: Locale-Prefix in Links entfernt

- Link-Komponente aus @/lib/navigation fügt Locale automatisch hinzu
- Links verwenden jetzt relative Pfade ohne Locale-Prefix
- Behebt 404-Fehler bei /en/en/curator/help
This commit is contained in:
Hördle Bot
2025-12-04 01:11:56 +01:00
parent 4074cdfe00
commit c250b5fff9
2 changed files with 2 additions and 2 deletions

View File

@@ -808,7 +808,7 @@ export default function CuratorPageClient() {
</div>
<div style={{ display: 'flex', gap: '0.5rem', alignItems: 'center' }}>
<Link
href={`/${locale}/curator/help`}
href="/curator/help"
style={{
padding: '0.5rem 1rem',
background: '#3b82f6',

View File

@@ -13,7 +13,7 @@ export default function CuratorHelpClient() {
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<h1 style={{ fontSize: '1.75rem', marginBottom: '0.25rem' }}>{t('title')}</h1>
<Link
href={`/${locale}/curator`}
href="/curator"
style={{
padding: '0.5rem 1rem',
background: '#6b7280',