From 786a16970fbf314fc22d09b810c1c6129d510dfc Mon Sep 17 00:00:00 2001 From: sayyyho <323psh@naver.com> Date: Sun, 3 Nov 2024 01:12:35 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20-=20=EB=AF=B8=EC=99=84=EC=84=B1=20?= =?UTF-8?q?=ED=8C=8C=ED=8A=B8=20TODO=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/create/TeamButton.tsx | 19 +++++++++++++++++-- src/components/create/style.ts | 8 ++++---- .../invite/profile/DeactivatedProfile.tsx | 4 +++- src/components/invite/profile/style.ts | 2 +- src/pages/confirm/Confirm.tsx | 7 +++---- src/pages/create/Create.tsx | 2 +- src/pages/invite/Invite.tsx | 7 ++++++- src/pages/result/Result.tsx | 2 +- src/pages/test/Test.tsx | 3 +++ 9 files changed, 39 insertions(+), 15 deletions(-) diff --git a/src/components/create/TeamButton.tsx b/src/components/create/TeamButton.tsx index c8e3b03..d5258bf 100644 --- a/src/components/create/TeamButton.tsx +++ b/src/components/create/TeamButton.tsx @@ -10,10 +10,25 @@ export default function TeamButton() { return ( - - + + - + {count} 명 - + + + + + + + ); } diff --git a/src/components/create/style.ts b/src/components/create/style.ts index 3411e67..ed3d1d5 100644 --- a/src/components/create/style.ts +++ b/src/components/create/style.ts @@ -11,15 +11,15 @@ export const Button = styled.button` display: flex; align-items: center; justify-content: center; - width: 65px; - height: 65px; + width: 4rem; + height: 4rem; border-radius: 50%; background: #ced4da; color: #343a40; text-align: center; font-family: Pretendard; - font-size: 36px; - font-weight: 600; + font-size: 30px; + text-align: center; `; export const PersonNum = styled.span` diff --git a/src/components/invite/profile/DeactivatedProfile.tsx b/src/components/invite/profile/DeactivatedProfile.tsx index abd0814..8acaee4 100644 --- a/src/components/invite/profile/DeactivatedProfile.tsx +++ b/src/components/invite/profile/DeactivatedProfile.tsx @@ -1,8 +1,10 @@ import * as S from "./style"; +import { useNavigate } from "react-router-dom"; export default function DeactivatedProfile() { + const navigate = useNavigate(); const handleClick = () => { - window.location.href = "#"; + navigate("/personal"); }; return ( diff --git a/src/components/invite/profile/style.ts b/src/components/invite/profile/style.ts index 88f8619..76fa426 100644 --- a/src/components/invite/profile/style.ts +++ b/src/components/invite/profile/style.ts @@ -71,7 +71,7 @@ export const DeactivatedContainer = styled.div` border: 2px dashed #dee2e6; background: #fff; padding: 18px; - + cursor: pointer; @media (max-width: 360px) { width: 280px; } diff --git a/src/pages/confirm/Confirm.tsx b/src/pages/confirm/Confirm.tsx index d8b7a17..cdb49af 100644 --- a/src/pages/confirm/Confirm.tsx +++ b/src/pages/confirm/Confirm.tsx @@ -19,9 +19,7 @@ const Confirm: React.FC = () => { { /> -