rizaldy.club/quartz/components/pages/404.tsx
Jacky Zhao 36e4cc41a9
chore(i18n): refactor and cleanup (#805)
* checkpoint

* finish

* docs
2024-02-04 20:57:10 -08:00

14 lines
371 B
TypeScript

import { i18n } from "../../i18n"
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
function NotFound({ cfg }: QuartzComponentProps) {
return (
<article class="popover-hint">
<h1>404</h1>
<p>{i18n(cfg.locale).pages.error.notFound}</p>
</article>
)
}
export default (() => NotFound) satisfies QuartzComponentConstructor