Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

✨ Add not found page in settings layout

Luke Vellacad78bd83c16
diff --git a/apps/web/src/app/[locale]/(space)/settings/[...notfound]/page.tsx b/apps/web/src/app/[locale]/(space)/settings/[...notfound]/page.tsx
new file mode 100644
index 000000000..44380bf3b
--- /dev/null
+++ b/apps/web/src/app/[locale]/(space)/settings/[...notfound]/page.tsx
@@ -0,0 +1,26 @@
+import { FileSearchIcon } from "lucide-react";
+import {
+ EmptyState,
+ EmptyStateDescription,
+ EmptyStateIcon,
+ EmptyStateTitle,
+} from "@/components/empty-state";
+import { Trans } from "@/components/trans";
+
+export default function NotFound() {
+ return (
+ <div className="flex h-full items-center justify-center">
+ <EmptyState>
+ <EmptyStateIcon>
+ <FileSearchIcon />
+ </EmptyStateIcon>
+ <EmptyStateTitle>
+ <Trans i18nKey="errors_notFoundTitle" />
+ </EmptyStateTitle>
+ <EmptyStateDescription>
+ <Trans i18nKey="errors_notFoundDescription" />
+ </EmptyStateDescription>
+ </EmptyState>
+ </div>
+ );
+}