Description
Two routes serve the event creation form:
app/create-event/page.tsx — the primary 26KB form implementation
app/events/create/page.tsx — a second page file that appears to be a duplicate or stub
This creates ambiguity for contributors and could cause broken links if one is maintained and the other is not.
Tasks
- Audit both pages and determine the canonical route.
- Redirect the non-canonical route using Next.js
redirect() or remove it entirely.
- Update all internal links and the
CreateEventButton in the navbar to use the canonical route.
- Document the decision in a code comment at the top of the canonical page file.
Acceptance Criteria
- Only one create-event route exists (or the duplicate permanently redirects).
- All internal links point to the canonical route.
- No 404 errors from previously used routes.
Description
Two routes serve the event creation form:
app/create-event/page.tsx— the primary 26KB form implementationapp/events/create/page.tsx— a second page file that appears to be a duplicate or stubThis creates ambiguity for contributors and could cause broken links if one is maintained and the other is not.
Tasks
redirect()or remove it entirely.CreateEventButtonin the navbar to use the canonical route.Acceptance Criteria