--- description: Create a new page in ThrillWiki following project conventions --- # New Page Workflow Create a new page in ThrillWiki following all conventions and patterns. ## Information Gathering Before creating the page, determine: 1. **Route**: What URL should this page have? 2. **Page Type**: - List page (shows multiple items) - Detail page (shows single item) - Form page (create/edit content) - Static page (about, contact, etc.) 3. **Data Requirements**: What data does this page need? 4. **Authentication**: Public or authenticated only? 5. **Related Components**: What existing components can be reused? ## File Creation Steps ### 1. Create the Page Component Location: `frontend/pages/[route].vue` or `frontend/pages/[folder]/[route].vue` ```vue ``` ### 2. For List Pages - Add Filtering ```vue ``` ### 3. For Detail Pages - Dynamic Route File: `frontend/pages/items/[slug].vue` ```vue ``` ### 4. For Form Pages ```vue ``` ## Checklist After creating the page, verify: - [ ] Page renders without errors - [ ] SEO meta tags are set - [ ] Loading states display correctly - [ ] Error states are handled - [ ] Page is responsive (mobile, tablet, desktop) - [ ] Keyboard navigation works - [ ] Data fetches efficiently (no N+1 issues) - [ ] URL parameters persist correctly (for list pages) - [ ] Authentication is enforced (if required) ## Output Report what was created: ``` Created: frontend/pages/[path].vue Route: /[route] Type: [list/detail/form/static] Features: [list of features implemented] ```