Skip to content
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

[마이페이지] style qa를 위한 변경 사항 #399

Merged
merged 15 commits into from
Feb 23, 2024

Conversation

hoeun0723
Copy link
Contributor

@hoeun0723 hoeun0723 commented Feb 22, 2024

이슈 넘버

구현 사항

  • 화면 움직이는 문제 해결
  • 카드 속 사진크기 동일하게 보여주기
  • 카드 속 "님" 길이에 맞춰서 바꾸기
  • editroom 이름 색상 핑크색으로 바꾸기
  • mypage 스크롤에 따라서 투명으로 하고, 내려가면, 하얀색으로 적용되도록하기
  • 겉에 margin 없애기
  • edit page 명수 pink 색 적용!

Need Review

  • 위와 같이 대부분 style qa 진행된 부분 + 눈에 보여지는 부분 qa 를 위해 수정하였습니다 !!
  • home mypage header 수정 진행하여서, 이 부분 충돌 확인 있어야 할 거 같습니다 !

📸 스크린샷

figma 와 동일하게 적용 !! header도 밑으로 내릴때만 색상 적용되게 수정

bandicam.2024-02-23.02-47-19-729.mp4

[화면 안 움직이게]

bandicam.2024-02-23.02-47-42-206.mp4

Reference

@hoeun0723 hoeun0723 self-assigned this Feb 22, 2024
@hoeun0723 hoeun0723 added fix 🛠️ Something isn't working refactor ⚙️ 개선 사항 style🎨 작은 사항 수정 및 style 코드 작성 마이페이지 👤 마이 페이지 labels Feb 22, 2024
Copy link

github-actions bot commented Feb 22, 2024

PR Preview Action v1.4.6
🚀 Deployed preview to https://SWEET-DEVELOPERS.github.io/sweet-client/pr-preview/pr-399/
on branch gh-pages at 2024-02-23 06:30 UTC

Copy link
Member

@imeureka imeureka left a comment

Choose a reason for hiding this comment

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

세상에 헤더 밑으로 내릴 때 스크롤 이벤트 핸들러를 사용해서 색상준거 더욱 가시적이고 디자인 요구와도 알맞는 것 같아 너무 좋네요~! 감사합니다
자세한 pr 덕분에 한번에 확인 할 수 있었습니다!
고생하셨어요 :)

@@ -18,7 +18,7 @@ export const TextWrapper = styled.div`

export const Text = styled.div`
${({ theme: { fonts } }) => fonts.heading_01};
> p {
> span {
Copy link
Member

Choose a reason for hiding this comment

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

혹시 span태그로 바꾸신 이유가 뭔지 알 수 있을까요?? 지난 번 합숙 때 기본 p태그는 모바일에선 파란색인 것이라고 호은님께 배웠었는데, 혹시 그때문인지... 만약 이 이유로 바꾸신 것이라면 저도 바꿔야해서요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

흠 그 부분을 상기시켜 한것은 아닙니다!
p태그는 기본적으로 엔터를 동반한 태그이기 때문에, 한 문장안에서 부분적으로 스타일 적용을 하기 위해선 p태그가 아닌 span를 활용해야겠다고 생각했기 때문입니다!

Comment on lines 21 to 24
// 컴포넌트가 언마운트될 때 이벤트 리스너 제거
return () => {
window.removeEventListener('scroll', handleScroll);
};
Copy link
Member

Choose a reason for hiding this comment

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

오 이벤트리스너를 원래 제거까지 해줘야하는 것이었군요??
또 하나 배워갑니다 :)

Copy link
Member

@ExceptAnyone ExceptAnyone left a comment

Choose a reason for hiding this comment

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

p태그를 span으로 바꾸신 이유에 대한 질문을 리뷰에 남겼습니다!!

고생많으셨습니다 :)

Copy link
Contributor

@urjimyu urjimyu left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!!

@@ -10,11 +10,18 @@ interface DoneCardRoomType {
}

const DoneCardRoom = ({ user, srcImage, userCount, onClick }: DoneCardRoomType) => {
const multiline = user.length > 3 || (/[a-zA-Z]/.test(user) && user.length > 5);
Copy link
Contributor

Choose a reason for hiding this comment

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

글자수까지 신경 써주셨군요!👍

// 스크롤 이벤트 핸들러
const handleScroll = () => {
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
setIsTop(scrollTop === 0); // 스크롤이 맨 위에 있는지 여부를 상태에 설정
Copy link
Contributor

Choose a reason for hiding this comment

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

스크롤에 따라 헤더 변경 너무 좋네요! 디자인 의도에 맞게 표현하기 위한 고민하신 흔적이 보입니다 최고최고✨

@hoeun0723 hoeun0723 merged commit d647b81 into develop Feb 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🛠️ Something isn't working refactor ⚙️ 개선 사항 style🎨 작은 사항 수정 및 style 코드 작성 마이페이지 👤 마이 페이지
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants