Skip to content

feat: add NotFound page, robots.txt, and sitemap.xml (#216)#218

Merged
Mosas2000 merged 1 commit intomainfrom
feat/216-missing-project-files
Mar 8, 2026
Merged

feat: add NotFound page, robots.txt, and sitemap.xml (#216)#218
Mosas2000 merged 1 commit intomainfrom
feat/216-missing-project-files

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Summary

Addresses all items in #216:

Changes

  1. NotFound.jsx — New 404 page component with clear messaging and a link back to /send. Replaces the silent <Navigate to="/send" replace /> catch-all route.
  2. robots.txt — Added to frontend/public/ allowing all crawlers, with a sitemap reference.
  3. sitemap.xml — Added to frontend/public/ listing all SPA routes (/, /send, /feed, /leaderboard, /stats) with appropriate change frequencies.

Already Resolved

  1. .env.example — Already exists at frontend/.env.example with documented variables (VITE_NETWORK, VITE_APP_URL).

Files Changed

  • frontend/src/App.jsx — Added NotFound lazy import, replaced catch-all redirect, removed unused Navigate import
  • frontend/src/components/NotFound.jsx — New file
  • frontend/public/robots.txt — New file
  • frontend/public/sitemap.xml — New file

Closes #216

- Replace silent catch-all redirect with a proper 404 page (NotFound.jsx)
  that shows a clear message and link back to /send
- Remove unused Navigate import from App.jsx
- Add robots.txt to frontend/public/ allowing all crawlers
- Add sitemap.xml to frontend/public/ with all SPA routes
- .env.example already exists (verified, no changes needed)

Closes #216
@Mosas2000 Mosas2000 merged commit e4eed70 into main Mar 8, 2026
1 of 4 checks passed
@Mosas2000 Mosas2000 deleted the feat/216-missing-project-files branch March 8, 2026 11:22
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.

Missing project files: .env.example, 404 page, robots.txt

1 participant