Transforme le site en progressive web app
Ajoute un service worker (réseau d'abord, page hors ligne en secours), les icônes PNG dont une maskable, un manifeste complet et les balises iOS pour l'installation sur l'écran d'accueil. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
48e807ddce
commit
2346deab3c
8 files changed
+157
-1
No files matched your search
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||||
<meta name="theme-color" content="#bfe383" />
|
||||
<title>Lisette — hors ligne</title>
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: #bfe383;
|
||||
color: #1c1c24;
|
||||
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
|
||||
text-align: center;
|
||||
padding: 1.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
img { width: 6rem; height: 6rem; }
|
||||
h1 { font-size: 1.5rem; margin: 1rem 0 0.5rem; }
|
||||
p { margin: 0 0 1.5rem; }
|
||||
button {
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border: 2px solid #1c1c24;
|
||||
border-radius: 0.875rem;
|
||||
background: #fdfcf7;
|
||||
box-shadow: 0 5px 0 0 #1c1c24;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<img src="/favicon.svg" alt="" />
|
||||
<h1>Pas de connexion</h1>
|
||||
<p>Lisette a besoin du réseau pour afficher vos listes.</p>
|
||||
<button onclick="location.reload()">Réessayer</button>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user