diff --git a/src/app/(main)/main/builder/_components/NewGameButton.tsx b/src/app/(main)/main/builder/_components/NewGameButton.tsx index 9b1db71..f5ecde8 100644 --- a/src/app/(main)/main/builder/_components/NewGameButton.tsx +++ b/src/app/(main)/main/builder/_components/NewGameButton.tsx @@ -8,7 +8,7 @@ export default function NewGameButton() { const router = useRouter(); return (
{ @@ -21,7 +21,7 @@ export default function NewGameButton() { options={{ size: { width: 24, height: 24 }, color: "black" }} />
-
새 게임
+
새 게임
); } diff --git a/src/app/(main)/main/builder/new-game/_components/Thumbnail.tsx b/src/app/(main)/main/builder/new-game/_components/Thumbnail.tsx index 9095a7c..2ba86ab 100644 --- a/src/app/(main)/main/builder/new-game/_components/Thumbnail.tsx +++ b/src/app/(main)/main/builder/new-game/_components/Thumbnail.tsx @@ -68,7 +68,7 @@ export default function Thumbnail({
썸네일 (5장 중 1장 선택)
-
+
사진추가 @@ -113,57 +113,48 @@ export default function Thumbnail({
AI 생성
- +
{currentThumbnails.map((thumbnail, index) => ( - -
- thumbnail + thumbnail +
handleDeleteThumbnail(index)} + > + -
handleDeleteThumbnail(index)} - > +
+ {isThumbnailIdx === index ? ( +
- {isThumbnailIdx === index ? ( -
- -
- ) : ( -
handleThumbnailClick(index)} - className="absolute bottom-3 left-3 w-[28px] h-[28px] border border-white rounded-full flex items-center justify-center" - > -
-
- )} -
- + ) : ( +
handleThumbnailClick(index)} + className="absolute bottom-3 left-3 w-[28px] h-[28px] border border-white rounded-full flex items-center justify-center" + > +
+
+ )} +
))} - +
); } diff --git a/src/app/(main)/main/builder/new-game/page.tsx b/src/app/(main)/main/builder/new-game/page.tsx index 614c7aa..735ed34 100644 --- a/src/app/(main)/main/builder/new-game/page.tsx +++ b/src/app/(main)/main/builder/new-game/page.tsx @@ -107,7 +107,7 @@ export default function NewGameBuilder() { bottomSheetData={{ textColor: "white", bgColor: "gray-800", - borderColor: "gray-600", + borderColor: "gray-800", }} currentValue={ GenresKorean[newGame.genre as keyof typeof GenresKorean] diff --git a/src/app/(main)/main/my/profile/_components/Input.tsx b/src/app/(main)/main/my/profile/_components/Input.tsx index c5fe07e..80eaa07 100644 --- a/src/app/(main)/main/my/profile/_components/Input.tsx +++ b/src/app/(main)/main/my/profile/_components/Input.tsx @@ -21,8 +21,8 @@ export default function ProfileInput({ title="닉네임" placeholder="닉네임을 입력해주세요." value={userData.nickname} - regExp={/^[가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9]{2,30}$/} - maxLength={30} + regExp={/^[가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9]{2,20}$/} + maxLength={20} onChange={(e: any) => handleInputChange("nickname", e)} /> ); diff --git a/src/common/DropDown.tsx b/src/common/DropDown.tsx index 5184ab9..a33c805 100644 --- a/src/common/DropDown.tsx +++ b/src/common/DropDown.tsx @@ -12,7 +12,7 @@ export default function DropDown({ values, onChange }: DropDownProps) { return (