vanshchauhan21 / CryptoTracker

https://crypto-tracker-kappa-ebon.vercel.app
MIT License
12 stars 48 forks source link

🐛: Auto Redirect to Home Page on Invalid URL After 3 Seconds #432

Closed RachitSahu26 closed 1 week ago

RachitSahu26 commented 1 week ago

Title

Auto Redirect to Home Page on Invalid URL After 3 Seconds

Bug

When users navigate to an incorrect or non-existent URL, the application does not currently have an automatic redirect feature. This causes users to remain on the invalid page instead of being smoothly redirected back to the home page after a short delay.

Changes

When users navigate to an invalid or non-existent URL within the application, they should automatically be redirected to the home page after a 3-second delay. This functionality improves user experience by preventing them from getting stuck on 404 or incorrect pages, guiding them back to the main content of the site. The redirect should be smooth, and during the delay, a message could be displayed informing the user about the automatic redirection.

Screenshots 📷

Full Name

Rachit Sahu

Participant Role

GSSoC

RachitSahu26 commented 1 week ago

https://github.com/user-attachments/assets/8320d19c-c580-427d-a3df-b99e4ad2bd94