From fa10dffd96530b4ca897e215bad5de2171b6deb0 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Wed, 1 Jul 2026 17:58:30 +0200 Subject: [PATCH] Ajout d'un bouton et d'un player audio sur la page d'acceuil pour streamer la radio de l'interhack --- assets/pause-solid-full.svg | 1 + assets/play-solid-full.svg | 1 + css/home.css | 23 +++++++++++++++++++++++ index.html | 19 +++++++++++++++---- js/radio.js | 23 +++++++++++++++++++++++ 5 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 assets/pause-solid-full.svg create mode 100644 assets/play-solid-full.svg create mode 100644 js/radio.js diff --git a/assets/pause-solid-full.svg b/assets/pause-solid-full.svg new file mode 100644 index 0000000..a45f416 --- /dev/null +++ b/assets/pause-solid-full.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/play-solid-full.svg b/assets/play-solid-full.svg new file mode 100644 index 0000000..460cdbb --- /dev/null +++ b/assets/play-solid-full.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/css/home.css b/css/home.css index 0ad352d..d6b71ec 100644 --- a/css/home.css +++ b/css/home.css @@ -157,3 +157,26 @@ font-size : 1.5em; 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } + +/* Radio Interhack */ + +#radio-player { + float: left; + z-index: 100000; + background-color: aqua; + height: 1em; + width: 1em; + position: absolute; + bottom: 1em; + right: 1em; + position: fixed; + border-radius: 10%; +} + +#radio-button { + background: none; + display: flex; + justify-content: center; + align-items: center; + border: none; +} \ No newline at end of file diff --git a/index.html b/index.html index a12c381..db04284 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@ + Camp Interhack @@ -109,7 +110,7 @@

C'est complet ! -
+
Nous avons reçu en amont

@@ -119,10 +120,10 @@

des dons dont nous avons besoin.

- +

- Merci !! -
+ Merci !! +
Et nous comptons sur vous pour continuer à vous mobiliser avant et durant le camp, pour que l'on puisse atteindre les 100% !

@@ -192,6 +193,16 @@

et bien d'autres !
Rejoignez le canal Matrix sur #interhack:matrix.interhacker.space

+ +
+ + + play button + +