Translation files, step 2: navigation, footer and contact details in site.json
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+10
-9
@@ -1,4 +1,5 @@
|
||||
import shootTypes from './content/shootTypes.ts';
|
||||
import { t } from './i18n/index.ts';
|
||||
import { shootNavItems } from './lib/shootNavItems.ts';
|
||||
import type { FileRoutesByTo } from './routeTree.gen.ts';
|
||||
|
||||
@@ -23,22 +24,22 @@ export function hasChildren(
|
||||
|
||||
// Hoofdmenu: desktopnavigatie en mobiel menu
|
||||
export const mainNav: readonly NavItem[] = [
|
||||
{ to: '/', label: 'Home' },
|
||||
{ to: '/over-mij', label: 'Over mij' },
|
||||
{ to: '/portfolio', label: 'Portfolio' },
|
||||
{ to: '/', label: t('site.nav.items.home') },
|
||||
{ to: '/over-mij', label: t('site.nav.items.about') },
|
||||
{ to: '/portfolio', label: t('site.nav.items.portfolio') },
|
||||
{
|
||||
to: '/soorten-fotoshoots',
|
||||
label: 'Soorten fotoshoots',
|
||||
label: t('site.nav.items.shoots'),
|
||||
// One source: a new shoot type shows up in the menu by itself (D5)
|
||||
children: shootNavItems(shootTypes),
|
||||
},
|
||||
{ to: '/contact', label: 'Contact' },
|
||||
{ to: '/contact', label: t('site.nav.items.contact') },
|
||||
];
|
||||
|
||||
// Menu in de onderste footerbalk
|
||||
export const footerNav: readonly NavItem[] = [
|
||||
{ to: '/portfolio', label: 'Portfolio' },
|
||||
{ to: '/soorten-fotoshoots', label: 'Soorten fotoshoots' },
|
||||
{ to: '/contact', label: 'Contact' },
|
||||
{ to: '/privacyverklaring', label: 'Privacyverklaring' },
|
||||
{ to: '/portfolio', label: t('site.nav.items.portfolio') },
|
||||
{ to: '/soorten-fotoshoots', label: t('site.nav.items.shoots') },
|
||||
{ to: '/contact', label: t('site.nav.items.contact') },
|
||||
{ to: '/privacyverklaring', label: t('site.nav.items.privacy') },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user