kwyuan
2024-04-09 1f032f538b4ce9f477b92be2da68d50606802c6d
quartz/components/pages/404.tsx
@@ -1,11 +1,11 @@
import { i18n } from "../../i18n/i18next"
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
import { i18n } from "../../i18n"
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types"
function NotFound({ cfg }: QuartzComponentProps) {
const NotFound: QuartzComponent = ({ cfg }: QuartzComponentProps) => {
  return (
    <article class="popover-hint">
      <h1>404</h1>
      <p>{i18n(cfg.locale, "404")}</p>
      <p>{i18n(cfg.locale).pages.error.notFound}</p>
    </article>
  )
}