Add web/templates/pwa/offline.html
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<title>Offline | Illustrations DB</title>
|
||||||
|
<style>
|
||||||
|
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial;
|
||||||
|
margin:0;min-height:100vh;display:grid;place-items:center;
|
||||||
|
background:#f7f9fc;color:#1f2937}
|
||||||
|
.card{background:#fff;padding:2rem;border-radius:1rem;
|
||||||
|
box-shadow:0 10px 30px rgba(0,0,0,.06);max-width:32rem}
|
||||||
|
h1{margin:0 0 .5rem 0;font-size:1.5rem}
|
||||||
|
p{margin:.25rem 0;color:#4b5563}
|
||||||
|
.btn{display:inline-block;margin-top:1rem;padding:.6rem 1rem;
|
||||||
|
border-radius:.75rem;text-decoration:none;background:#2f6cab;color:white}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="card">
|
||||||
|
<h1>You’re offline</h1>
|
||||||
|
<p>You can still view pages you recently opened.</p>
|
||||||
|
<p>When you’re back online, the app will refresh automatically.</p>
|
||||||
|
<a class="btn" href="/">Try Home</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user