diff options
| author | Brandon Eng <bce25@cornell.edu> | 2024-01-16 22:41:46 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 10:41:46 -0500 |
| commit | 36cc4f1ef745a027540050ad668db3bcdc08d4b2 (patch) | |
| tree | 73d45c30b1e17e92b676701ba9ee3f6fb1071870 /src/app/groups/page.tsx | |
| parent | 1141501edb6611b7ac147b6ceefb963ba1f83606 (diff) | |
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>
Diffstat (limited to 'src/app/groups/page.tsx')
| -rw-r--r-- | src/app/groups/page.tsx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/app/groups/page.tsx b/src/app/groups/page.tsx index 8aeeb59..967c6b7 100644 --- a/src/app/groups/page.tsx +++ b/src/app/groups/page.tsx @@ -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> </> ) } |
