--- /** * Per-user athlete page: /u/{handle}/athlete/ */ import Base from '../../../../layouts/Base.astro'; import AthleteView from '../../../../components/AthleteView.svelte'; import { readShardHandles } from '../../../../lib/manifest'; export function getStaticPaths() { return readShardHandles().map(({ handle }) => ({ params: { handle }, props: { handle }, })); } const { handle } = Astro.props as { handle: string }; const base = import.meta.env.BASE_URL; const mergedBase = `${base}data/${handle}/_merged/`; const indexUrl = `${mergedBase}index.json`; const athleteUrl = `${mergedBase}athlete.json`; ---

@{handle}