pkg/pwa/static/offline.html 1.1 K raw
1
<!doctype html>
2
<html lang="en">
3
<head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Offline</title>
7
  <meta name="theme-color" content="#121113">
8
  <style>
9
    /* Inline only: this page must render with zero network requests. */
10
    * { margin: 0; padding: 0; box-sizing: border-box; }
11
    body {
12
      background: #121113;
13
      color: #e8e6e3;
14
      font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
15
      min-height: 100vh;
16
      display: flex;
17
      align-items: center;
18
      justify-content: center;
19
      padding: 2rem;
20
    }
21
    main { max-width: 34rem; text-align: center; }
22
    h1 { font-size: 1.25rem; margin-bottom: 1rem; }
23
    p { font-size: 0.875rem; line-height: 1.6; color: #a8a5a1; margin-bottom: 0.75rem; }
24
    a { color: #e8e6e3; }
25
  </style>
26
</head>
27
<body>
28
  <main>
29
    <h1>You're offline</h1>
30
    <p>This page hasn't been visited while online, so it isn't available offline yet.</p>
31
    <p><a href="/">Go to the home page</a> &mdash; if you've visited it before, it will load from cache.</p>
32
  </main>
33
</body>
34
</html>