PriyansuMaurya / AI-Fusion

AI Fusion is your ultimate destination for streamlined access to a curated collection of powerful AI tools and prompts.
https://aifusion.vercel.app/
MIT License
13 stars 8 forks source link

[Bug]: Dark Mode Caching #28

Closed PriyansuMaurya closed 1 year ago

PriyansuMaurya commented 1 year ago

Description

When you visit the site, Dark mode is enabled by default.

However, if you toggle the button for light mode

image

and refresh the page, it will not persist and will revert back to the default (Dark Mode).

Live Preview:

https://github.com/PriyansuMaurya/AI-Fusion/assets/101447544/cdcd7276-e3c3-4398-87c2-1fe2837a98bc

Hint:

To resolve this issue, you can utilize caching to store the current mode (dark mode or light mode). Then, whenever the website loads or is refreshed, retrieve that value from the cache.

Attach Screenshots (if applicable)

No response

Which browser are you using when experiencing the issue?

Microsoft Edge

Checklist

github-actions[bot] commented 1 year ago

To reduce notifications, issues are locked. Your issue will be unlock when we will add label as 🏁 status: ready for dev. Check out the contributing guide for more information.

github-actions[bot] commented 1 year ago

Congratulations, @PriyansuMaurya! 🎉 Thank you for creating the issue. We appreciate your contribution and are excited to work with you to resolve it. Your initiative is commendable, and we value your efforts to improve our project. Keep up the great work!

We will promptly review your changes and provide helpful feedback. Please remember to review our contributing guidelines. Thank you again for your contributions!

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has been open for few days with no activity. It will be closed in next 1 days if no further activity occurs.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has been open for few days with no activity. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 1 year ago

This issue has been closed because it has not received any activity in the last few days since being marked as 'stale'