import GlobalFooter from "../components/GlobalFooter.tsx"; import { renderToDOM } from "../jsx/render.ts"; import GlobalHeader from "../components/GlobalHeader.tsx"; import PageLayout from "../components/PageLayout.tsx"; import { Config } from "../config.ts"; import { Page } from "../page.ts"; export type HomePage = Page; export async function generateHomePage(config: Config): Promise { const html = await renderToDOM(
, ); return { root: html, renderer: "html", destFilePath: "/index.html", href: "/", }; }