aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/page.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-05 17:39:05 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-05 17:39:05 -0500
commited55c696cd083bfaa5429082a9c5edd4ebde0cd8 (patch)
tree9f387881f85716bcb4a05d6fce13bfe59fbc9c17 /src/app/groups/page.tsx
parent1fd6e48807d455f66d9cd79db64cbf9e9f947c6c (diff)
First version
Diffstat (limited to 'src/app/groups/page.tsx')
-rw-r--r--src/app/groups/page.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/app/groups/page.tsx b/src/app/groups/page.tsx
new file mode 100644
index 0000000..7e4f484
--- /dev/null
+++ b/src/app/groups/page.tsx
@@ -0,0 +1,14 @@
+import { RecentGroupList } from '@/app/groups/recent-group-list'
+import { Button } from '@/components/ui/button'
+import Link from 'next/link'
+
+export default async function GroupsPage() {
+ return (
+ <main>
+ <Button asChild>
+ <Link href="/groups/create">New group</Link>
+ </Button>
+ <RecentGroupList />
+ </main>
+ )
+}