Repository navigation
[user] 모바일 navbar 배치 개선 - #44
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
확인했습니다! #43에서 나온 navbar 넘침 문제를 아이콘 축소 + 사소한 부분 두 가지만 남깁니다. (필수는 아닙니다)
|
Contributor
Author
|
리뷰 감사합니다! 두 가지 다 반영했습니다. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요 💡
#43 리뷰에서 나온 모바일 navbar 넘침 문제를 해결합니다. 관리자·기숙사자치회 계정은 사용자 페이지 navbar에
관리자 페이지버튼이 추가로 보이는데, 이 버튼의 텍스트가 모바일에서도 항상 보여서 360px 전후 화면에서 navbar가 한 줄을 넘쳤습니다.작업내용 ⌨️
UserNavbar)LayoutDashboard아이콘을 추가했습니다. 1024px 미만에서는 아이콘만 보이고, 1024px 이상에서 텍스트가 같이 보입니다.sr-only로 남겨 화면 리더가 버튼 이름을 읽습니다. 마우스를 올리면title툴팁이 뜹니다.h-5) 표시합니다.aria-label을 붙였고, 알림 링크는알림 99개 이상처럼 개수까지 읽힙니다.break-keep을 붙여 "…선택하세" / "요"처럼 한 글자만 다음 줄로 떨어지지 않게 했습니다.tests/user-navbar-responsive.test.mjs를 추가해 위 반응형 클래스와aria-label을 확인합니다.검증
biome lint .,tsc --noEmit,node --test tests/*.test.mjs(59개),next build모두 통과했습니다./user,/my-page,/notifications세 페이지에서 가로 스크롤, 요소 겹침, 세로 정렬 어긋남, 콘솔 에러가 모두 0건입니다.