-
Notifications
You must be signed in to change notification settings - Fork 0
yunhee-week6-hwdone #14
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
base: yunhee-week6
Are you sure you want to change the base?
Conversation
unknownburphy
left a comment
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.
μ 체μ μΌλ‘ μμ£Ό μ ꡬννμ κ² κ°μ΅λλ€. 무μμ΄ μ¬λ₯μ΄μκ΅°μ... LGTM!
| className={`object-cover w-full h-full border-[3px] border-[#FF6841] rounded-xl | ||
| ### FILL ME ### | ||
| className={`object-cover w-full h-full border-[3px] rounded-xl | ||
| ${img.value === 1 ? "border-[#ff4141]" : "border-[#3457e4]"} |
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 handleThumbsUpHover = () => { | ||
| setThumbsUpImage(require("../assets/images/thumbs-up-click.png")); | ||
| }; | ||
| const handleThumbsUpLeave = () => { | ||
| setThumbsUpImage(require("../assets/images/thumbs-up-icon.png")); | ||
| }; | ||
| const handleThumbsDownHover = () => { | ||
| setThumbsDownImage(require("../assets/images/thumbs-down-click.png")); | ||
| }; | ||
| const handleThumbsDownLeave = () => { | ||
| setThumbsDownImage(require("../assets/images/thumbs-down-icon.png")); | ||
| }; |
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.
ν¨μλͺ λ μμ£Ό μ μ§μ κ² κ°μ΅λλ€.
minseo25
left a comment
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.
μ 체μ μΌλ‘ κΉλνκ² μ½λ μ μ§μ κ² κ°μμ~!
| // ### thumbsUpImage Event ### | ||
| onMouseOver={handleThumbsUpHover} | ||
| onMouseOut={handleThumbsUpLeave} | ||
| onClick={() => vote(1)} |
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.
μ λ ν¬ν μ vote(1); νμ getImage(); νΈμΆμ ν΅ν΄ λ€μ ν¬νν μ΄λ―Έμ§λ₯Ό λΆλ¬μλλ°
κ°μΈ ꡬν μ°¨μ΄ κ°μμ μ°Έκ³ λ§ νμ
λ μ’μ κ² κ°μμ~
π κ³Όμ ꡬν μ€λͺ
π PR 체ν¬λ¦¬μ€νΈ
πΌοΈ Screenshot / Video
π Issue