forge
Explore
Log in

Don't you dare go Hollow

hezarfen_landing

Clone
★ 0

0 watching0 forksTypeScript581.6 KiB94b1804Burak Boduroğlu2 months ago15 commits

NotFound.tsx26 lines, 810 bytesHistoryRawDownload
1import { A } from "@solidjs/router";
2import { HttpStatusCode } from "@solidjs/start";
3import Seo from "./Seo";
4import { MissingPageIllustration } from "./illustrations/edu";
5import { PixelArrowRight } from "./icons/pixel";
6import { routes } from "~/config";
7import { t } from "~/i18n";
8
9export default function NotFound() {
10 return (
11 <>
12 <HttpStatusCode code={404} />
13 <Seo title={t.notFound.title} description={t.notFound.subtitle} />
14
15 <section class="hz-404">
16 <MissingPageIllustration />
17 <h1 class="hz-h2">{t.notFound.title}</h1>
18 <p class="hz-lead">{t.notFound.subtitle}</p>
19 <A href={routes.home} class="hz-btn hz-btn-ghost mt-2">
20 {t.notFound.action}
21 <PixelArrowRight aria-hidden="true" />
22 </A>
23 </section>
24 </>
25 );
26}