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)} + + ))} + + + + 소감 +