From 867423d831ec5a1003d65068edda45a78b2802e4 Mon Sep 17 00:00:00 2001 From: bluewhaleyh Date: Sat, 31 Aug 2024 16:48:01 +0900 Subject: [PATCH] =?UTF-8?q?fix/#61:=20=EA=B0=81=EC=A2=85=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ssh-web/src/pages/Egg/EggFetch.styles.ts | 2 +- ssh-web/src/pages/Egg/components/TodayEgg.tsx | 14 +++++----- .../MissionCreate/MissionCreate.styles.ts | 2 +- .../src/pages/Mission/MissionCreate/index.tsx | 28 +++++++++---------- ssh-web/src/pages/Mission/index.tsx | 2 +- ssh-web/src/pages/Promise/styles.ts | 2 +- ssh-web/src/utils/appUtil.ts | 2 +- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/ssh-web/src/pages/Egg/EggFetch.styles.ts b/ssh-web/src/pages/Egg/EggFetch.styles.ts index d15a62f..06858af 100644 --- a/ssh-web/src/pages/Egg/EggFetch.styles.ts +++ b/ssh-web/src/pages/Egg/EggFetch.styles.ts @@ -1,7 +1,7 @@ import { tv } from 'tailwind-variants'; export const contentStyles = tv({ - base: 'flex flex-col justify-between items-center desktop:w-[48rem] desktop:h-[48rem] desktop:rounded-lg desktop:py-0 tablet:w-full tablet:h-full tablet:rounded-t-[2rem] tablet:py-8 mob:!pb-0 bg-primary-100 px-4', + base: 'flex flex-col justify-between items-center desktop:w-[48rem] desktop:h-[48rem] desktop:rounded-lg desktop:py-0 tablet:w-full tablet:h-full tablet:rounded-t-[2rem] mob:!pb-0 bg-primary-100 px-4', }); export const containerStyles = tv({ diff --git a/ssh-web/src/pages/Egg/components/TodayEgg.tsx b/ssh-web/src/pages/Egg/components/TodayEgg.tsx index 3ce5318..45726d5 100644 --- a/ssh-web/src/pages/Egg/components/TodayEgg.tsx +++ b/ssh-web/src/pages/Egg/components/TodayEgg.tsx @@ -95,9 +95,9 @@ export const TodayEgg = () => { {reward?.specialEggName}이 나왔어요 -
+
-
+
{ 아무것도 나오지 않았어요.
-
+
{ + {collectedAmount}원
-
+
{ className={`rounded-full absolute top-10 transform transition-transform duration-300 ${eggScale}`} />
-
+
{ className={`rounded-full absolute top-10 transform transition-transform duration-300 ${eggScale}`} />
-
- +
+ 내 저축 계좌가 없어요
diff --git a/ssh-web/src/pages/Mission/MissionCreate/MissionCreate.styles.ts b/ssh-web/src/pages/Mission/MissionCreate/MissionCreate.styles.ts index 6d52fdc..59cdb99 100644 --- a/ssh-web/src/pages/Mission/MissionCreate/MissionCreate.styles.ts +++ b/ssh-web/src/pages/Mission/MissionCreate/MissionCreate.styles.ts @@ -1,7 +1,7 @@ import { tv } from 'tailwind-variants'; export const missionCreateStyles = tv({ - base: 'flex flex-col w-full items-center justify-center bg-white gap-4', + base: 'flex flex-col w-full items-center justify-center bg-white gap-4 relative', variants: { size: { M: 'px-4 py-1', diff --git a/ssh-web/src/pages/Mission/MissionCreate/index.tsx b/ssh-web/src/pages/Mission/MissionCreate/index.tsx index 0295f1c..230e784 100644 --- a/ssh-web/src/pages/Mission/MissionCreate/index.tsx +++ b/ssh-web/src/pages/Mission/MissionCreate/index.tsx @@ -112,7 +112,7 @@ export const MissionCreate: React.FC = () => { return (
-
+
쏠쏠한 미션 등록 @@ -127,7 +127,7 @@ export const MissionCreate: React.FC = () => { { `${e.target.value}T${missionStartAt.split('T')[1] || '00:00'}`, ) } - className="input w-full p-2 border rounded" + className="w-full p-2 border rounded input" />
-
+
{ `${missionStartAt.split('T')[0] || '2024-01-01'}T${e.target.value}`, ) } - className="input w-full p-2 border rounded" + className="w-full p-2 border rounded input" />
-
-
+
+
{ `${e.target.value}T${missionEndAt.split('T')[1] || '00:00'}`, ) } - className="input w-full p-2 border rounded" + className="w-full p-2 border rounded input" />
-
+
{ `${missionEndAt.split('T')[0] || '2024-01-01'}T${e.target.value}`, ) } - className="input w-full p-2 border rounded" + className="w-full p-2 border rounded input" />
@@ -230,7 +230,7 @@ export const MissionCreate: React.FC = () => { @@ -239,5 +239,5 @@ export const MissionCreate: React.FC = () => { }; const bigButtonStyles = tv({ - base: '!bg-primary-400 hover:!bg-primary-300 active:!bg-primary-300 !rounded-3xl !w-full !px-4 !z-10 !py-8 font-bold !text-2xl mt-4', + base: '!bg-primary-400 hover:!bg-primary-300 active:!bg-primary-300 !rounded-md !w-full !z-10 !py-4 font-semibold !text-xl', }); diff --git a/ssh-web/src/pages/Mission/index.tsx b/ssh-web/src/pages/Mission/index.tsx index 69d66f1..20bc6e7 100644 --- a/ssh-web/src/pages/Mission/index.tsx +++ b/ssh-web/src/pages/Mission/index.tsx @@ -152,7 +152,7 @@ export const MissionFetch: React.FC = () => { {role === 'parent' && (