mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-03 19:46:13 +01:00
Ability to archive groups when they’re settled up (#45)
* Settled up icon on group card * remove logs * archived groups * remove settled up * remove more settled up * recent-group-list-card * sortGroups * archiveGroup * unarchiveGroup * clean up * more clean up * Prettier, fix TS errors, add titles --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
This commit is contained in:
@@ -11,18 +11,19 @@ export const metadata: Metadata = {
|
||||
export default async function GroupsPage() {
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 items-start">
|
||||
<div className="flex justify-between items-center gap-4">
|
||||
<h1 className="font-bold text-2xl">
|
||||
<Link href="/groups">Recently visited groups</Link>
|
||||
<Link href="/groups">My groups</Link>
|
||||
</h1>
|
||||
<Button asChild>
|
||||
<Button asChild size="icon">
|
||||
<Link href="/groups/create">
|
||||
<Plus className="w-4 h-4 mr-2" />
|
||||
Create group
|
||||
<Plus className="w-4 h-4" />
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
<RecentGroupList />
|
||||
<div>
|
||||
<RecentGroupList />
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user