-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (51 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Here4</title>
<!-- MDL
The library relies on Google's Material Design fonts, icons, and the CSS
of Google's Material Design Lite implementation. Load these as follows.
-->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500|Roboto+Mono|Roboto+Condensed:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.2.0/material.cyan-light_blue.min.css" />
<!-- Dialogs
The Dialog component requires a polyfill on most browsers. If your app
uses Dialogs and is expected to work outside Google Chrome, get the
polyfill at the URL below and load as follows.
https://github.com/GoogleChrome/dialog-polyfill
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.4/dialog-polyfill.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.4/dialog-polyfill.min.css" />
<!-- Event.focusin
Polyfill required for Firefox to support focusin and focusout events
-->
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=Event.focusin"></script>
<!-- Capture and restore the URL the user initially navigated toa, as
set by the "sessionStorage.redirect = location.href" in 404.html.
See: https://www.smashingmagazine.com/2016/08/sghpa-single-page-app-hack-github-pages/
-->
<script>
(function(){
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
</head>
<body>
<script src="./scripts/here4io.js"></script>
<script>
var app = Elm.Main.fullscreen();
app.ports.windowOpen.subscribe(function (url) {
window.open(url, true);
});
</script>
</body>
</html>