diff options
Diffstat (limited to '_frame/home')
-rw-r--r-- | _frame/home/index.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/_frame/home/index.php b/_frame/home/index.php index c0f0c69..0ea9691 100644 --- a/_frame/home/index.php +++ b/_frame/home/index.php @@ -4,7 +4,7 @@ <head> <meta charset="UTF-8"> <title>Argon</title> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml"> <link rel="stylesheet" href="/css/fonts.css"> <link rel="stylesheet" href="/css/general.css"> <link rel="stylesheet" href="/css/header.css"> @@ -20,14 +20,18 @@ <?= l("Home", "Accueil") ?> </div> <div id="frame-contents"> - <div id="frame-home-intro" <?= $_FAMILINE ? "style=\"filter: hue-rotate(250deg);\"" : "" ?>> - <img src="<?= str_contains($_SERVER['HTTP_USER_AGENT'], "+AutomateCloud/") ? ("/native.svg") : ($_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/logo/256.png") ?>" id="frame-home-logo" <?= $_FAMILINE ? "style=\"filter: hue-rotate(-250deg);\"" : "" ?>> + <div id="frame-home-intro" <?= $_FAMILINE ? "style=\"filter: hue-rotate(150deg);\"" : "" ?>> + <img src="<?= str_contains($_SERVER['HTTP_USER_AGENT'], "+AutomateCloud/") ? ("/native.svg") : ($_FAMILINE ? "https://familine.minteck.org/icns/familine-music.svg" : "/favicon.svg") ?>" id="frame-home-logo" <?= $_FAMILINE ? "style=\"filter: hue-rotate(-150deg);\"" : "" ?>> <div id="frame-home-welcome"><?= l("Welcome to the Argon Media Platform!", "Bienvenue sur Familine Musique !") ?></div> <div id="frame-home-tagline"><?= l("High quality ad-free music from Minteck", "Musique de haute qualité et sans publicités de la famille") ?></div> <button onclick="location.href='/_frame/library';" id="frame-home-button"><?= l("Browse Library", "Explorer la bibliothèque") ?></button> <div id="frame-home-links"> <a onclick="location.href='/_frame/about';" id="frame-home-link-about" class="frame-home-link"><?= l("About Argon", "À propos") ?></a> · + <?php if (!$_FAMILINE): ?> + <a onclick="location.href='/_frame/copyright';" id="frame-home-link-about" class="frame-home-link"><?= l("Copyright", "Droits d'auteurs") ?></a> + · + <?php endif; ?> <a onclick="location.href='/_frame/settings';" id="frame-home-link-settings" class="frame-home-link"><?= l("Preferences", "Préférences") ?></a> · <a onclick="window.open('https://gitlab.minteck.org/explore/projects/topics/Argon');" id="frame-home-link-source" class="frame-home-link"><?= l("Source Code", "Code source") ?></a> |