forked from maebert/themostdangerouswritingapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (84 loc) · 5.08 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
<!DOCTYPE html>
<html>
<head>
<title>The Most Dangerous Writing App</title>
<meta name="description" content="Write. Don't stop. If you stop typing for more than five seconds, all progress will be lost." />
<link rel="author" href="https://twitter.com/maebert"/>
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@maebert">
<meta name="twitter:title" content="The Most Dangerous Writing App">
<meta name="twitter:description" content="Write. Don't stop. If you stop typing for more than five seconds, all progress will be lost.">
<meta name="twitter:creator" content="@maebert">
<meta name="twitter:image" content="http://www.themostdangerouswritingapp.com/banner.png">
<!-- Open Graph data -->
<meta property="og:title" content="The Most Dangerous Writing App" />
<meta property="og:type" content="product" />
<meta property="og:url" content="http://www.themostdangerouswritingapp.com/" />
<meta property="og:image" content="http://www.themostdangerouswritingapp.com/banner.png" />
<meta property="og:description" content="Write. Don't stop. If you stop typing for more than five seconds, all progress will be lost." />
<meta property="og:site_name" content="MDWA" />
<meta name="viewport" content="width=440, user-scalable=no">
<link href='https://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" href="favicon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="MDWA">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="icon" type="image/png" href="favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="favicon.png"/>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div id="content">
<div id="logo" class="logo">The Most Dangerous Writing App</div>
<div id="status">
<button id="win_button">Win! Retry?</button>
<div id="time"></div>
</div>
<textarea id='input' disabled></textarea>
<div id="status_lower">
<div id="stats">0c 0w 0wpm</div>
</div>
<div id="start">
<div class="instructions">Session length:</div>
<div class="radios">
<input class='select_time' checked id='r1' type='radio' name='time' value='300' /><label for='r1'>5:00</label>
<input class='select_time' id='r2' type='radio' name='time' value='600' /><label for='r2'>10:00</label>
<input class='select_time' id='r3' type='radio' name='time' value='1200' /><label for='r3'>20:00</label>
<input class='select_time' id='r4' type='radio' name='time' value='1800' /><label for='r4'>30:00</label>
<input class='select_time' id='r5' type='radio' name='time' value='2700' /><label for='r5'>45:00</label>
<input class='select_time' id='r6' type='radio' name='time' value='3600' /><label for='r6'>60:00</label>
</div>
<div class="instructions darker">Don't stop typing, or all progress will be lost.</div>
<button id="start_button">Start</button>
<div class="subtitle"><button id="show_help" class="text">Help</button> | <a class='text' href="https://twitter.com/intent/tweet?text=I+just+survived+the+Most+Dangerous+Writing+App!+%23MDWA&url=http%3A%2F%2Fwww.themostdangerouswritingapp.com&via=maebert">Tell your friends</a></div>
<div id="author">Made with ♥ by <a href="https://www.twitter.com/maebert">@maebert</a> </div>
</div>
<div id="die">
<div class="instructions">
You failed.
</div>
<a href="#" id="tweet">Test</a>
<button id="retry_button">Retry</button>
</div>
<div id="help">
<div class="instructions">
The Most Dangerous Writing App is designed to shut down your inner editor and get you into a state of flow.<br><br>
If you stop typing for more than five seconds, all progress will be lost.<br><br>
MDWA was written by <a href="https://www.twitter.com/maebert" target="_blank" title="Manuel Ebert">Manuel Ebert</a> and is <a title="MDWA on Github" target="_blank" href="https://www.github.com/maebert/themostdangerouswritingapp">open source</a>.
</div>
<button id="hide_help">Got it.</button>
</div>
</div>
<script type="text/javascript" src="main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-74466223-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>