site/quartz/components/pages/404.tsx

14 lines
408 B
TypeScript
Raw Normal View History

2024-04-05 00:03:11 +00:00
import { i18n } from "../../i18n"
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types"
const NotFound: QuartzComponent = ({ cfg }: QuartzComponentProps) => {
return (
<article class="popover-hint">
<h1>404</h1>
<p>{i18n(cfg.locale).pages.error.notFound}</p>
</article>
)
}
export default (() => NotFound) satisfies QuartzComponentConstructor