-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (33 loc) · 1000 Bytes
/
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
<html>
<head>
<title>OverEasy ~ it's like computer art!</title>
<link rel="icon" href="/static/favicon.ico" type="image/x-icon" />
<meta name="description" content="Geometry often makes me feel good.">
<meta name="keywords" content="creative coding, art, graphics, webgl, elm">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@font-face {
font-family: "Moon";
font-weight: light;
src: url("/static/Moon/Moon Light.otf");
}
@font-face {
font-family: "Moon";
font-weight: bold;
src: url("/static/Moon/Moon Bold.otf");
}
</style>
</head>
<body>
<div id="app"></div>
<script src="/_compile/Main.elm"></script>
<script>
if (window.location.pathname === "/index.html") {
history.pushState({}, "", "/?p=0")
}
setTimeout(function() {
Elm.Main.embed(document.querySelector("#app"))
}, 50)
</script>
</body>
</html>