Aaron Pham
2024-02-04 5b90fbd0d0ac93a6ef5921f7693d36574224531c
quartz/components/pages/404.tsx
@@ -1,10 +1,11 @@
import { QuartzComponentConstructor } from "../types"
import { i18n } from "../../i18n/i18next"
import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
function NotFound() {
function NotFound({ cfg }: QuartzComponentProps) {
  return (
    <article class="popover-hint">
      <h1>404</h1>
      <p>Either this page is private or doesn't exist.</p>
      <p>{i18n(cfg.locale, "404")}</p>
    </article>
  )
}