diff --git a/src/routes/about/music/+page.svelte b/src/routes/garden/music/+page.svelte similarity index 70% rename from src/routes/about/music/+page.svelte rename to src/routes/garden/music/+page.svelte index 9d605b5..8eef26b 100644 --- a/src/routes/about/music/+page.svelte +++ b/src/routes/garden/music/+page.svelte @@ -2,6 +2,10 @@ import BannerTitleAlt from "$lib/banner-title-alt.svelte"; import Content from "$lib/content.svelte"; import { albums, type AlbumEntry } from "$lib/likedalbums"; + + let prnt = function(key: string) { + console.log(key) + } @@ -17,14 +21,16 @@
{#each albums.entries() as [key, album]} - {@render albumButton({ album })} + {@render albumButton({ key, album })} {/each}
{#snippet albumButton({ - album + key, + album, }: { + key: string; album: AlbumEntry; })}
@@ -32,7 +38,9 @@ class="album-button-img" type="image" src="{album.img}" - alt="Album art for {album.artist} – {album.title}" /> + alt="Album art for {album.artist} – {album.title}" + on:click={() => prnt(key)} + />
{/snippet} @@ -46,6 +54,15 @@ .album-button { width: calc(100%/12); line-height: 0; + transition: 0.06s ease-in-out scale, 0.1s ease-in-out filter; + scale: 1.0; + z-index: 1; + filter: saturate(0.2) brightness(0.7); + } + .album-button:hover { + scale: 1.25; + z-index: 20; + filter: saturate(1.0) brightness(1.0); } .album-button-img { diff --git a/static/about/music/acloudyskye_02_wdyw.webp b/static/garden/music/acloudyskye_02_wdyw.webp similarity index 100% rename from static/about/music/acloudyskye_02_wdyw.webp rename to static/garden/music/acloudyskye_02_wdyw.webp diff --git a/static/about/music/acloudyskye_03_tmbsh.webp b/static/garden/music/acloudyskye_03_tmbsh.webp similarity index 100% rename from static/about/music/acloudyskye_03_tmbsh.webp rename to static/garden/music/acloudyskye_03_tmbsh.webp diff --git a/static/about/music/acloudyskye_04_twbtlt.webp b/static/garden/music/acloudyskye_04_twbtlt.webp similarity index 100% rename from static/about/music/acloudyskye_04_twbtlt.webp rename to static/garden/music/acloudyskye_04_twbtlt.webp diff --git a/static/about/music/avicii_01_true.webp b/static/garden/music/avicii_01_true.webp similarity index 100% rename from static/about/music/avicii_01_true.webp rename to static/garden/music/avicii_01_true.webp diff --git a/static/about/music/avicii_02_trueaba.webp b/static/garden/music/avicii_02_trueaba.webp similarity index 100% rename from static/about/music/avicii_02_trueaba.webp rename to static/garden/music/avicii_02_trueaba.webp diff --git a/static/about/music/avicii_04_avici01.webp b/static/garden/music/avicii_04_avici01.webp similarity index 100% rename from static/about/music/avicii_04_avici01.webp rename to static/garden/music/avicii_04_avici01.webp diff --git a/static/about/music/benboehmer_01_breathing.webp b/static/garden/music/benboehmer_01_breathing.webp similarity index 100% rename from static/about/music/benboehmer_01_breathing.webp rename to static/garden/music/benboehmer_01_breathing.webp diff --git a/static/about/music/bitbird_ct3.webp b/static/garden/music/bitbird_ct3.webp similarity index 100% rename from static/about/music/bitbird_ct3.webp rename to static/garden/music/bitbird_ct3.webp diff --git a/static/about/music/bitbird_gf4.webp b/static/garden/music/bitbird_gf4.webp similarity index 100% rename from static/about/music/bitbird_gf4.webp rename to static/garden/music/bitbird_gf4.webp diff --git a/static/about/music/brakence_04_hypochondriac.webp b/static/garden/music/brakence_04_hypochondriac.webp similarity index 100% rename from static/about/music/brakence_04_hypochondriac.webp rename to static/garden/music/brakence_04_hypochondriac.webp diff --git a/static/about/music/duskus_02_healersvol1.webp b/static/garden/music/duskus_02_healersvol1.webp similarity index 100% rename from static/about/music/duskus_02_healersvol1.webp rename to static/garden/music/duskus_02_healersvol1.webp diff --git a/static/about/music/fromtheheart_thiok.webp b/static/garden/music/fromtheheart_thiok.webp similarity index 100% rename from static/about/music/fromtheheart_thiok.webp rename to static/garden/music/fromtheheart_thiok.webp diff --git a/static/about/music/gabbystart_02_alex.webp b/static/garden/music/gabbystart_02_alex.webp similarity index 100% rename from static/about/music/gabbystart_02_alex.webp rename to static/garden/music/gabbystart_02_alex.webp diff --git a/static/about/music/illenium_01_ashes.webp b/static/garden/music/illenium_01_ashes.webp similarity index 100% rename from static/about/music/illenium_01_ashes.webp rename to static/garden/music/illenium_01_ashes.webp diff --git a/static/about/music/illenium_02_awake.webp b/static/garden/music/illenium_02_awake.webp similarity index 100% rename from static/about/music/illenium_02_awake.webp rename to static/garden/music/illenium_02_awake.webp diff --git a/static/about/music/illenium_03_ascend.webp b/static/garden/music/illenium_03_ascend.webp similarity index 100% rename from static/about/music/illenium_03_ascend.webp rename to static/garden/music/illenium_03_ascend.webp diff --git a/static/about/music/janeremover_01_teenweek.webp b/static/garden/music/janeremover_01_teenweek.webp similarity index 100% rename from static/about/music/janeremover_01_teenweek.webp rename to static/garden/music/janeremover_01_teenweek.webp diff --git a/static/about/music/janeremover_02_frailty.webp b/static/garden/music/janeremover_02_frailty.webp similarity index 100% rename from static/about/music/janeremover_02_frailty.webp rename to static/garden/music/janeremover_02_frailty.webp diff --git a/static/about/music/janeremover_03_censusdesignated.webp b/static/garden/music/janeremover_03_censusdesignated.webp similarity index 100% rename from static/about/music/janeremover_03_censusdesignated.webp rename to static/garden/music/janeremover_03_censusdesignated.webp diff --git a/static/about/music/janeremover_04_revengeseekerz.webp b/static/garden/music/janeremover_04_revengeseekerz.webp similarity index 100% rename from static/about/music/janeremover_04_revengeseekerz.webp rename to static/garden/music/janeremover_04_revengeseekerz.webp diff --git a/static/about/music/jaron_02_ihtsc.webp b/static/garden/music/jaron_02_ihtsc.webp similarity index 100% rename from static/about/music/jaron_02_ihtsc.webp rename to static/garden/music/jaron_02_ihtsc.webp diff --git a/static/about/music/jaron_03_lightyears.webp b/static/garden/music/jaron_03_lightyears.webp similarity index 100% rename from static/about/music/jaron_03_lightyears.webp rename to static/garden/music/jaron_03_lightyears.webp diff --git a/static/about/music/kasbo_01_pwdk.webp b/static/garden/music/kasbo_01_pwdk.webp similarity index 100% rename from static/about/music/kasbo_01_pwdk.webp rename to static/garden/music/kasbo_01_pwdk.webp diff --git a/static/about/music/kasbo_02_tmoap.webp b/static/garden/music/kasbo_02_tmoap.webp similarity index 100% rename from static/about/music/kasbo_02_tmoap.webp rename to static/garden/music/kasbo_02_tmoap.webp diff --git a/static/about/music/kaskade_christmas.webp b/static/garden/music/kaskade_christmas.webp similarity index 100% rename from static/about/music/kaskade_christmas.webp rename to static/garden/music/kaskade_christmas.webp diff --git a/static/about/music/kmoe_01_k1.webp b/static/garden/music/kmoe_01_k1.webp similarity index 100% rename from static/about/music/kmoe_01_k1.webp rename to static/garden/music/kmoe_01_k1.webp diff --git a/static/about/music/knapsack_02_futura.webp b/static/garden/music/knapsack_02_futura.webp similarity index 100% rename from static/about/music/knapsack_02_futura.webp rename to static/garden/music/knapsack_02_futura.webp diff --git a/static/about/music/knapsack_04_stem.webp b/static/garden/music/knapsack_04_stem.webp similarity index 100% rename from static/about/music/knapsack_04_stem.webp rename to static/garden/music/knapsack_04_stem.webp