Skip to content

Commit

Permalink
#227 design: 출석체크 페이지 내 포인트 컬러 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
misung-dev committed Sep 7, 2024
1 parent 8c43626 commit fbcf8f0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 10 additions & 3 deletions src/pages/AttendancePage/AttendanceStudentIdPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,17 @@ const AttendanceStudentIdPage = () => {

<S.ContentContainer>
<S.Title>
{eventTarget === 'INTERNAL'
? '학번을 입력해 주세요.'
: '휴대폰 번호 뒷자리 4자리를 입력해 주세요.'}
{eventTarget === 'INTERNAL' ? (
<>
<span>학번 7자리</span>를 입력해 주세요.
</>
) : (
<>
<span>휴대폰 번호 뒤 4자리</span>를 입력해 주세요.
</>
)}
</S.Title>

<S.StudentIdContainer>
{(eventTarget === 'INTERNAL' ? studentId : phoneId).map((index) => (
<S.StudentId key={index}>
Expand Down
6 changes: 5 additions & 1 deletion src/pages/AttendancePage/AttendanceStudentIdPage.style.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,16 @@ export const OutputContainer = styled.div`
export const Title = styled.h1`
display: flex;
justify-content: center;
color: var(--blue-0, #2f7cef);
color: #494949;
font-size: 32px;
font-weight: 600;
text-align: center;
word-break: keep-all;
& > span {
color: #2f7cef;
}
@media (max-width: ${BREAKPOINTS[1]}px) {
font-size: 26px;
}
Expand Down

0 comments on commit fbcf8f0

Please sign in to comment.