Task 8.2: Move src/app/page.tsx to src/app/app/page.tsx

- Create src/app/app/ directory
- Move the main app component (dashboard) to src/app/app/page.tsx
- Replace src/app/page.tsx with a redirect to /login
- Update tasks.md to mark 8.2 as complete

This establishes the /app workspace route for the authenticated app while the root / will redirect to login.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marko Djordjevic 2026-02-20 13:14:15 +01:00
parent c9dbd4c813
commit 985f459bd7
3 changed files with 1079 additions and 1064 deletions

View file

@ -45,7 +45,7 @@
## 8. Frontend Routing Restructure
- [x] 8.1 `[haiku]` Create `src/app/(public)/layout.tsx` — minimal layout for public pages (shared fonts/theme, no sidebar)
- [ ] 8.2 `[haiku]` Move current `src/app/page.tsx` to `src/app/app/page.tsx` (workspace at `/app`)
- [x] 8.2 `[haiku]` Move current `src/app/page.tsx` to `src/app/app/page.tsx` (workspace at `/app`)
- [ ] 8.3 `[sonnet]` Create `src/app/app/layout.tsx` — protected layout with `SessionProvider`, user menu nav bar, sidebar with settings link
- [ ] 8.4 `[haiku]` Update any hardcoded `/` links in existing components to `/app`

1067
src/app/app/page.tsx Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff