CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
23 lines
838 B
TypeScript
23 lines
838 B
TypeScript
import type { LoaderEvents, ModuleLoader } from '../core/module-loader/index.js';
|
|
import type { ServerState } from './server-state.js';
|
|
type ReloadFn = () => void;
|
|
export interface DevServerController {
|
|
state: ServerState;
|
|
onFileChange: LoaderEvents['file-change'];
|
|
onHMRError: LoaderEvents['hmr-error'];
|
|
}
|
|
export type CreateControllerParams = {
|
|
loader: ModuleLoader;
|
|
} | {
|
|
reload: ReloadFn;
|
|
};
|
|
export declare function createController(params: CreateControllerParams): DevServerController;
|
|
export interface RunWithErrorHandlingParams {
|
|
controller: DevServerController;
|
|
pathname: string;
|
|
run: () => Promise<any>;
|
|
onError: (error: unknown) => Error;
|
|
}
|
|
export declare function runWithErrorHandling({ controller: { state }, pathname, run, onError, }: RunWithErrorHandlingParams): Promise<void>;
|
|
export {};
|