-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (76 loc) · 2.7 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Remove Flow</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
.navbar .navbar-link-group .navbar-link {
color: #f8f9fa;
transition: color 0.3s ease;
}
.navbar .navbar-link-group .navbar-link:hover,
.navbar .navbar-link-group .navbar-link:active {
color: #b7b7b7;
text-decoration: none;
}
.navbar .navbar-link-group .navbar-link:first-child {
margin-right: 16px;
}
.code-input {
font-size: 87.5%;
font-family: SFMono-Regular, Menlo,Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.code-output-container {
display: none;
position: relative;
}
.code-output-copy {
position: absolute;
top: 8px;
right: 8px;
background: transparent;
border: none;
font-size: 14px;
color: #818a91;
outline: none !important;
}
.code-output-copy:hover,
.code-output-copy:active {
background-color: #007bff;
border-radius: 4px;
color: #ffffff;
transition: background-color 0.5s;
}
.code-output:not(:empty) {
background: #f3f3f3;
padding: 16px;
border-radius: 4px;
border: 1px solid #e4e4e4;
}
</style>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="/remove-flow-types/">Flow Types Remover</a>
<div class="navbar-link-group my-2 my-lg-0">
<a class="navbar-link" target="_blank" href="https://github.com/d7my11/remove-flow-types/fork">Fork</ac>
<a class="navbar-link" target="_blank" href="https://github.com/d7my11/remove-flow-types">Github</a>
</div>
</nav>
<div class="container">
<div class="form-group mt-3">
<label for="exampleFormControlTextarea1">Flow typed code:</label>
<textarea class="form-control code-input" id="code" rows="10"></textarea>
</div>
<button id="remove-types-btn" class="btn btn-primary">Remove Types</button>
<div id='result-container' class='code-output-container'>
<button class='code-output-copy' id='copy-to-clipboard'>Copy</button>
<pre class="mt-4 code-output" id="result"></pre>
</div>
</div>
<script src="dist/bundle.js" type="text/javascript"></script>
</body>
</html>