Skip to content

Conversation

@starvingorange
Copy link

✏️ 작업 내용

#️⃣ 연관된 이슈

#20


📷 작업 결과

Week4-Account.mp4

작업 결과 사진을 업로드해주세요.


💡 함께 공유하고 싶은 부분

해당 주차를 공부하면서 함께 이야기하고 싶은 주제를 남겨주세요.

(어려웠던 부분과 해결 과정, 핵심 코드, 참고한 자료 등)


🤔 질문

해당 주차 워크북을 공부하면서 궁금했던 질문들을 남겨주세요.


✅ 워크북 체크리스트

  • 모든 핵심 키워드 정리를 마쳤나요?
  • 핵심 키워드에 대해 완벽히 이해하였나요?
  • 실습/미션을 수행하였나요?

✅ 컨벤션 체크리스트

  • pr 제목을 컨벤션에 맞게 작성하였나요?
  • pr에 해당되는 이슈를 연결하였나요?
  • 적절한 라벨을 설정하였나요?
  • 코드리뷰를 요청하기 위해 reviewer를 등록하였나요?
  • 닉네임/main 브랜치의 최신 상태를 반영하고 있나요?

Copy link
Contributor

@duwlsssss duwlsssss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 👍

@@ -0,0 +1 @@
VITE_TMDB_KEY=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJkOGRmZTQwYjM5YzUxNjAxYzQ4NzA2OGM2NjgzNmVjYiIsIm5iZiI6MTc0MzI0MzQyMC40NzMsInN1YiI6IjY3ZTdjODljYTNkOGNjOTI4ZTY3YmFlZSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.cjYgjk2-VVPzkI_pRiX29eLnJex2p_pj2NAvM8H-V1c No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.env .gitignore에 추가해줘야 해요!
그리고 forcr push 한 번 해야겠네용

Comment on lines +6 to +21
const schema = z.object({
email: z.string().email({ message: "올바른 이메일 형식이 아닙니다." }),
password: z.string().min(8, { message: "비밀번호는 8자 이상이여야 합니다." }),
passwordCheck: z
.string()
.min(8, { message: "비밀번호가 일치하지 않습니다." }),
name: z
.string()
.min(1, { message: "이름을 입력해주세요" })
})
.refine((data) => data.password === data.passwordCheck, {
message: "비밀번호가 일치하지 않습니다.",
path: ["passwordCheck"],
});

type FormFields = z.infer<typeof schema>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스키마는 다른 폴더로 분리하는게 가독성 있을 것 같아요!

Comment on lines +47 to +56
<input
{...register("email")}
className={`w-2xs p-4 mb-3 border border-gray-300 rounded-lg bg-white text-black focus:outline-none focus:ring-2 focus:ring-blue-500
${errors?.email ? "border-red-500 bg-red-200" : "border-gray-300"}`}
type={"email"}
placeholder={"이메일"}
/>
{errors?.email && (
<div className="text-red-500 text-sm">{errors.email.message}</div>
)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컴포넌트로 분리해서 다음 버튼으로 넘어가는 로직 구현하면 좋겠습니당

Copy link

@leetaesk leetaesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생 많이 하셨어요 증말로

Copy link

@leetaesk leetaesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다

Copy link

@S-Gihun S-Gihun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생 많으셨습니다 !

@starvingorange starvingorange deleted the gang/#20 branch May 2, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants