-
Notifications
You must be signed in to change notification settings - Fork 593
Add profile and also Updated some code and removed issues #1230
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
Conversation
…t to user preferred theme
…d the new custom theme change hook
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.
Great job, @Joyal-George-KJ! 🎉 Thank you for opening a pull request. Your contribution is valuable and we appreciate your efforts to improve our project.
Soon the maintainers/owner will review it and provide you with feedback/suggestions.
@shyamtawli Requesting Review. |
@Joyal-George-KJ I am not able to change theme, have a look |
@shyamtawli Sorry for wasting your time it was caused by my negligence. Forgot to pass props to the toggle hook. Ready for the review now and Tested everything that I changed.
|
@Joyal-George-KJ Thanks and sorry for late response |
Description
Came here to put my profile but found some problems so I solved it also added my profile too.
Problems Solved
There was this bug of not properly controlling theme when user first visit the website the theme icon has the moon icon meaning the theme should be dark but it still had the light theme and you have to press the theme toggle button twice to change the theme to dark.
Changed the defaultAvatar.png to defaultAvatar.webp.
There was a commented handle for user image not found but the implementation was wrong I have solved it and added the defaultAvatar as the default if user image not found.
added ID for search bar and filter dropdown for better form control and SEO.
Related Issues
Changes Proposed
Better Theme control and Removed the bug from it.
Default Image added.
Checklist
Screenshots
Canva Link to the Solution
Note to reviewers
Added comment to the code so that others can modify and understand the code.