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:
14
apps/public-web/node_modules/next/dist/esm/lib/is-internal-component.js
generated
vendored
Normal file
14
apps/public-web/node_modules/next/dist/esm/lib/is-internal-component.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export function isInternalComponent(pathname) {
|
||||
switch(pathname){
|
||||
case 'next/dist/pages/_app':
|
||||
case 'next/dist/pages/_document':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
export function isNonRoutePagesPage(pathname) {
|
||||
return pathname === '/_app' || pathname === '/_document';
|
||||
}
|
||||
|
||||
//# sourceMappingURL=is-internal-component.js.map
|
||||
Reference in New Issue
Block a user