Jacky Zhao
2024-02-11 ab0e20b4d0ad1e650126ffd0afa7d0ed6bd46da2
1
2
3
4
5
6
7
8
9
10
11
12
13
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