design: WorkoutPage Hevy-style redesign + AlternativeModal + backend API

- Add GET /api/exercises/:id/alternatives endpoint
- Add GET /api/exercises/:id/last-workout endpoint
- New AlternativeModal component for swapping exercises
- WorkoutPage: single-tap logging, +/- buttons, rest timer
- Updated Icons with new workout icons
- Polish: card shadows, borders, micro-interactions
- Tasks directory for project management
This commit is contained in:
2026-02-28 21:25:23 +01:00
parent 0e5cec927a
commit 3b6b12d354
11 changed files with 2244 additions and 842 deletions
+8
View File
@@ -62,6 +62,14 @@ export const Icons = {
<line x1="5" y1="12" x2="19" y2="12"/>
</svg>
),
swap: (
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<polyline points="7 7 3 11 7 15"/>
<polyline points="17 9 21 13 17 17"/>
<line x1="3" y1="11" x2="21" y2="11"/>
<line x1="3" y1="13" x2="21" y2="13"/>
</svg>
),
check: (
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round">
<polyline points="20 6 9 17 4 12"/>