From d6a5b3fd5c6f206c388ffcbea241aca9964b6ab9 Mon Sep 17 00:00:00 2001 From: ParkSohyunee Date: Thu, 1 Feb 2024 20:35:50 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=B9=84=EA=B3=B5=EA=B0=9C=20=EB=94=94=EC=9E=90=EC=9D=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/icons/lock_alt.svg | 4 ++-- src/app/[userNickname]/_components/Card.css.ts | 11 +++++++++++ src/app/[userNickname]/_components/Card.tsx | 11 ++++++----- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/public/icons/lock_alt.svg b/public/icons/lock_alt.svg index fb49bcad..231ca711 100644 --- a/public/icons/lock_alt.svg +++ b/public/icons/lock_alt.svg @@ -1,3 +1,3 @@ - - + + diff --git a/src/app/[userNickname]/_components/Card.css.ts b/src/app/[userNickname]/_components/Card.css.ts index 1cadffc5..0c685b9f 100644 --- a/src/app/[userNickname]/_components/Card.css.ts +++ b/src/app/[userNickname]/_components/Card.css.ts @@ -35,6 +35,17 @@ export const list = style({ }); export const lockIcon = style({ + padding: '0 1rem', + display: 'flex', justifyContent: 'flex-end', + alignItems: 'center', + gap: '2px', +}); + +export const lockText = style({ + fontSize: '1.1rem', + fontWeight: '400', + letterSpacing: '-0.33px', + color: '#AFB1B6', }); diff --git a/src/app/[userNickname]/_components/Card.tsx b/src/app/[userNickname]/_components/Card.tsx index 9978bdfa..8869df5d 100644 --- a/src/app/[userNickname]/_components/Card.tsx +++ b/src/app/[userNickname]/_components/Card.tsx @@ -26,17 +26,18 @@ export default function Card({ list, isOwner }: CardProps) { [styles.listColor]: `${list.backgroundColor}`, })} > + {isVisibleLockIcon && ( +
+ 비공개 + +
+ )}

{list.title}

- {isVisibleLockIcon && ( -
- -
- )} ); }