From 36cc4f1ef745a027540050ad668db3bcdc08d4b2 Mon Sep 17 00:00:00 2001
From: Brandon Eng <bce25@cornell.edu>
Date: Tue, 16 Jan 2024 22:41:46 +0700
Subject: Ability to archive groups when they’re settled up (#45)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* 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>
---
 src/app/groups/page.tsx | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'src/app/groups/page.tsx')

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>
     </>
   )
 }
-- 
cgit v1.3

