-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
51 lines (40 loc) · 1.44 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Offline Gallery</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="A 16kb Preact & Redux based Progressive Web App that offers an offline gallery experience of external images.">
<meta name="author" content="Colin van Eenige">
<!-- iOS touch icon -->
<link rel="apple-touch-icon" href="./images/touch/OG_touch.png">
<!-- Favicon -->
<link rel="icon" href="./images/favicon.ico?v=1">
<!-- Web Application Manifest -->
<link rel="manifest" href="./manifest.json">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- Color the status bar on mobile devices -->
<meta name="theme-color" content="#EF6C00">
<link rel="stylesheet" href="./main.css">
</head>
<body>
<div class="no-support-shell">
<div id="toolbar">
<div class="container">
<span>Offline Gallery</span>
</div>
</div>
<main>
<div class="container">
<p>This application is built with <a href="https://preactjs.com/">Preact</a> and requires Javascript to work.</p>
</div>
</main>
</div>
<script>
document.querySelector('.no-support-shell').outerHTML = '';
if ('serviceWorker' in navigator) navigator.serviceWorker.register('./sw.js');
</script>
<script src="./build/bundle.js"></script>
</body>
</html>