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:
11
apps/public-web/node_modules/next/dist/shared/lib/segment.d.ts
generated
vendored
Normal file
11
apps/public-web/node_modules/next/dist/shared/lib/segment.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { FlightRouterState, Segment } from './app-router-types';
|
||||
export declare function getSegmentValue(segment: Segment): string;
|
||||
export declare function isGroupSegment(segment: string): boolean;
|
||||
export declare function isParallelRouteSegment(segment: string): boolean;
|
||||
export declare function addSearchParamsIfPageSegment(segment: Segment, searchParams: Record<string, string | string[] | undefined>): Segment;
|
||||
export declare function computeSelectedLayoutSegment(segments: string[] | null, parallelRouteKey: string): string | null;
|
||||
/** Get the canonical parameters from the current level to the leaf node. */
|
||||
export declare function getSelectedLayoutSegmentPath(tree: FlightRouterState, parallelRouteKey: string, first?: boolean, segmentPath?: string[]): string[];
|
||||
export declare const PAGE_SEGMENT_KEY = "__PAGE__";
|
||||
export declare const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
||||
export declare const NOT_FOUND_SEGMENT_KEY = "/_not-found";
|
||||
Reference in New Issue
Block a user