Emile Bangma
2024-03-31 5ec61468d5e787b3c8ae32a2b4ef1595cf0bc3ee
1
2
3
4
5
6
7
8
9
10
11
12
13
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