From d499b2ba5f784e150771de02be4f68fef92ebb95 Mon Sep 17 00:00:00 2001 From: Felix Brabetz Date: Sat, 16 May 2026 05:45:21 +0200 Subject: [PATCH] Implement custom UI controls for YouTube Lofi player --- src/components/SubpageRain.astro | 98 ++++++++++++++++++++++++++------ 1 file changed, 80 insertions(+), 18 deletions(-) diff --git a/src/components/SubpageRain.astro b/src/components/SubpageRain.astro index 61885ac..20fba41 100644 --- a/src/components/SubpageRain.astro +++ b/src/components/SubpageRain.astro @@ -2,13 +2,44 @@ // src/components/SubpageRain.astro ---
+ x-init="generateDrops(rainIntensity); $watch('rainIntensity', value => { generateDrops(value); updateAudio() }); $watch('lofiFilter', value => updateAudio()); $watch('lofiVolume', value => updateLofiVolume()); $watch('currentPage', val => { if(val === 'page-rain') { initAudio(); } })">
@@ -147,7 +196,7 @@ window.rainData = function() {
- +
@@ -157,15 +206,28 @@ window.rainData = function() {
- +
-
- Zusatz-Musik - Lofi Hip Hop Groove (YouTube Stream) -
-
- +
+
+ Zusatz-Musik + Lofi Hip Hop Groove (YouTube Stream) +
+
+ + + +
+ + +
+
+ +