import { i18n } from "../../i18n" import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types" const NotFound: QuartzComponent = ({ cfg, ctx }: QuartzComponentProps) => { const url = new URL(`https://${cfg.baseUrl ?? "example.com"}`) const baseDir = ctx.argv.serve ? "/" : url.pathname return (

404

{i18n(cfg.locale).pages.error.notFound}

{i18n(cfg.locale).pages.error.home}