mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-04 20:06:11 +01:00
Titles and navigation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user