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:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user