Fixed the Navbar bug, where the dark-light theme switching doesnt work as expected. #1541
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixed the Navbar bug, where the dark-light theme switching doesnt work as expected.
I have attached video samples of each change briefing the ORIGINAL navbar working and mine Corrected working for your reference.
Related Issues
There were bugs in navbar of every page in toggling dark-light mode, I fixed the toggling bus in every page's navbar and now the navbars of each page are working fine as expected
I have myself tested the theme change working of navbars at every page.
Pages that i have worked on includes :
Home page
Contact Us Page
Menu Page
Service Page
Rate Us Page
Offers Page
Login Page
Sign Up Page
My Cart Page
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Type of PR
Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
https://github.com/user-attachments/assets/ace3741d-6224-4180-939d-92abdf41afa9
resolved:
https://github.com/user-attachments/assets/4fbe3f55-5408-44f5-9f22-74eb2ceafe20
https://github.com/user-attachments/assets/29b39dba-c362-4003-806f-4f8616f63edd
resolved:
https://github.com/user-attachments/assets/8a00cbf5-bc69-4c1d-aacd-8324745d714a
https://github.com/user-attachments/assets/f60b3c6f-f6b0-4095-a0aa-86330ab96d2c
resolved:
https://github.com/user-attachments/assets/bc7f5262-8ef9-4788-968c-5be3e71b2c8f
https://github.com/user-attachments/assets/3947fccd-17a4-4472-8fe1-17e430e94f67
resolved:
https://github.com/user-attachments/assets/021f5c15-aa49-41f8-a6ff-865d31bf488c
https://github.com/user-attachments/assets/62ad8473-d873-4c50-a6a3-786ea3398b3e
resolved:
https://github.com/user-attachments/assets/89e3527c-e33e-4570-9cff-4f70a4ef2fa5
https://github.com/user-attachments/assets/483f0287-6ee7-40a4-a5d4-0d9bb31dc138
resolved:
https://github.com/user-attachments/assets/b8215800-d7e3-40ee-bd7c-bb173625bd25
Bug in Login Page Navbar
resolved:
https://github.com/user-attachments/assets/a3f9dec1-46df-43ee-90f4-db5dc8d1ad3f
Bug in Mycart navbar:
resolved:
https://github.com/user-attachments/assets/cb0ad620-7c95-4390-b871-6f906ceabf2f
Bug in signup page navbar:
resolved:
https://github.com/user-attachments/assets/48088fb0-c4b5-4693-b120-8fcec50633fc
Checklist
main
branch before making this PRAdditional context:
[Include any additional information or context that might be helpful for reviewers.]
I have also changed the sun logo representing the day toggle option, As previous logo was not visible and created confusion.
Thanks for Assigning this issue to me, Hope for good results 👍