-
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
Assignment7 juhee hwang #7
base: main
Are you sure you want to change the base?
Conversation
…signment7-juhee-hwang
…signment7-juhee-hwang
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.
마지막까지 넘넘넘넘넘 수고 많았따~!!!!~!!!!
|
||
return ( | ||
<StyledRoot> | ||
<StyledLeft onClick={() => navigate("/")}> |
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.
Link 컴포넌트를 써도 좋을 것 같습니다!!
const HomeNav = () => { | ||
const [isArticleBottomLine, setIsArticleBottomLine] = useState(true); | ||
|
||
const handleClick = (e) => { |
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.
이벤트 헨들러 하나 속에서 다 처리하는 거라면,
기냥 StyledRoot의 온클릭 리스너로 얘를 달아주고 이벤트 위임을 시켜도 괜찮을 듯합니다!!
<a href="https://github.com/Juhee-Hwang" target="blank"> | ||
<GithubIcon fill="lightGray" /> | ||
</a> | ||
<a href="https://2runzzal.com/uploads/zpicture/org/d2cf5c4811c675ae485fe3e03aa2b6adbbd3740ffdd59bec0f7d26e7409c08a4.jpg" target="blank"> |
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.
ㅋㅋㅋㅋㅋㅋㅋ 짤 머야!!
@@ -0,0 +1,11 @@ | |||
export const colors = { |
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.
상수 넘 조아~~
`; | ||
|
||
const StyledCenterLine = styled.div` | ||
background-color: rgb(233, 236, 239); |
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.
이 친구도 상수로 처리하면 좋을듯합니다..!!
📌 내용
기본과제
2021-12-18.12.34.58.mov