-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
119 lines (105 loc) · 3.54 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Typewrite Something</title>
<meta
name="description"
content="A minimalist typewriter simulator to inspire creative writing"
/>
<meta
name="keywords"
content="typewriter, online, simulator, writing, poetry, jane, porter, bozdoz, creative"
/>
<meta name="author" content="@bozdoz" />
<meta name="theme-color" content="#150904" />
<!-- Schema.org markup for Google- -->
<meta itemprop="name" content="Typewrite Something" />
<meta
itemprop="description"
content="A minimalist typewriter simulator to inspire creative writing"
/>
<meta
itemprop="image"
content="https://typewritesomething.com/static/img/logo-on-bg.png"
/>
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@bozdoz" />
<meta name="twitter:title" content="Typewrite Something" />
<meta
name="twitter:description"
content="A minimalist typewriter simulator to inspire creative writing"
/>
<meta name="twitter:creator" content="@bozdoz" />
<meta
name="twitter:image:src"
content="https://typewritesomething.com/static/img/logo-on-bg.png"
/>
<meta name="twitter:image:alt" content="Typewrite Something" />
<!-- Open Graph data -->
<meta property="og:title" content="Typewrite Something" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://typewritesomething.com/" />
<meta
property="og:image"
content="https://typewritesomething.com/static/img/logo-on-bg.png"
/>
<meta
property="og:description"
content="A minimalist typewriter simulator to inspire creative writing"
/>
<meta property="og:site_name" content="Typewrite Something" />
<link rel="apple-touch-icon" href="/static/img/logo-on-bg-180.png" />
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="manifest" href="/manifest.json" />
<link rel="icon" href="/favicon.ico" />
<link
rel="preload"
href="/static/fonts/specialelite-webfont.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link rel="stylesheet" href="/static/style.css" />
<script async defer src="/dist/main.js"></script>
</head>
<body>
<main class="main" id="main">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="container">
<canvas id="text-canvas"></canvas>
<canvas id="cursor-canvas"></canvas>
<!-- prevent autocomplete -->
<div id="lp"><input type="text" /><input type="password" /></div>
<script type="text/javascript">
setTimeout(function () {
document.getElementById('lp').style.display = 'none';
}, 75);
</script>
<input
type="text"
id="text-input"
tabindex="0"
autocomplete="one-time-code"
autocorrect="off"
data-lpignore="true"
/>
</div>
<aside id="splash" tabindex="0">
<h1>Typewrite Something</h1>
<h2>Press any key to start...</h2>
</aside>
</main>
<audio
preload="auto"
id="keypress"
src="/static/audio/keypress.mp3"
></audio>
<audio preload="auto" id="return" src="/static/audio/return.mp3"></audio>
</body>
</html>