mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 14:54:26 +01:00
23 lines
797 B
TypeScript
23 lines
797 B
TypeScript
import { Title } from "solid-start";
|
|
import { HttpStatusCode } from "solid-start/server";
|
|
import { ButtonLink, DefaultMain, LargeHeader, SafeArea } from "~/components";
|
|
import { useI18n } from "~/i18n/context";
|
|
|
|
export default function NotFound() {
|
|
const i18n = useI18n();
|
|
return (
|
|
<SafeArea>
|
|
<Title>{i18n.t("error.not_found.title")}</Title>
|
|
<HttpStatusCode code={404} />
|
|
<DefaultMain>
|
|
<LargeHeader>{i18n.t("error.not_found.title")}</LargeHeader>
|
|
<p>{i18n.t("error.not_found.wtf_paul")}</p>
|
|
<div class="h-full" />
|
|
<ButtonLink href="/" intent="red">
|
|
{i18n.t("common.dangit")}
|
|
</ButtonLink>
|
|
</DefaultMain>
|
|
</SafeArea>
|
|
);
|
|
}
|