From e4b408e70e8074f5abcf8c5a9bddcb76d1775ccd Mon Sep 17 00:00:00 2001 From: joojjang Date: Tue, 1 Oct 2024 06:37:45 +0900 Subject: [PATCH] =?UTF-8?q?!HOTFIX(review-write):=20=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EB=86=92=EC=9D=B4=20=EA=BD=89=20=EC=B1=84=EC=9A=B0=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/review-write/index.tsx | 145 +++++++++++++++++-------------- 1 file changed, 78 insertions(+), 67 deletions(-) diff --git a/src/pages/review-write/index.tsx b/src/pages/review-write/index.tsx index d5abb7a..32c4628 100644 --- a/src/pages/review-write/index.tsx +++ b/src/pages/review-write/index.tsx @@ -6,7 +6,7 @@ import ChallengeTitle from '@/components/common/challenge-title'; import CTA, { CTAContainer } from '@/components/common/cta'; import Textarea from '@/components/common/form/textarea'; import { StarRating } from '@/components/common/star-rating'; -import TopBar from '@/components/features/layout/top-bar'; +import TopBar, { HEADER_HEIGHT } from '@/components/features/layout/top-bar'; import { useChallengeStore } from '@/store/useChallengeStore'; import { formatRating, @@ -106,73 +106,75 @@ const ReviewWrite = () => { {categoryLabel && challengeTitle && ( )} - - - setRating(newRating)} + + + + setRating(newRating)} + /> + + {rating}.0 / 5.0 + + + + + {formatRating(rating)} + + + + + 체감 난이도 + + {difficultyList.map((d) => ( + handleDifficultyClick(d)} + isSelected={selectedDifficulty === d} + > + {formatDifficulty(d)} + + ))} + + + + 성취감 + + {achievementList.map((a) => ( + handleFeelingClick(a)} + isSelected={selectedAchievement === a} + > + {formatAchievement(a)} + + ))} + + + + 소감 +