content: replace scaffolding with bilingual pages and case studies

Ship the final German and English copy, compose every route from shared page primitives, and cover claims, parity and contact briefing in tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 17:34:04 +02:00
parent 9ea2885c7b
commit d954361724
95 changed files with 4161 additions and 419 deletions

View File

@@ -1,6 +1,6 @@
import { type Type } from '@angular/core';
import { type Routes } from '@angular/router';
import { PLACEHOLDER_CONTENT } from './core/content/placeholder-content';
import { SITE_CONTENT_DATA } from './core/content/site-content';
import { localeResolver } from './core/i18n/locale.resolver';
import { type AppLocale } from './core/i18n/locale';
import { type AppRouteData } from './core/routing/app-route-data';
@@ -39,14 +39,14 @@ function routeData(routeId: RouteId, locale: AppLocale): AppRouteData {
function localeRoutes(locale: AppLocale): Routes {
const segments = ROUTE_SEGMENTS[locale];
const pages = PLACEHOLDER_CONTENT[locale].pages;
const pages = SITE_CONTENT_DATA[locale].pages;
return ROUTE_IDS.filter((routeId) => routeId !== 'notFound')
.map((routeId) => ({
path: segments[routeId],
loadComponent: PAGE_LOADERS[routeId],
data: routeData(routeId, locale),
title: pages[routeId]?.title,
title: pages[routeId].title,
resolve: { locale: localeResolver },
}))
.concat([
@@ -54,7 +54,7 @@ function localeRoutes(locale: AppLocale): Routes {
path: '**',
loadComponent: PAGE_LOADERS.notFound,
data: routeData('notFound', locale),
title: pages.notFound?.title,
title: pages.notFound.title,
resolve: { locale: localeResolver },
},
]);