Skip to content

feat: improve 404 page with dynamic route and actions#165

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

feat: improve 404 page with dynamic route and actions#165
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 Jun 19, 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.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
vodka-go Ready Ready Preview, Comment Jun 22, 2026 1:35pm

@DevanshuTripathi DevanshuTripathi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM

@Yogender-verma Yogender-verma dismissed DevanshuTripathi’s stale review June 22, 2026 14:18

The merge-base changed after approval.

@Yogender-verma

Copy link
Copy Markdown
Contributor Author

Merge?

@DevanshuTripathi DevanshuTripathi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM

@Yogender-verma Yogender-verma dismissed DevanshuTripathi’s stale review June 26, 2026 13:39

The merge-base changed after approval.

@DevanshuTripathi

Copy link
Copy Markdown
Owner
image

you are dismissing it for some reason

@Yogender-verma

Copy link
Copy Markdown
Contributor Author

I didn't do anything, it happened automatically

@DevanshuTripathi DevanshuTripathi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM

@Yogender-verma Yogender-verma dismissed DevanshuTripathi’s stale review July 2, 2026 13:29

The merge-base changed after approval.

@DevanshuTripathi

Copy link
Copy Markdown
Owner

Make a new pr for this

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Custom 404 Not Found Page

2 participants