Skip to content
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

feat: create reusable NotFound component and add global 404 page; #139

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

BigBen-7
Copy link
Contributor

📝 Pull Request Title

🛠️ Issue

✅ Changes made

  • Created components/common/not-found.tsx as a reusable NotFound component.

  • Refactored Product Not Found page to use the new common NotFound component.

  • Implemented a global 404 page (app/not-found.tsx) for handling undefined routes.

  • Ensured all NotFound usages display appropriate messages and icons.

🖼️ Media (screenshots/videos)

{01ADB2A8-80DE-4F50-B7D6-8FAF8A1BFF20}
{4E2E394F-72AB-4910-A577-04765F63E7D5}

Copy link
Contributor

@derianrddev derianrddev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BigBen-7 Nice job! 🚀 Just a couple of tweaks.

apps/frontend/package.json Outdated Show resolved Hide resolved
apps/frontend/components/common/not-found.tsx Outdated Show resolved Hide resolved
apps/frontend/components/products/not-found.tsx Outdated Show resolved Hide resolved
apps/frontend/components/products/not-found.tsx Outdated Show resolved Hide resolved
@derianrddev derianrddev self-requested a review February 10, 2025 20:10
Copy link
Contributor

@derianrddev derianrddev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BigBen-7 Thank you for making the changes. LGTM! 🚀Let’s wait for a second review. @danielcdz

@derianrddev derianrddev merged commit 2a552ab into KaizeNodeLabs:main Feb 10, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Refactor Product Not Found Page to be Reusable
3 participants