-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/#176 Layout을 수정한다 (Header, layout color) #177
Conversation
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.
수고하셨습니다. approve할게요.
import { styled } from 'styled-components'; | ||
import logo from '@/assets/icon/shook-logo.svg'; | ||
|
||
const Header = () => { | ||
return ( | ||
<Container> | ||
<Logo src={logo} alt="logo" /> | ||
<Link to="/" aria-label="홈으로 가기"> |
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.
💬 "shook 홈으로 가기" 어떠신가요? 이부분은 웹접근성 회의 때 이야기해보아요.
@@ -23,6 +23,7 @@ const LayoutContainer = styled.main` | |||
padding: 60px 16.66%; | |||
min-height: calc(100vh - ${({ theme }) => theme.headerHeight.desktop}); | |||
background-color: ${({ theme: { color } }) => color.black}; | |||
color: ${({ theme: { color } }) => color.white}; |
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.
💬 추후 고도화 사항으로 dark theme, light theme을 나누어야 하는 부분도 있는 것 같습니다..
background-color나 color는 Layout의 관리 영역이 아니라 theme의 관리 영역인 듯 싶어요
📝작업 내용
/
으로 가는 Link를 추가한다.💬리뷰 참고사항
현재 layout의 배경이 어두운 색이므로 기본 color를 white로 설정하였습니다.
#️⃣연관된 이슈
close #176