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:
24
apps/public-web/node_modules/next/dist/client/script.d.ts
generated
vendored
Normal file
24
apps/public-web/node_modules/next/dist/client/script.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import React, { type JSX } from 'react';
|
||||
import type { ScriptHTMLAttributes } from 'react';
|
||||
export interface ScriptProps extends ScriptHTMLAttributes<HTMLScriptElement> {
|
||||
strategy?: 'afterInteractive' | 'lazyOnload' | 'beforeInteractive' | 'worker';
|
||||
id?: string;
|
||||
onLoad?: (e: any) => void;
|
||||
onReady?: () => void | null;
|
||||
onError?: (e: any) => void;
|
||||
children?: React.ReactNode;
|
||||
stylesheets?: string[];
|
||||
}
|
||||
/**
|
||||
* @deprecated Use `ScriptProps` instead.
|
||||
*/
|
||||
export type Props = ScriptProps;
|
||||
export declare function handleClientScriptLoad(props: ScriptProps): void;
|
||||
export declare function initScriptLoader(scriptLoaderItems: ScriptProps[]): void;
|
||||
/**
|
||||
* Load a third-party scripts in an optimized way.
|
||||
*
|
||||
* Read more: [Next.js Docs: `next/script`](https://nextjs.org/docs/app/api-reference/components/script)
|
||||
*/
|
||||
declare function Script(props: ScriptProps): JSX.Element | null;
|
||||
export default Script;
|
||||
Reference in New Issue
Block a user