-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoffline.html
More file actions
72 lines (64 loc) · 3.26 KB
/
Copy pathoffline.html
File metadata and controls
72 lines (64 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Offline - You Are Not Connected | EasyStack</title>
<meta name="description" content="You appear to be offline. EasyStack works as a PWA: the pages you visited before can still run here without a connection." />
<meta name="robots" content="noindex, nofollow" />
<link rel="icon" href="./images/stack-fav.png" type="image/x-icon">
<meta name="theme-color" content="#F2F2F7">
<link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" href="./images/stack-fav.png">
<link rel="stylesheet" href="./hig.css">
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="topbar">
<div class="shell topbar__inner">
<a class="brand" href="./"><span class="brand__mark brand__mark--logo"><img src="./images/stack.gif" alt="" width="30" height="30"></span> EasyStack</a>
<button class="theme-toggle" id="themeToggle" type="button" title="Toggle dark mode"></button>
</div>
</header>
<main class="playing-field" id="main">
<div class="shell shell--narrow">
<div class="hero center" style="text-align:center">
<p class="hero__kicker" style="justify-content:center">Offline cache</p>
<h1 style="margin-inline:auto">You are offline</h1>
<p class="hero__lead" style="margin-inline:auto">
The network is unreachable, but EasyStack is a progressive web app. Pages you opened before are saved
on this device and still work.
</p>
</div>
<div class="card card--pad center mt-3" data-reveal>
<div class="bars-scene" aria-hidden="true" style="height:80px;margin:8px 0">
<i></i><i></i><i></i><i></i><i></i><i></i><i></i>
</div>
<h2 class="section__title" style="justify-content:center;font-size:20px">Try one of your cached pages</h2>
<div class="row center" style="justify-content:center;margin-top:18px">
<a class="btn btn--accent" href="./">Home visualizer</a>
<a class="btn btn--subtle" href="./guides">Guides</a>
<a class="btn btn--subtle" href="./stack-visualizer">Advanced tool</a>
<a class="btn btn--subtle" href="./stack-complexity">Complexity</a>
</div>
<p class="tiny mt-3">If a page was never visited, it cannot load until your connection returns. Check that
your device is online and try again.</p>
</div>
</div>
</main>
<footer class="footer">
<div class="shell">
<div class="footer__bottom" style="margin-top:0;border-top:none">
<span>Copyright <span data-year>2026</span> EasyStack. Made by Arun Neupane.</span>
<span>Free forever. No sign-up. Fully offline-ready PWA.</span>
</div>
</div>
</footer>
<script src="./hig.js"></script>
<script>
window.addEventListener("online", function () {
window.location.href = "./";
});
</script>
</body>
</html>