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>
23 lines
852 B
TypeScript
23 lines
852 B
TypeScript
import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core';
|
|
import { provideRouter, withComponentInputBinding, withInMemoryScrolling } from '@angular/router';
|
|
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
|
|
import { SITE_CONTENT } from './core/content/content.token';
|
|
import { SITE_CONTENT_DATA } from './core/content/site-content';
|
|
import { routes } from './app.routes';
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideBrowserGlobalErrorListeners(),
|
|
provideRouter(
|
|
routes,
|
|
withComponentInputBinding(),
|
|
withInMemoryScrolling({
|
|
scrollPositionRestoration: 'enabled',
|
|
anchorScrolling: 'enabled',
|
|
}),
|
|
),
|
|
provideClientHydration(withEventReplay()),
|
|
{ provide: SITE_CONTENT, useValue: SITE_CONTENT_DATA },
|
|
],
|
|
};
|