Auto commit: 2026-03-31T15:31:28.296Z
This commit is contained in:
parent
2f0705d57e
commit
f309ca8701
@ -50,6 +50,8 @@ $entry = $entry && $entry['entry_type'] === $type ? $entry : ($mode === 'new' ?
|
||||
$assetVersion = (string) max(@filemtime(__DIR__ . '/assets/css/custom.css') ?: time(), @filemtime(__DIR__ . '/assets/js/main.js') ?: time());
|
||||
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? project_description();
|
||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
$logoPath = project_logo_path();
|
||||
$logoVersion = (string) (@filemtime(__DIR__ . $logoPath) ?: time());
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="es">
|
||||
@ -66,6 +68,8 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
<meta property="og:image" content="<?= h($projectImageUrl) ?>">
|
||||
<meta property="twitter:image" content="<?= h($projectImageUrl) ?>">
|
||||
<?php endif; ?>
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="<?= h($logoPath) ?>?v=<?= h($logoVersion) ?>">
|
||||
<link rel="apple-touch-icon" href="<?= h($logoPath) ?>?v=<?= h($logoVersion) ?>">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
@ -76,7 +80,9 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
<nav class="navbar navbar-expand-lg navbar-dark sticky-top radio-nav border-bottom border-secondary-subtle">
|
||||
<div class="container">
|
||||
<a class="navbar-brand d-flex align-items-center gap-2" href="/">
|
||||
<span class="brand-mark">LR</span>
|
||||
<span class="brand-logo">
|
||||
<img src="<?= h($logoPath) ?>" alt="Logo de Lili Records Radio" width="44" height="44">
|
||||
</span>
|
||||
<span>
|
||||
<span class="d-block fw-semibold brand-title">Lili Records Radio</span>
|
||||
<span class="brand-subtitle">Admin</span>
|
||||
|
||||
5
app.php
5
app.php
@ -28,6 +28,11 @@ function project_description(): string
|
||||
: 'Radio online para escuchar Lili Records Radio, revisar la programación y enviar mensajes o pedidos musicales.';
|
||||
}
|
||||
|
||||
function project_logo_path(): string
|
||||
{
|
||||
return '/assets/pasted-20260331-152545-8e67ea25.png';
|
||||
}
|
||||
|
||||
function set_flash(string $type, string $message): void
|
||||
{
|
||||
$_SESSION['flash'] = [
|
||||
|
||||
@ -57,18 +57,33 @@ a:hover {
|
||||
}
|
||||
|
||||
.brand-mark,
|
||||
.brand-logo,
|
||||
.avatar-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--border-strong);
|
||||
background: #151a20;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
font-size: 0.9rem;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.brand-logo img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
|
||||
10
index.php
10
index.php
@ -56,7 +56,9 @@ $projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? project_description();
|
||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
$title = project_name();
|
||||
$metaDescription = project_description();
|
||||
$assetVersion = (string) max(@filemtime(__DIR__ . '/assets/css/custom.css') ?: time(), @filemtime(__DIR__ . '/assets/js/main.js') ?: time());
|
||||
$logoPath = project_logo_path();
|
||||
$logoVersion = (string) (@filemtime(__DIR__ . $logoPath) ?: time());
|
||||
$assetVersion = (string) max(@filemtime(__DIR__ . '/assets/css/custom.css') ?: time(), @filemtime(__DIR__ . '/assets/js/main.js') ?: time(), @filemtime(__DIR__ . $logoPath) ?: time());
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="es">
|
||||
@ -74,6 +76,8 @@ $assetVersion = (string) max(@filemtime(__DIR__ . '/assets/css/custom.css') ?: t
|
||||
<meta property="og:image" content="<?= h($projectImageUrl) ?>">
|
||||
<meta property="twitter:image" content="<?= h($projectImageUrl) ?>">
|
||||
<?php endif; ?>
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="<?= h($logoPath) ?>?v=<?= h($logoVersion) ?>">
|
||||
<link rel="apple-touch-icon" href="<?= h($logoPath) ?>?v=<?= h($logoVersion) ?>">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||
@ -84,7 +88,9 @@ $assetVersion = (string) max(@filemtime(__DIR__ . '/assets/css/custom.css') ?: t
|
||||
<nav class="navbar navbar-expand-lg navbar-dark sticky-top radio-nav border-bottom border-secondary-subtle">
|
||||
<div class="container">
|
||||
<a class="navbar-brand d-flex align-items-center gap-2" href="/#top">
|
||||
<span class="brand-mark">LR</span>
|
||||
<span class="brand-logo">
|
||||
<img src="<?= h($logoPath) ?>" alt="Logo de Lili Records Radio" width="44" height="44">
|
||||
</span>
|
||||
<span>
|
||||
<span class="d-block fw-semibold brand-title">Lili Records Radio</span>
|
||||
<span class="brand-subtitle">Online station</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user