Auto commit: 2026-02-14T20:30:18.038Z

This commit is contained in:
Flatlogic Bot 2026-02-14 20:30:18 +00:00
parent 7060efbbb4
commit b79dba006e
3 changed files with 31 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

View File

@ -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";
?>
<!doctype html>
<html lang="es">
@ -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
<div class="track-info">
<div class="track-status">EN VIVO</div>
<div id="track-title" class="track-title">Cargando stream...</div>
</div>
<a href="<?= $whatsapp_link ?>" target="_blank" title="WhatsApp directo" style="color: var(--accent-color); font-size: 1.8rem; margin-left: auto; display: flex; align-items: center;">
<i class="bi bi-whatsapp"></i>
</a>
</div>
<div class="controls">
@ -415,6 +406,17 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe
<i class="bi bi-whatsapp"></i> ENVIAR AL WHATSAPP
</button>
</div>
<!-- Transfermovil QR Section -->
<div class="payment-section">
<p style="font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; opacity: 0.9;">APOYA LA RADIO (TRANSFERMÓVIL)</p>
<div class="qr-container">
<div style="width: 180px; height: 180px; background: rgba(255,255,255,0.1); border: 2px dashed rgba(255,255,255,0.3); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem;">
<i class="bi bi-qr-code" style="font-size: 3rem; opacity: 0.5;"></i>
<span style="font-size: 0.7rem; opacity: 0.5;">ESPACIO PARA QR</span>
</div>
</div>
</div>
</div>
</div>
@ -433,7 +435,7 @@ $whatsapp_link = "https://wa.me/" . preg_replace('/[^0-9]/', '', $whatsapp_numbe
<!-- Right Section: Featured Image -->
<section class="image-section">
<div class="featured-img-container">
<img src="assets/images/featured.jpg" alt="Lili Records Featured">
<img src="assets/pasted-20260214-202809-06aae656.png" alt="Lili Records Featured">
</div>
</section>
</div>
@ -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";
}