Phase 1 — Project Scaffold: - Vite + React-TS project in frontend/ with Tailwind v3, PostCSS, Autoprefixer - clsx and react-router-dom installed - Vite proxy configured for /api and /ws to localhost:8000 - Tailwind directives in src/index.css - Makefile targets: frontend-dev, frontend-build - app.py updated to serve frontend/dist/ with SPA catch-all fallback Phase 2 — Type Definitions: - TypeScript types in frontend/src/types/game.ts (Phase, Card, Player, GameState, WsIncoming, NarrationLine) - Constants in frontend/src/constants.ts (SEAT_COLOURS, PHASES) Phase 10 — Tailwind Colour Tokens: - Custom color tokens for bg, accent, life, seat, card color groups - Additional tokens from index.html audit: border, phase, btn, text, highlight - Custom pulse animation keyframe Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
364 B
HTML
14 lines
364 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>frontend-tmp</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|