aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/page.tsx
diff options
context:
space:
mode:
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>
+ )
+}