Skip to content

Conversation

@dkozowlk
Copy link
Collaborator

@dkozowlk dkozowlk commented Apr 13, 2025

요구사항

  • Github에 PR(Pull Request)을 만들어서 미션을 제출합니다.
  • Netlify에 파일 배포가 아닌 포크한 Github 레포지토리로 연결합니다.
  • 피그마 디자인에 맞게 페이지를 만들어 주세요.
  • React와 같은 UI 라이브러리를 사용하지 않고 진행합니다.

기본

###공통

  • 아래로 스크롤 해도 상단 네비게이션 바(Global Navigation Bar)가 최상단에 고정됩니다.

  • "판다마켓" 클릭 시 루트 페이지("/")로 이동합니다.(새로고침)

  • 로그인 페이지, 회원가입 페이지 모두 로고 위 상단 여백이 동일합니다.

  • SNS 아이콘들은 클릭시 각각 실제 서비스 홈페이지로 이동합니다.

###로그인 페이지

  • "회원가입"버튼 클릭 시 "/signup" 페이지로 이동합니다.

###회원가입 페이지

  • "로그인"버튼 클릭 시 "/login" 페이지로 이동합니다.

심화

  • palette에 있는 color값들을 css 변수로 등록하고 사용해 주세요.
  • 비밀번호 input 요소 위에 비밀번호를 확인할 수 있는 아이콘을 추가해 주세요.

주요 변경사항

  • 로그인 페이지와 회원가입 페이지를 생성하였습니다.
  • 홈페이지에서 스크롤을 할시 네브바가 최상단에 고정됩니다.

스크린샷

image

멘토에게

-스프린트 미션 1을 했었을때 부터 좀 많은 시간이 지나가지고 스프린트 미션2를 하기전에 스프린트 미션1 템플릿 코드를 사용하여 스프린트 미션 2를 수행했습니다.

  • 셀프 코드 리뷰를 통해 질문 이어가겠습니다.

@dkozowlk dkozowlk added the 순한맛🐑 마음이 많이 여립니다.. label Apr 13, 2025
@dkozowlk dkozowlk requested a review from dongqui April 13, 2025 13:15
@dkozowlk dkozowlk self-assigned this Apr 13, 2025
@dongqui dongqui changed the base branch from main to Basic-김태욱 April 14, 2025 07:06
Copy link
Collaborator

@dongqui dongqui left a comment

Choose a reason for hiding this comment

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

태욱님! 기본적인 구현은 잘 해주셨습니다 :) 시맨틱, 접근성에 조금만 더 신경 써주시면 더욱 좋을 거 같습니다! 👍

<link rel="icon" href="images/logo/favicon.ico" />
<link
rel="stylesheet"
as="style"
Copy link
Collaborator

Choose a reason for hiding this comment

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

as는 preload를 지정했을 때만 사용됩니다 :) 다시 한 번 확인해주세요!

https://developer.mozilla.org/ko/docs/Web/HTML/Element/link#%ED%8A%B9%EC%84%B1

</a>
<section class="loginsection">
<div id="emailbox">
<label class="loginlabel"> 이메일 </label>
Copy link
Collaborator

Choose a reason for hiding this comment

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

label로 input을 감싸주거나 id, for을 활용하시면 기능적으로도 활용할 수 있습니다 :)

https://developer.mozilla.org/ko/docs/Web/HTML/Reference/Elements/label#%ED%8A%B9%EC%84%B1

type="password"
alt="passward"
/>
<img
Copy link
Collaborator

Choose a reason for hiding this comment

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

기능을 가진 이미지라면 button으로 감싸거나 aria label 등을 활용해 주시는 것이 접근성에 좋습니다~!

id="mainlogo"
/>
</a>
<section class="loginsection">
Copy link
Collaborator

Choose a reason for hiding this comment

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

form 태그로 감싸주시는 것이 접근성, 기능적으로 더 적절합니다!

font-family: "Pretendard", sans-serif;
}

header {
Copy link
Collaborator

Choose a reason for hiding this comment

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

header, footer 등은 불필요하게 login 페이지까지 들어오게 됩니다 :) global은 정말 공통의 스타일만 넣어주시는 것이 좋아요

@@ -0,0 +1,143 @@
/* 회원가입 페이지 전체 스타일 */
Copy link
Collaborator

Choose a reason for hiding this comment

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

로그인 페이지와 많은 부분이 겹칩니다! 이 경우 하나의 파일로 합치거나, 공통 스타일을 뽑아내는 것이 유지보수에 좋습니다~!

<link rel="stylesheet" href="styles/signup&loginpage/signup.css" />
</head>
<body>
<div class="signuppage">
Copy link
Collaborator

Choose a reason for hiding this comment

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

띄어쓰기 구분이 없으면 가독성이 떨어집니다!
훗날의 다른 팀원들을 위해 케이스 하나로 통일해 작성하는 습관을 들여주세요 🤣

(html css 보통 케밥 케이스를 많이 씁니다!) signup-page

@dongqui dongqui merged commit 7400e8f into codeit-bootcamp-frontend:Basic-김태욱 Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

순한맛🐑 마음이 많이 여립니다..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants