Skip to content

add 404 not found page and wired it into the router as a global catch… - #734

Merged
qcoral merged 1 commit into
hackclub:cleanfrom
wenfeng110402:clean
Aug 16, 2026
Merged

add 404 not found page and wired it into the router as a global catch…#734
qcoral merged 1 commit into
hackclub:cleanfrom
wenfeng110402:clean

Conversation

@wenfeng110402

Copy link
Copy Markdown
Contributor

Description

Added a custom 404 (Not Found) page matching the Hackpad design style and configured it as a global catch-all route (path: "*") in the router. This ensures that any unknown or invalid paths will now gracefully redirect to this matching 404 component instead of crashing or showing a blank page.

Changes

  • Created website/src/pages/NotFound.tsx with a retro Hackpad-themed 404 UI (including Home, Guide, and Gallery quick links).
  • Updated website/src/main.tsx to wire the NotFound component into the browser router.

…-all route so unknown paths now show a matching hackpad-style 404 page
@wenfeng110402

Copy link
Copy Markdown
Contributor Author
image

@qcoral

qcoral commented Aug 16, 2026

Copy link
Copy Markdown
Member

tysm!

@qcoral
qcoral merged commit ab46a6c into hackclub:clean Aug 16, 2026
2 checks passed
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.

2 participants