foundation: project guide, tooling, design tokens, bilingual shell and routing contracts
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
68
src/app/core/navigation/navigation.ts
Normal file
68
src/app/core/navigation/navigation.ts
Normal file
@@ -0,0 +1,68 @@
|
||||
import { type AppLocale } from '../i18n/locale';
|
||||
import { type RouteId } from '../routing/route-ids';
|
||||
|
||||
export interface NavItem {
|
||||
readonly routeId: RouteId;
|
||||
readonly label: Record<AppLocale, string>;
|
||||
readonly children?: readonly NavItem[];
|
||||
}
|
||||
|
||||
export const PRIMARY_NAV: readonly NavItem[] = [
|
||||
{
|
||||
routeId: 'home',
|
||||
label: { de: 'Start', en: 'Home' },
|
||||
},
|
||||
{
|
||||
routeId: 'services',
|
||||
label: { de: 'Leistungen', en: 'Services' },
|
||||
children: [
|
||||
{
|
||||
routeId: 'servicesSoftware',
|
||||
label: { de: 'Software', en: 'Software' },
|
||||
},
|
||||
{
|
||||
routeId: 'servicesHardwareNetwork',
|
||||
label: { de: 'Hardware und Netzwerk', en: 'Hardware and network' },
|
||||
},
|
||||
{
|
||||
routeId: 'servicesClusters',
|
||||
label: { de: 'Cluster', en: 'Clusters' },
|
||||
},
|
||||
{
|
||||
routeId: 'servicesAi',
|
||||
label: { de: 'KI-Integration', en: 'AI integration' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
routeId: 'projects',
|
||||
label: { de: 'Projekte', en: 'Projects' },
|
||||
},
|
||||
{
|
||||
routeId: 'stack',
|
||||
label: { de: 'Stack', en: 'Stack' },
|
||||
},
|
||||
{
|
||||
routeId: 'about',
|
||||
label: { de: 'Über mich', en: 'About' },
|
||||
},
|
||||
{
|
||||
routeId: 'contact',
|
||||
label: { de: 'Kontakt', en: 'Contact' },
|
||||
},
|
||||
];
|
||||
|
||||
export const FOOTER_NAV: readonly NavItem[] = [
|
||||
{
|
||||
routeId: 'imprint',
|
||||
label: { de: 'Impressum', en: 'Legal notice' },
|
||||
},
|
||||
{
|
||||
routeId: 'privacy',
|
||||
label: { de: 'Datenschutz', en: 'Privacy' },
|
||||
},
|
||||
{
|
||||
routeId: 'contact',
|
||||
label: { de: 'Kontakt', en: 'Contact' },
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user