-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
[Feature]: Add No Results Found Page for Unsuccessful Searches #450
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❌ Deploy Preview for devdisplay failed.
|
hey @codeaashu please help me little bit why is this happening |
hey @RachitSahu26 |
Hi there! This issue is still open. We are looking forward to your response. |
19 similar comments
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Hi there! This issue is still open. We are looking forward to your response. |
Description
fixed:#419
This PR introduces a No Results Found page to handle cases where a search yields no results. The new component provides a user-friendly message, actionable buttons to navigate back or reload, and aligns with the structure and styling of similar components within the project.
Related Issues
Changes Proposed
New Component:
Created a NoResultFound.jsx component that displays:
A sad face icon using react-icons.
User-friendly text for search failures.
Two action buttons: Go Back and Search Again.
Routing & Functionality:
Integrated Next.js useRouter to navigate back with the Go Back button.
Implemented window.location.reload() to reload the page via Search Again button.
Styling:
Used a flex layout for alignment and spacing consistency.
Added hover effects to buttons for better UX.
Checklist
Screenshots
notty.found.mp4
Note to reviewers