Skip to content

feat: personal run page with timeline, bib wall, and race prep#33

Draft
austinmrobinson wants to merge 1 commit into
mainfrom
austin/run-page-feature-da7f
Draft

feat: personal run page with timeline, bib wall, and race prep#33
austinmrobinson wants to merge 1 commit into
mainfrom
austin/run-page-feature-da7f

Conversation

@austinmrobinson

Copy link
Copy Markdown
Owner

Summary

Adds a single-owner public /run section inspired by rauno.me/run and kyles.run:

  • Activities timeline — all-time Strava runs, newest first, with cursor pagination
  • Race bib wall — grid of configured races with finish stats
  • Race prep detail — training block timeline, goal quote, checkpoint chart, and segment comparison per race

Architecture

Adapted to this repo's App Router + REST API stack (no tRPC/DB):

  • Strava sync via /api/run/* with KV caching
  • Single owner resolved from STRAVA_ATHLETE_ID / RUN_PAGE_USER_ID
  • Race metadata, goals, checkpoints, and segments in app/features/run/data/races.ts

Routes

Route Purpose
/run Overview with recent activities + races preview
/run/activities Full all-time timeline
/run/races Bib wall
/run/races/[raceId] Race result + prep drill-down

Setup

Add Strava credentials to .env.local (see .env.example). Update app/features/run/data/races.ts with your actual races and optional stravaActivityId for each.

Homepage

Adds a Run link under Contact pointing to /run.

Test plan

  • Set Strava env vars and verify /run/activities loads synced runs
  • Confirm bib wall renders configured races
  • Click a race and verify prep timeline + goal/checkpoint/segment sections
  • Test "Load more" pagination on activities page
  • Verify build passes (pnpm build)
Open in Web Open in Cursor 

Implement /run section with Rauno-style all-time activity timeline and
Kyle-style race bib wall with per-race prep drill-down. Uses Strava API
with KV caching for a single-owner public page, static race config for
goals/checkpoints/segments, and REST API routes under /api/run.

Co-authored-by: Austin Robinson <austinrobinsondesign@gmail.com>
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dotcom Ready Ready Preview, Comment Jul 1, 2026 2:10am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants