aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/not-found.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-07 16:44:01 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-07 16:44:01 -0500
commit0b27f90fb76a2492c17a958b6dd807e6fbbf8030 (patch)
treebfc9c0e533eb28b43bcded9c53020dc15bca1955 /src/app/groups/not-found.tsx
parent6611e3a187e5398f686449938b7cf1ddbfcb5392 (diff)
Titles and navigation
Diffstat (limited to 'src/app/groups/not-found.tsx')
-rw-r--r--src/app/groups/not-found.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/groups/not-found.tsx b/src/app/groups/not-found.tsx
new file mode 100644
index 0000000..d4532e1
--- /dev/null
+++ b/src/app/groups/not-found.tsx
@@ -0,0 +1,15 @@
+import { Button } from '@/components/ui/button'
+import Link from 'next/link'
+
+export default function NotFound() {
+ return (
+ <div className="flex flex-col gap-2">
+ <p>This group does not exist.</p>
+ <p>
+ <Button asChild variant="secondary">
+ <Link href="/groups">Go to recently visited groups</Link>
+ </Button>
+ </p>
+ </div>
+ )
+}