-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (40 loc) · 1.3 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
<!-- index.html -->
<html>
<head>
<!-- manifest.jsonを呼び出しています -->
<link rel="manifest" href="./manifest.json">
<script>
// service workerが有効なら、service-worker.js を登録します
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js').then(function() { console.log('Service Worker Registered'); });
}
</script>
<title>Hello PWA.</title>
<style>
body {
text-align:center;
font-size: 40px;
vertical-align: middle;
}
.image {
width: 80%;
margin: auto;
display: block;
}
</style>
<!-- CODELAB: Add iOS meta tags and icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Sample PWA">
<link rel="apple-touch-icon" href="./icon-144.png">
<!-- CODELAB: Add description here -->
<meta name="description" content="A sample app">
<!-- CODELAB: Add meta theme-color -->
<meta name="theme-color" content="#2F3BA2" />
</head>
<body>
<h1>Hello PWA.</h1>
<a href="2020.html">Link to 2020</a><br>
<a href="timekeeper/index.html">timekeeper</a> (Cloned from <a href="https://github.com/maruta/timekeeper">maruta/timekeeper</a>)<br>
</body>
</html>