2024-02-05 04:57:10 +00:00
|
|
|
import { i18n } from "../../i18n"
|
2024-02-04 03:55:24 +00:00
|
|
|
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
|
2023-09-07 04:02:21 +00:00
|
|
|
|
2024-02-04 03:55:24 +00:00
|
|
|
function NotFound({ cfg }: QuartzComponentProps) {
|
2023-09-07 04:02:21 +00:00
|
|
|
return (
|
|
|
|
<article class="popover-hint">
|
|
|
|
<h1>404</h1>
|
2024-02-05 04:57:10 +00:00
|
|
|
<p>{i18n(cfg.locale).pages.error.notFound}</p>
|
2023-09-07 04:02:21 +00:00
|
|
|
</article>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default (() => NotFound) satisfies QuartzComponentConstructor
|