Community
What everyone's been up to — together.
{#if loading}
Loading…
{:else if error}
{error}
{:else}
{#each PERIODS as p}
{/each}
{#if totals.users > 0}
{#each [
{ label: 'Activities', value: totals.count.toLocaleString() },
{ label: 'Distance', value: formatDistance(totals.distance_m) },
{ label: 'Elevation', value: `${Math.round(totals.elevation_m / 1000).toLocaleString()} km↑` },
{ label: 'Time', value: formatDuration(totals.duration_s) },
] as item}
{item.value}
{item.label}
{/each}
{/if}
{#if totals.users === 0}
No public activities in this period yet.
{:else}
| # |
|
|
|
|
|
|
|
{#each sorted as u, i}
| {i + 1} |
{u.display_name}
@{u.handle}
|
{u.count} |
{u.distance_m > 0 ? formatDistance(u.distance_m) : '—'} |
{u.elevation_m > 0 ? `${Math.round(u.elevation_m).toLocaleString()} m` : '—'} |
{u.duration_s > 0 ? formatDuration(u.duration_s) : '—'} |
{#each u.sports as s}{sportIcon(s)}{/each}
|
{u.streak > 0 ? `${u.streak}d` : '—'}
|
{/each}
{/if}
{/if}