-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (70 loc) · 3.78 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<title>ECOS</title>
<meta name="description" content="Earth Change Operating System"/>
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- TODO: Use cached fonts
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css"/>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="img/favicon.png"/>
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css"/>
<link rel="stylesheet" href="css/skeleton.css"/>
<!-- JS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script async src="js/index.js"></script>
<!-- Manifest
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="manifest" href="manifest.json" />
<!-- Service Worker registration
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script>
if('serviceWorker' in navigator) {
window.addEventListiner('load', () => {
navigator.serviceWorker.register('sw.js')
.then((registration) => {
console.log(`service worker registered succesfully ${registration}`)
})
.catch((err) => {
console.log(`Error registring ${err}`)
})
})
} else {
console.log(`Service worker is not supported in this browser.`)
}
</script>
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<div class="row">
<div class="one-half column" style="margin-top: 10%">
<h4>ECOS</h4>
<p>
Another UI for the <a href="https://github.com/earthChange">Earth Change</a> <a href="https://gitlab.com/Patrick-T-Anderson/earth-change-operating-system">Operating System</a>.
See <a href="https://github.com/TheKinDAO/earthChange">earthChangeⒸ</a> for the fungible token (coin).
</p>
<h5>TODO</h5>
<p>
Follow <a href="https://web.dev/install-criteria">https://web.dev/install-criteria</a>
</p>
</div>
</div>
</div>
<hr/>
<a class="button button-primary" href="#" onclick="registerToWebPushNotifications()">Register for Web Push Notifications</a>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>