Commit Graph

9 Commits

Author SHA1 Message Date
a096075d8c Extract client logic to separate ClientPage component
- Create ClientPage.tsx with 'use client' and all stateful logic
- Simplify page.tsx to just import and render ClientPage
- Allows easy switching between client/server rendering strategies
- Maintains same functionality with cleaner separation of concerns
2026-03-01 14:26:15 +01:00
6c9a5ea7a6 Port to Next.js with static export for Cloudflare Pages
- Create Next.js app with TypeScript, Tailwind, and Postcss
- Extract API logic, types, and utilities to lib/
- Build React components for Race Results, Driver Standings, Points Key, and D3 Chart
- Use environment variables for API credentials (NEXT_PUBLIC_*)
- Static export (output: 'export') for Cloudflare Pages deployment
- D3 chart rendered client-side with dynamic import
- Update deploy workflow to build and deploy ./out directory
- Remove original public/index.html
2026-03-01 14:21:02 +01:00
04552e1eee update to public endpoint
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 3m30s
2026-03-01 13:53:16 +01:00
dd34ec9b9c fetch leaderboard from server
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 5m13s
2026-02-28 17:59:49 +01:00
63ae146fd0 update actions
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 1m8s
2026-02-06 20:39:01 +01:00
34b4e5d637 update deploy.yaml
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 2m42s
2026-02-06 20:28:15 +01:00
c0364e73ad add actions
Some checks failed
Deploy to Cloudflare Pages / deploy (push) Failing after 34s
2026-02-06 19:33:06 +01:00
69e30a2d6e update leaderboard 2026-01-12 18:51:06 +01:00
651bdd3269 init 2025-11-17 00:30:51 +01:00