From 0b27f90fb76a2492c17a958b6dd807e6fbbf8030 Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Thu, 7 Dec 2023 16:44:01 -0500
Subject: Titles and navigation

---
 src/app/groups/not-found.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/app/groups/not-found.tsx

(limited to 'src/app/groups/not-found.tsx')

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>
+  )
+}
-- 
cgit v1.3

