mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
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
|