From c066254a9e6a423e5835b8f76388fc46a6029776 Mon Sep 17 00:00:00 2001 From: Hyelim Choi Date: Mon, 7 Oct 2024 16:37:07 +0900 Subject: [PATCH 1/8] =?UTF-8?q?feat:=20=EB=9E=9C=EB=94=A9=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=A0=91=EA=B7=BC=EC=84=B1=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Landing/FifthSection.tsx | 2 +- frontend/src/components/Landing/FirstSection.tsx | 8 ++++---- frontend/src/components/Landing/FourthSection.tsx | 4 ++-- frontend/src/components/Landing/SecondSection.tsx | 2 +- frontend/src/components/Landing/ThirdSection.tsx | 4 ++-- frontend/src/components/_common/Button/Button.tsx | 1 + frontend/src/components/_common/Footer/FooterButton.tsx | 8 ++++---- frontend/src/components/_common/Header/Header.tsx | 2 +- .../components/_common/KakaoLogin/KakaoLoginButton.tsx | 5 +++-- 9 files changed, 19 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/Landing/FifthSection.tsx b/frontend/src/components/Landing/FifthSection.tsx index dd6fcb0ac..b9d1087f2 100644 --- a/frontend/src/components/Landing/FifthSection.tsx +++ b/frontend/src/components/Landing/FifthSection.tsx @@ -13,7 +13,7 @@ const FifthSection = () => { 시작해 볼까요? - + diff --git a/frontend/src/components/Landing/FirstSection.tsx b/frontend/src/components/Landing/FirstSection.tsx index 99d6f286a..5ab72b6dc 100644 --- a/frontend/src/components/Landing/FirstSection.tsx +++ b/frontend/src/components/Landing/FirstSection.tsx @@ -12,15 +12,15 @@ const FirstSection = () => { return ( <> - + @@ -29,7 +29,7 @@ const FirstSection = () => { 방끗을 소개할게요! - + diff --git a/frontend/src/components/Landing/FourthSection.tsx b/frontend/src/components/Landing/FourthSection.tsx index ab4ba211c..1bb669833 100644 --- a/frontend/src/components/Landing/FourthSection.tsx +++ b/frontend/src/components/Landing/FourthSection.tsx @@ -29,12 +29,12 @@ const FourthSection = () => { - + 방 구하기 초보라 아무것도 모르겠다면,
- 집 구하기 꿀팁이 담긴 아티클을 + 방 구하기 꿀팁이 담긴 아티클
읽으면서 방 구하기 고수가 되어보아요! diff --git a/frontend/src/components/Landing/SecondSection.tsx b/frontend/src/components/Landing/SecondSection.tsx index 221a7561e..e878d54e6 100644 --- a/frontend/src/components/Landing/SecondSection.tsx +++ b/frontend/src/components/Landing/SecondSection.tsx @@ -32,7 +32,7 @@ const SecondSection = () => { - + ); diff --git a/frontend/src/components/Landing/ThirdSection.tsx b/frontend/src/components/Landing/ThirdSection.tsx index 46c523366..9d49a46fe 100644 --- a/frontend/src/components/Landing/ThirdSection.tsx +++ b/frontend/src/components/Landing/ThirdSection.tsx @@ -62,9 +62,9 @@ const ThirdSection = () => { - + - + diff --git a/frontend/src/components/_common/Button/Button.tsx b/frontend/src/components/_common/Button/Button.tsx index 9ebeafe65..0b5c24f01 100644 --- a/frontend/src/components/_common/Button/Button.tsx +++ b/frontend/src/components/_common/Button/Button.tsx @@ -37,6 +37,7 @@ const Button = ({ onClick={color !== 'disabled' ? onClick : () => {}} {...rest} disabled={disabled} + aria-label={label} > {Icon && } diff --git a/frontend/src/components/_common/Footer/FooterButton.tsx b/frontend/src/components/_common/Footer/FooterButton.tsx index 5331f4432..4cfbd9818 100644 --- a/frontend/src/components/_common/Footer/FooterButton.tsx +++ b/frontend/src/components/_common/Footer/FooterButton.tsx @@ -22,25 +22,25 @@ const FooterButton = ({ logo, isActive = false }: Props) => { {logo === 'home' && ( <> - + )} {logo === 'checklist' && ( <> - + 체크리스트 )} {logo === 'article' && ( <> -
+
아티클 )} {logo === 'profile' && ( <> - + 마이페이지 )} diff --git a/frontend/src/components/_common/Header/Header.tsx b/frontend/src/components/_common/Header/Header.tsx index ed1726f3c..6deafefcd 100644 --- a/frontend/src/components/_common/Header/Header.tsx +++ b/frontend/src/components/_common/Header/Header.tsx @@ -81,7 +81,7 @@ const Header = Object.assign(HeaderWrapper, { Logo: () => { return ( - + ); }, diff --git a/frontend/src/components/_common/KakaoLogin/KakaoLoginButton.tsx b/frontend/src/components/_common/KakaoLogin/KakaoLoginButton.tsx index 511ec5071..76a4a5265 100644 --- a/frontend/src/components/_common/KakaoLogin/KakaoLoginButton.tsx +++ b/frontend/src/components/_common/KakaoLogin/KakaoLoginButton.tsx @@ -9,7 +9,7 @@ const KakaoLoginButton = () => { return ( - + ); @@ -22,7 +22,8 @@ const S = { width: 100%; height: 5rem; ${flexRow} - justify-content: space-evenly; + gap: 0.5rem; + justify-content: center; align-items: center; border-radius: 0.8rem; From 2efe537c32dffc3203f48c37184f925c2b4dc2d0 Mon Sep 17 00:00:00 2001 From: Hyelim Choi Date: Mon, 7 Oct 2024 16:54:22 +0900 Subject: [PATCH 2/8] =?UTF-8?q?refactor:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=9D=BC=EB=B2=A8=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ChecklistList/ChecklistCard.tsx | 2 +- frontend/src/components/ChecklistList/CustomBanner.tsx | 4 ++-- frontend/src/components/Main/ArticlePreviewCard.tsx | 9 +++++++-- frontend/src/components/Main/ArticleSection.tsx | 4 ++-- frontend/src/components/Main/ChecklistPreviewCard.tsx | 2 +- .../components/NewChecklist/NewRoomInfoForm/Address.tsx | 2 +- frontend/src/components/_common/Button/Button.tsx | 2 +- frontend/src/components/_common/Header/Header.tsx | 3 ++- frontend/src/components/_common/Like/LikeButton.tsx | 1 + frontend/src/pages/ChecklistListPage.tsx | 2 +- frontend/src/pages/MyPage.tsx | 2 +- 11 files changed, 20 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/ChecklistList/ChecklistCard.tsx b/frontend/src/components/ChecklistList/ChecklistCard.tsx index 6e8ce0d5e..b1dfb5dbb 100644 --- a/frontend/src/components/ChecklistList/ChecklistCard.tsx +++ b/frontend/src/components/ChecklistList/ChecklistCard.tsx @@ -24,7 +24,7 @@ const ChecklistCard = ({ checklist }: Props) => { - + diff --git a/frontend/src/components/ChecklistList/CustomBanner.tsx b/frontend/src/components/ChecklistList/CustomBanner.tsx index 6772372ff..09e8deac2 100644 --- a/frontend/src/components/ChecklistList/CustomBanner.tsx +++ b/frontend/src/components/ChecklistList/CustomBanner.tsx @@ -11,7 +11,7 @@ const CustomBanner = ({ onClick }: Props) => { return ( - + 편집하기 @@ -46,7 +46,7 @@ const S = { Title: styled.span` ${flexCenter} `, - Button: styled.div` + Button: styled.button` padding: 0.4rem 0.8rem; background-color: ${({ theme }) => theme.palette.green500}; diff --git a/frontend/src/components/Main/ArticlePreviewCard.tsx b/frontend/src/components/Main/ArticlePreviewCard.tsx index f74ba2646..3ed54a1a1 100644 --- a/frontend/src/components/Main/ArticlePreviewCard.tsx +++ b/frontend/src/components/Main/ArticlePreviewCard.tsx @@ -24,11 +24,16 @@ const ArticlePreviewCard = ({ index, article }: Props) => { }; return ( - + {keyword} {title} - + ); diff --git a/frontend/src/components/Main/ArticleSection.tsx b/frontend/src/components/Main/ArticleSection.tsx index 40d6bec9a..762419261 100644 --- a/frontend/src/components/Main/ArticleSection.tsx +++ b/frontend/src/components/Main/ArticleSection.tsx @@ -50,12 +50,12 @@ const S = { Title: styled.div` ${title4} `, - ShowMore: styled.div` + ShowMore: styled.button` color: ${({ theme }) => theme.palette.grey400}; font-size: ${({ theme }) => theme.text.size.small}; cursor: pointer; `, - CardList: styled.div` + CardList: styled.article` box-sizing: border-box; min-width: 100%; diff --git a/frontend/src/components/Main/ChecklistPreviewCard.tsx b/frontend/src/components/Main/ChecklistPreviewCard.tsx index 64517090d..d31a174fc 100644 --- a/frontend/src/components/Main/ChecklistPreviewCard.tsx +++ b/frontend/src/components/Main/ChecklistPreviewCard.tsx @@ -26,7 +26,7 @@ const ChecklistPreviewCard = ({ index, checklist }: Props) => { return ( - +