aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/page.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/page.tsx
parent6611e3a187e5398f686449938b7cf1ddbfcb5392 (diff)
Titles and navigation
Diffstat (limited to 'src/app/groups/page.tsx')
-rw-r--r--src/app/groups/page.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/groups/page.tsx b/src/app/groups/page.tsx
index 7e4f484..86c63ac 100644
--- a/src/app/groups/page.tsx
+++ b/src/app/groups/page.tsx
@@ -1,10 +1,18 @@
import { RecentGroupList } from '@/app/groups/recent-group-list'
import { Button } from '@/components/ui/button'
+import { Metadata } from 'next'
import Link from 'next/link'
+export const metadata: Metadata = {
+ title: 'Recently visited groups',
+}
+
export default async function GroupsPage() {
return (
<main>
+ <h1 className="font-bold text-2xl mb-4">
+ <Link href="/groups">Recently visited groups</Link>
+ </h1>
<Button asChild>
<Link href="/groups/create">New group</Link>
</Button>