import { i18n } from "../../i18n" import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types" const NotFound: QuartzComponent = ({ cfg }: QuartzComponentProps) => { // If baseUrl contains a pathname after the domain, use this as the home link const url = new URL(`https://${cfg.baseUrl ?? "example.com"}`) const baseDir = url.pathname return (

404

This page doesn't exist, which almost certainly means I haven't written it yet.

I'm actively working on this site, so it should work in the next few weeks.

{i18n(cfg.locale).pages.error.home}
) } export default (() => NotFound) satisfies QuartzComponentConstructor