Lighten the website and make it more accessible
- Serve the hero images as WebP at their display size: 118 KB and 55 KB instead of 3.5 MB and 1.4 MB. - Add a favicon, an apple-touch icon, a description and a theme colour. - Announce status messages to screen readers and label the move buttons. - Offer "Se souvenir de moi" to keep the password on the device, and keep working when browser storage is unavailable. - Fix typos in the jukebox introduction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
362c7772ba
commit
d200040691
11 changed files with 66 additions and 14 deletions
|
|
@ -4,19 +4,22 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>Palico Jukebox</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#140b24" />
|
||||
<link rel="icon" type="image/png" href="/img/favicon.png" />
|
||||
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png" />
|
||||
<link rel="stylesheet" href="/style/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="hero">
|
||||
<div class="hero__visual">
|
||||
<img src="/img/palico-jukebox.png" alt="Palico Jukebox" />
|
||||
<img src="/img/palico-jukebox.webp" alt="Palico Jukebox" width="400" height="857" />
|
||||
</div>
|
||||
<div class="hero__content">
|
||||
<p class="pill">Le Jukebox du Palico Bot</p>
|
||||
<h1>Un peu de son pour le Discord !</h1>
|
||||
<p>
|
||||
Tu veux chill avec les autres sur un petit fond musical ?<br />
|
||||
T'inquietes pas, je peux m'occuper de ca !<br />
|
||||
T'inquiète pas, je peux m'occuper de ça !<br />
|
||||
<br />
|
||||
Uploade des fichiers et gère la playlist depuis cette interface web.
|
||||
Tout est synchronisé avec le salon vocal.
|
||||
|
|
@ -31,7 +34,8 @@
|
|||
<div class="panel panel--glass">
|
||||
<h2>Authentification</h2>
|
||||
<p class="panel__subtitle">
|
||||
La clé reste dans cet onglet jusqu'à sa fermeture.
|
||||
Sans « Se souvenir de moi », le mot de passe est oublié à la
|
||||
fermeture de l'onglet.
|
||||
</p>
|
||||
<form id="settingsForm">
|
||||
<div class="grid grid--two">
|
||||
|
|
@ -56,6 +60,10 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<label class="form-checkbox u-mt-1">
|
||||
<input type="checkbox" id="rememberKey" class="form-checkbox__input" />
|
||||
<span>Se souvenir de moi sur cet appareil</span>
|
||||
</label>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn">Sauvegarder</button>
|
||||
</div>
|
||||
|
|
@ -65,7 +73,7 @@
|
|||
</div>
|
||||
|
||||
<main>
|
||||
<div id="status" class="status status--info" hidden></div>
|
||||
<div id="status" class="status status--info" role="status" aria-live="polite" hidden></div>
|
||||
|
||||
<section class="panel panel--glass">
|
||||
<div class="panel__header">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue