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:
8
apps/public-web/node_modules/next/dist/client/with-router.d.ts
generated
vendored
Normal file
8
apps/public-web/node_modules/next/dist/client/with-router.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import type { BaseContext, NextComponentType, NextPageContext } from '../shared/lib/utils';
|
||||
import type { NextRouter } from './router';
|
||||
export type WithRouterProps = {
|
||||
router: NextRouter;
|
||||
};
|
||||
export type ExcludeRouterProps<P> = Pick<P, Exclude<keyof P, keyof WithRouterProps>>;
|
||||
export default function withRouter<P extends WithRouterProps, C extends BaseContext = NextPageContext>(ComposedComponent: NextComponentType<C, any, P>): React.ComponentType<ExcludeRouterProps<P>>;
|
||||
Reference in New Issue
Block a user