aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/nuldoc-src/components/GlobalFooter.ts
blob: 835d73f844dafe2bcebb7404ee0b77008f8e97f2 (plain)
1
2
3
4
5
6
7
8
9
10
import { Config } from "../config.ts";
import { elem, Element } from "../dom.ts";

export default function GlobalFooter({ config }: { config: Config }): Element {
  return elem(
    "footer",
    { class: "footer" },
    `© ${config.site.copyrightYear} ${config.site.author}`,
  );
}