-
Notifications
You must be signed in to change notification settings - Fork 323
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
Ninas Project Labyrinth #212
base: master
Are you sure you want to change the base?
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.
Really good work Nina and nice with the sound effect at the end, everything working as it should and loved your animation + background image.
All I could give as input is creating more folders to keep the design-code in separate files so it get's a bit cleaned up, styled components like you did use.
Great work, be proud!
} | ||
|
||
useEffect(() => { | ||
const audio = new Audio(soundFile); // Create an Audio object with the sound file |
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.
Great input with the sound-effect!
} | ||
}, [showEndPage]); | ||
|
||
const ResetBtn = styled.button` |
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.
Maybe create a separate file for your design and styled components to keep function-files a bit cleaner/easy to follow :) But just an input, nothing major!
export const Direction = ({ actions = [] }) => { | ||
const dispatch = useDispatch(); | ||
|
||
useEffect(() => { |
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.
Well done with this code!
No description provided.