diff --git a/packages/tourmaline/src/routes/profile/[did]/+page.svelte b/packages/tourmaline/src/routes/profile/[did]/+page.svelte index c3e6515..bdb5660 100644 --- a/packages/tourmaline/src/routes/profile/[did]/+page.svelte +++ b/packages/tourmaline/src/routes/profile/[did]/+page.svelte @@ -40,6 +40,7 @@ import CatalogueTab from './CatalogueTab.svelte'; import PunchcardHeatmap from './PunchcardHeatmap.svelte'; import EddingtonChart from './EddingtonChart.svelte'; + import RaceChart from './RaceChart.svelte'; import Recommendations from './Recommendations.svelte'; import TrackPreview from '$lib/components/TrackPreview.svelte'; import ListeningContext from './ListeningContext.svelte'; @@ -488,6 +489,11 @@ {:else if activeTab === 'catalogue'} + +
+ +
+
diff --git a/packages/tourmaline/src/routes/profile/[did]/RaceChart.svelte b/packages/tourmaline/src/routes/profile/[did]/RaceChart.svelte new file mode 100644 index 0000000..cfb53ce --- /dev/null +++ b/packages/tourmaline/src/routes/profile/[did]/RaceChart.svelte @@ -0,0 +1,227 @@ + + +{#if frames.length > 0} +
+
+

+ + Top Artists Race +

+ + {formatMonth(currentFrame?.month ?? '')} + +
+ +
+ +
+ +
+
+ + + + + + {frameIndex + 1}/{frames.length} + +
+ +
+ Speed + {#each SPEEDS as s (s)} + + {/each} +
+
+
+{/if}