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:
19
apps/public-web/node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
19
apps/public-web/node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Fill the dynamic segment in the metadata route
|
||||
*
|
||||
* Example:
|
||||
* fillMetadataSegment('/a/[slug]', { params: { slug: 'b' } }, 'open-graph') -> '/a/b/open-graph'
|
||||
*
|
||||
*/
|
||||
export declare function fillMetadataSegment(segment: string, params: any, lastSegment: string): string;
|
||||
/**
|
||||
* Map metadata page key to the corresponding route
|
||||
*
|
||||
* static file page key: /app/robots.txt -> /robots.xml -> /robots.txt/route
|
||||
* dynamic route page key: /app/robots.tsx -> /robots -> /robots.txt/route
|
||||
*
|
||||
* @param page
|
||||
* @returns
|
||||
*/
|
||||
export declare function normalizeMetadataRoute(page: string): string;
|
||||
export declare function normalizeMetadataPageToRoute(page: string, isDynamic: boolean): string;
|
||||
Reference in New Issue
Block a user