-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix/#152]:랜딩페이지 #154
[fix/#152]:랜딩페이지 #154
Conversation
…ngshi/frontend into 152-feature-landing-page
|
||
useEffect(() => { | ||
if (isRootPath) { | ||
const header = document.querySelector(`.${styles.header_landing}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
document.querySelector는 안티패턴일 것 가타요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useRef() 를 써보는건 어떨까요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useRef() 써서 수정했습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
랜딩 부분만 체크했습니다~ ^_^
그리고 README 컨플릭트가 나길래 이것도 해결했어요!!
components/landing/Landing.tsx
Outdated
<div className={styles.intro_text_wrap}> | ||
<Text className={styles.intro_text}> | ||
우행시 | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여긴 <br />
이 없어도 될 것 같아요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그러네용!
<img src="/imgs/landing/inquiry.png" alt="문의하기아이콘" className={styles.inquiry_icon} /> | ||
문의하기 | ||
</button> | ||
</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a>
태그로 감싸져 있으니까 아래에 또 <button>
은 빼도 작동에 문제가 없을것 같습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
button뺐습니다!
<img src="/imgs/landing/clock.png" alt="타이머아이콘" className={styles.timer_title_icon} /> | ||
공부시작 | ||
<br /> | ||
</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 굳이 <br />
이 필요하지 않겠죠?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵!!
</Text> | ||
<Text size="5" className={styles.timer_detail}> | ||
<br /> | ||
내가 선택한 과목으로 공부 시간을 실시간으로 측정할 수 있어요. <br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상단 여백을 <br />
로 주기보다는 padding
이나 margin
이 좋을것 같습니다~ (<br />
은 자간행간에 영향을 받음)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영했습니댱~!
alt="트로피아이콘" | ||
className={styles.ranking_title_icon} | ||
/> | ||
순위조회 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
별개로 사이트를 띄워봤을때 제목에 들어가있는 아이콘들이 미묘...하게 비율이 깨지는것 같은데 기분탓일까요...? 뭔가 찌그러진 느낌..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정완료!
src="/imgs/landing/landing_cal_record.png" | ||
alt="랜딩캘린더기록확인" | ||
className={styles.cal_record_img} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
img
들이 겹쳐져 있는 부분은 flex
랑 transform
을 쓰기 보다는 position
으로 겹쳐놓는것도 좋을것 같아요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네!
📋 연관된 이슈 번호
🛠 구현 사항