feat: add 404 page (#145)

This commit is contained in:
Manuel
2024-02-21 21:24:33 +01:00
committed by GitHub
parent 5d68300600
commit 60dec6e3be
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { getScopedI18n } from "@homarr/translation/server";
import { Center, Stack, Text, Title } from "@homarr/ui";
export default async function NotFound() {
const t = await getScopedI18n("management.notFound");
return (
<Center h="100%">
<Stack align="center">
<Title order={1} tt="uppercase">
{t("title")}
</Title>
<Text>{t("text")}</Text>
</Stack>
</Center>
);
}