aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/nuldoc-src/generators/about.ts
blob: 628c370ec6141c406e1b9438e358e49fba0241f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import AboutPage from "../pages/AboutPage.ts";
import { Config } from "../config.ts";
import { Page } from "../page.ts";
import { SlidePage } from "./slide.ts";

export type AboutPage = Page;

export async function generateAboutPage(
  slides: SlidePage[],
  config: Config,
): Promise<AboutPage> {
  const html = await AboutPage(slides, config);

  return {
    root: html,
    renderer: "html",
    site: "about",
    destFilePath: "/index.html",
    href: "/",
  };
}