feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell

- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
This commit is contained in:
PascalSchattenburg
2026-01-22 14:14:15 +01:00
parent b717952234
commit d147843c76
10412 changed files with 2475583 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import '../build/polyfills/polyfill-module';
import type Router from '../shared/lib/router/router';
import type { MittEmitter } from '../shared/lib/mitt';
import type { NEXT_DATA } from '../shared/lib/utils';
declare global {
interface Window {
__NEXT_HYDRATED?: boolean;
__NEXT_HYDRATED_AT?: number;
__NEXT_HYDRATED_CB?: () => void;
__NEXT_DATA__: NEXT_DATA;
__NEXT_P: any[];
}
}
export declare const version: string | undefined;
export declare let router: Router;
export declare const emitter: MittEmitter<string>;
export declare function initialize(opts?: {
devClient?: any;
}): Promise<{
assetPrefix: string;
}>;
export declare function hydrate(opts?: {
beforeRender?: () => Promise<void>;
}): Promise<void>;