From 653720bf1c83a57344c6f90fa3d903e6617e56c3 Mon Sep 17 00:00:00 2001 From: jmj Date: Tue, 2 Jul 2024 20:14:31 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=8E=A8=20design(#171):=20=EB=82=B4=20?= =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20=EA=B3=A0=EC=A0=95?= =?UTF-8?q?=EB=90=9C=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar/DashboardItem.tsx | 4 +++- .../mydashboard/DashboardList/index.tsx | 24 +++++++------------ .../InvitedDashboardList/ItemList.tsx | 7 ++---- .../InvitedDashboardList/index.tsx | 2 +- src/containers/mydashboard/index.tsx | 2 +- 5 files changed, 16 insertions(+), 23 deletions(-) diff --git a/src/components/Sidebar/DashboardItem.tsx b/src/components/Sidebar/DashboardItem.tsx index c66049f2..743af80d 100644 --- a/src/components/Sidebar/DashboardItem.tsx +++ b/src/components/Sidebar/DashboardItem.tsx @@ -19,7 +19,9 @@ export default function DashboardItem({ dashboard, nowDashboard }: DashboardItem className={`${itemClasses} flex items-center justify-center rounded-md py-3 hover:bg-violet/20 md:justify-start md:px-3`} >
-

{dashboard.title}

+
+

{dashboard.title}

+
{dashboard.createdByMe && ( my )} diff --git a/src/containers/mydashboard/DashboardList/index.tsx b/src/containers/mydashboard/DashboardList/index.tsx index afdc325a..cae24d10 100644 --- a/src/containers/mydashboard/DashboardList/index.tsx +++ b/src/containers/mydashboard/DashboardList/index.tsx @@ -43,9 +43,9 @@ export default function DashboardList() { }; return ( -
+
    -
  • +