From 60dec6e3be68a7f14ffae1f527c671e5d90e7f04 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:24:33 +0100 Subject: [PATCH] feat: add 404 page (#145) --- .../app/[locale]/manage/[...not-found]/page.tsx | 16 ++++++++++++++++ packages/translation/src/lang/en.ts | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 apps/nextjs/src/app/[locale]/manage/[...not-found]/page.tsx diff --git a/apps/nextjs/src/app/[locale]/manage/[...not-found]/page.tsx b/apps/nextjs/src/app/[locale]/manage/[...not-found]/page.tsx new file mode 100644 index 000000000..8bc3bd558 --- /dev/null +++ b/apps/nextjs/src/app/[locale]/manage/[...not-found]/page.tsx @@ -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 ( +