-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (88 loc) · 5.33 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Primary Meta Tags -->
<title>Just write | Thomas Deneuville</title>
<meta name="title" content="Just write | Thomas Deneuville">
<meta name="description" content="Don't let your inner critic see what you just typed. Just write.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://justwrite.netlify.com/">
<meta property="og:title" content="Just write | Thomas Deneuville">
<meta property="og:description" content="Don't let your inner critic see what you just typed. Just write.">
<meta property="og:image" content="https://justwrite.netlify.com/img/social-metadata.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://justwrite.netlify.com/">
<meta property="twitter:title" content="Just write | Thomas Deneuville">
<meta property="twitter:description" content="Don't let your inner critic see what you just typed. Just write.">
<meta property="twitter:image" content="https://justwrite.netlify.com/img/social-metadata.jpg">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Assistant&family=PT+Sans+Caption:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<header>
<div class="container">
<nav class="navbar navbar-light">
<ul class="nav">
<li class="nav-item">
<h1>Just write <small class="text-muted lead">Edit later</small></h1>
</li>
</ul>
</nav>
</div>
</header>
<main>
<div class="container">
<div class="row justify-content-center">
<div class="col-6 col-sm-12 pt-5">
<p class="text-muted text-center"><em>Start typing. No backspaces. No line breaks.</em></p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3 pb-5 col-sm-12 col-lg-2">
<input type="text" id="input" size="40" onkeypress="showOneCharacter(event);" autofocus>
<p id="output" class="output text-center bg-light"></p>
</div>
</div>
<div class="row justify-content-md-center">
<div class="col-md-6 col-sm-12 text-center">
<button type="button" class="btn btn-primary btn-lg" onclick="saveInput(event);getfocus();makeVisible();">Reveal my copy</button>
<button type="button" class="btn btn-outline-secondary btn-lg" onclick="exportTxt(event);">Export to txt</button>
</div>
</div>
<!-- include my_input in a hidden box that is made visible upon button hit -->
<div class="row justify-content-md-center invisible" id="outputbox">
<div class="col-md-8 col-sm-12 border-bottom bg-light py-3 my-5">
<p id="my_input"></p>
</div>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col">
<span class="text-muted"><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a> <a href="https://github.com/tdnvl/justwrite" target="_blank"> Fork this on GitHub</a> <img src="img/github-brands.svg" width="20px" height="20px"/> <a href="https://www.thomasdeneuville.com/just-write-edit-later/">Read about this project</a> by <a href="https://twitter.com/tdnvl">@tdnvl</a></span>
</div>
</div>
</div>
</footer>
<script src="js/script.js" async defer></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>