You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -9,6 +9,24 @@ import TrackBlock from "#parts/music/block.track.listen.svelte";
9
9
10
10
import { chronicle_data } from"./chronicle";
11
11
12
+
import { onMount } from"svelte";
13
+
14
+
15
+
let invert:boolean;
16
+
let displayed_route =$state("");
17
+
18
+
onMount(() => {
19
+
invert=Math.random() >0.5;
20
+
displayed_route=pick_random(routes);
21
+
});
22
+
23
+
24
+
const routes = [
25
+
`While I’ve split these into discrete “eras”, in reality there was definitely overlap between them – not everything was perfectly linear, many eras evolved in parallel! Also, the dates don’t mean I don’t listen to these tracks anymore, they just indicate when I first came across them!`,
26
+
27
+
`It goes without saying that if a track’s in here, I already love it to bits. So I’ll try refrain from reiterating “I LOVE THIS TRACK SO MUCH”, altho sometimes it really does just need emphasising. And while I could probably say whether I like one track more than another if held at gunpoint, music is music, and I love it all, there’s no competition or rankings.`,
28
+
];
29
+
12
30
</script>
13
31
14
32
@@ -26,9 +44,13 @@ import { chronicle_data } from "./chronicle";
26
44
27
45
<Main>
28
46
<Block>
29
-
This is a brief selection of my favourite tracks over the years! They’re not exactly “favourites” per se, but more just tracks that I really notably liked, and are a landmark along my evolution of music tastes.
30
-
<divstyle:height="0.69rem"></div>
31
-
While I’ve split these into discrete “eras”, in reality there was definitely overlap between them – not everything was perfectly linear, many eras evolved in parallel! Also, the dates don’t mean I don’t listen to these tracks anymore, they just indicate when I came across them!
47
+
{#ifdisplayed_route}
48
+
<p> This is a brief selection of my favourite tracks over the years! They’re not exactly “favourites” per se, but more just tracks that I really notably liked, and are a landmark along my evolution of music tastes. </p>
49
+
50
+
<p> {@htmldisplayed_route} </p>
51
+
52
+
<p> You can find these tracks in a <atarget="_blank"href="https://youtube.com/playlist?list=PLYWIouv-DSkA_6f6V_ZChkIKn7_Foqxnd">YouTube playlist of mine</a> ;) </p>
53
+
{/if}
32
54
</Block>
33
55
34
56
<divclass="chronicle">
@@ -45,7 +67,7 @@ import { chronicle_data } from "./chronicle";
0 commit comments