mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-27 05:46:22 +00:00
36e4cc41a9
* checkpoint * finish * docs
13 lines
371 B
TypeScript
13 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
|