- 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
15 lines
721 B
TypeScript
15 lines
721 B
TypeScript
import type { CssResource } from '../../build/webpack/plugins/flight-manifest-plugin';
|
|
import type { AppRenderContext } from './app-render';
|
|
import type { PreloadCallbacks } from './types';
|
|
/**
|
|
* Abstracts the rendering of CSS files based on whether they are inlined or not.
|
|
* For inlined CSS, renders a <style> tag with the CSS content directly embedded.
|
|
* For external CSS files, renders a <link> tag pointing to the CSS file.
|
|
*/
|
|
export declare function renderCssResource(entryCssFiles: CssResource[], ctx: AppRenderContext, preloadCallbacks?: PreloadCallbacks): import("react").DetailedReactHTMLElement<{
|
|
key: number;
|
|
nonce: string | undefined;
|
|
precedence: string;
|
|
href: string;
|
|
}, HTMLElement>[];
|