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 ✅
26 lines
1.0 KiB
TypeScript
26 lines
1.0 KiB
TypeScript
import type { Loader } from './types.js';
|
|
export interface GenerateIdOptions {
|
|
/** The path to the entry file, relative to the base directory. */
|
|
entry: string;
|
|
/** The base directory URL. */
|
|
base: URL;
|
|
/** The parsed, unvalidated data of the entry. */
|
|
data: Record<string, unknown>;
|
|
}
|
|
export interface GlobOptions {
|
|
/** The glob pattern to match files, relative to the base directory */
|
|
pattern: string;
|
|
/** The base directory to resolve the glob pattern from. Relative to the root directory, or an absolute file URL. Defaults to `.` */
|
|
base?: string | URL;
|
|
/**
|
|
* Function that generates an ID for an entry. Default implementation generates a slug from the entry path.
|
|
* @returns The ID of the entry. Must be unique per collection.
|
|
**/
|
|
generateId?: (options: GenerateIdOptions) => string;
|
|
}
|
|
/**
|
|
* Loads multiple entries, using a glob pattern to match files.
|
|
* @param pattern A glob pattern to match files, relative to the content directory.
|
|
*/
|
|
export declare function glob(globOptions: GlobOptions): Loader;
|