Add schedule route pages and feature components (Phase 3C)
Four Modern.js routes: start page, one-way search, round-trip search, and catch-all multi-flight details. Components wire hooks for data fetching and render flight results with calendar navigation.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Phase 3C -- Schedule Route Pages
|
||||
|
||||
> **Parent:** `2026-04-15-phase-3-schedule-master.md`
|
||||
> **Depends on:** 3A (URL), 3B (API/hooks)
|
||||
|
||||
## Deliverables
|
||||
|
||||
1. Schedule page components in `src/features/schedule/components/`
|
||||
2. Modern.js route pages in `src/routes/[lang]/schedule/`
|
||||
3. 4 routes: start, one-way, round-trip, catch-all details
|
||||
|
||||
## Route Structure
|
||||
|
||||
```
|
||||
src/routes/[lang]/schedule/
|
||||
page.tsx -- start page
|
||||
route/[params]/page.tsx -- one-way search
|
||||
route/[params]/[returnParams]/page.tsx -- round-trip search
|
||||
[...flights]/page.tsx -- catch-all details
|
||||
```
|
||||
Reference in New Issue
Block a user