Skip to content

Fix: Rocket crash image not visible in light mode#131

Merged
vatsalsinghkv merged 1 commit intovatsalsinghkv:mainfrom
sathwikhbhat:fix/rocket-crash-img
Oct 28, 2025
Merged

Fix: Rocket crash image not visible in light mode#131
vatsalsinghkv merged 1 commit intovatsalsinghkv:mainfrom
sathwikhbhat:fix/rocket-crash-img

Conversation

@sathwikhbhat
Copy link
Contributor

@sathwikhbhat sathwikhbhat commented Oct 24, 2025

Problem

The “rocket crash” image that appears when no search results are found was not visible in light mode, making the UI appear broken or incomplete.

Solution

Used the useTheme() hook to render the apt image based on the active theme. Now there are two separate SVGs, one for dark mode and one for light mode, to ensure proper visibility across both themes. This ensures the image is clearly visible in both dark and light modes.

Issue Resolved

Closes #130

@vercel
Copy link

vercel bot commented Oct 24, 2025

@sathwikhbhat is attempting to deploy a commit to the vatsalsinghkv's projects Team on Vercel.

A member of the Team first needs to authorize it.

@sathwikhbhat
Copy link
Contributor Author

@vatsalsinghkv, please review my PR when you are free...
Thank you

@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
easy-fix Ready Ready Preview Comment Oct 28, 2025 9:42am

@vatsalsinghkv
Copy link
Owner

@sathwikhbhat Amazing work even I overlooked that. Thanks for contributing

@vatsalsinghkv vatsalsinghkv merged commit 100ba7d into vatsalsinghkv:main Oct 28, 2025
2 of 4 checks passed
@vatsalsinghkv vatsalsinghkv added hacktoberfest This issue is a part of hacktoberfest hacktoberfest-accepted This PR is accepted for Hacktoberfest labels Oct 28, 2025
@sathwikhbhat
Copy link
Contributor Author

Happy to help @vatsalsinghkv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest This issue is a part of hacktoberfest hacktoberfest-accepted This PR is accepted for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Rocket crash image not visible in light mode

2 participants