-
Notifications
You must be signed in to change notification settings - Fork 1
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
[#21] 헤더 유저 프로필 클릭 시 모달 생성 #41
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
수고하셨습니당~!!
<UserIcon | ||
src={user} | ||
alt="사용자 프로필" | ||
onClick={() => setIsUserModalOpen(prev => !prev)} |
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.
매개변수가 없으니 handleModalOpen
등의 이름으로 함수로 만들신 후에 onClick={}
에 함수명만 넣으셔도 좋을 것같습니다!
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.
고생 많으셨습니다 !
@@ -31,6 +29,10 @@ const Header = () => { | |||
export default Header; | |||
|
|||
const Container = styled.header` |
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.
고생많으셨습니다 ~ 해당 코드 받아서 사용하니까 헤더 고정 잘 됩니다!
close #21
Description
아래 영상을 확인해 주세요!
스크린샷 (Optional)
2024-01-16.6.23.33.mov