diff options
author | Minteck <contact@minteck.org> | 2022-05-08 12:07:08 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-05-08 12:07:08 +0200 |
commit | 3d71c572ec9a0827071be1978731079e8f1e5dbf (patch) | |
tree | 338a6a4eca5548034b3e83837006a0a991ea9434 /_frame/home | |
parent | 98f4f53c364a157d1e0a862618b1e8d12aa52dc4 (diff) | |
download | argon-3d71c572ec9a0827071be1978731079e8f1e5dbf.tar.gz argon-3d71c572ec9a0827071be1978731079e8f1e5dbf.tar.bz2 argon-3d71c572ec9a0827071be1978731079e8f1e5dbf.zip |
Commit
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> |