diff --git a/assets/pasted-20260214-202227-47d77ebf.png b/assets/pasted-20260214-202227-47d77ebf.png new file mode 100644 index 0000000..a6e8918 Binary files /dev/null and b/assets/pasted-20260214-202227-47d77ebf.png differ diff --git a/assets/pasted-20260214-202809-06aae656.png b/assets/pasted-20260214-202809-06aae656.png new file mode 100644 index 0000000..3313cf4 Binary files /dev/null and b/assets/pasted-20260214-202809-06aae656.png differ diff --git a/index.php b/index.php index d28193e..f39e38f 100644 --- a/index.php +++ b/index.php @@ -8,8 +8,7 @@ $projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'Lili Records Radio - L $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? 'assets/images/featured.jpg'; // WhatsApp info -$whatsapp_number = '+5359177041'; -$whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_number); +$whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY"; ?> @@ -295,31 +294,19 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe text-align: center; } - .qr-placeholder { - width: 180px; - height: 180px; + .qr-container { margin: 1rem auto; - background: rgba(255, 255, 255, 0.85); - border-radius: 12px; display: flex; - flex-direction: column; - align-items: center; justify-content: center; - color: #333; - padding: 10px; - backdrop-filter: blur(4px); } - .qr-placeholder i { - font-size: 3rem; - margin-bottom: 10px; - color: #000; + .qr-container img { + max-width: 200px; + transition: transform 0.3s; } - .qr-placeholder span { - font-size: 0.75rem; - font-weight: 700; - text-transform: uppercase; + .qr-container img:hover { + transform: scale(1.1); } /* Floating WhatsApp Button */ @@ -394,6 +381,10 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe
EN VIVO
Cargando stream...
+
+ + +
@@ -415,6 +406,17 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe ENVIAR AL WHATSAPP
+ + +
+

APOYA LA RADIO (TRANSFERMÓVIL)

+
+
+ + ESPACIO PARA QR +
+
+
@@ -433,7 +435,7 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe
@@ -491,12 +493,16 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe async function updateMetadata() { try { // RadioKing Public API for current track - const response = await fetch('https://api.radioking.io/widget/radio/828046/track/current'); + const response = await fetch('https://www.radioking.com/widgets/currenttrack.php?radio=828046&format=json'); const data = await response.json(); if (data && data.title) { - const title = data.artist ? `${data.artist} - ${data.title}` : data.title; - trackTitle.textContent = title; - document.title = `▶ ${title} | Lili Records Radio`; + let fullTitle = data.title; + // If artist is present and not already at the start of the title, prepend it + if (data.artist && !fullTitle.toLowerCase().includes(data.artist.toLowerCase())) { + fullTitle = `${data.artist} - ${fullTitle}`; + } + trackTitle.textContent = fullTitle; + document.title = `▶ ${fullTitle} | Lili Records Radio`; } else { trackTitle.textContent = "Lili Records Radio - En Vivo"; }