Skip to content

feat: improve 404 page #186

Closed
Yogender-verma wants to merge 2 commits into
DevanshuTripathi:mainfrom
Yogender-verma:feature/404-page
Closed

feat: improve 404 page #186
Yogender-verma wants to merge 2 commits into
DevanshuTripathi:mainfrom
Yogender-verma:feature/404-page

Conversation

@Yogender-verma

Copy link
Copy Markdown
Contributor

📄 Description

This PR introduces a custom 404 Not Found page for the Vodka website with improved UX and dynamic route awareness.

✨ Changes made

  • Added not-found.tsx page using Next.js App Router
  • Displays a clean and minimal 404 UI aligned with Vodka design
  • Dynamically shows the requested route using usePathname()
  • Added navigation actions:
    • Go Home → redirects to homepage
    • Go Back → uses browser history navigation
  • Improved handling of invalid/unknown routes

🎯 Purpose

To provide users with a better experience when they land on non-existent routes, making navigation clearer and more helpful.

🧠 Technical details

  • Uses next/navigationusePathname()
  • Implements App Router not-found.tsx convention
  • Fully responsive UI with Tailwind CSS

📸 Preview

404

Closes #164

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

@Yogender-verma is attempting to deploy a commit to the Devanshu Tripathi's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Yogender-verma Yogender-verma closed this by deleting the head repository Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Custom 404 Not Found Page

1 participant