-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
321 lines (317 loc) · 12 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no"
/>
<meta name="author" content="Aniqa" />
<meta
name="description"
content="A virtual keyboard with eight different themes to type into the custom Markdown-support input field."
/>
<meta property="og:title" content="Keyboard by Aniqa" />
<meta
property="og:description"
content="A virtual keyboard with eight different themes to type into the custom Markdown-support input field."
/>
<meta
property="og:image"
content="https://raw.githubusercontent.com/aniqatc/keyboard/main/assets/keyboard.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@aniqatc" />
<meta
name="twitter:image"
content="https://raw.githubusercontent.com/aniqatc/keyboard/main/assets/keyboard.png"
/>
<meta
name="twitter:image:alt"
content="Website Screen Capture of Keyboard"
/>
<title>Virtual Keyboard by Aniqa</title>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="icon" type="image/png" href="/assets/favicon.png" />
<script
src="https://kit.fontawesome.com/50cde61edc.js"
crossorigin="anonymous"
></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Hanken+Grotesk:wght@300;400;500;600;700;800;900&family=Source+Code+Pro:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/1.2.2/marked.min.js"></script>
<script defer src="/scripts/main.js"></script>
</head>
<body>
<section class="blobs">
<div class="blob blob-one"></div>
<div class="blob blob-two"></div>
<div class="blob blob-three"></div>
</section>
<section id="toasts"></section>
<audio src="/assets/click.mp3" id="click-audio"></audio>
<section class="input-container">
<textarea></textarea>
<div class="textarea-preview hidden"></div>
<span class="preview-label hidden">Markdown Preview</span>
<div class="input-buttons">
<button id="edit-btn"><i class="fa-solid fa-pen-to-square"></i></button>
<button id="copy-btn"><i class="fa-solid fa-clipboard"></i></button>
<button id="preview-btn"><i class="fa-solid fa-eye"></i></button>
<button id="save-btn"><i class="fa-solid fa-floppy-disk"></i></button>
<button id="clear-btn"><i class="fa-solid fa-trash-can"></i></button>
</div>
</section>
<section class="keyboard-container">
<div class="row row-one">
<kbd class="key operation-key" data-key="Escape" id="esc">
<span class="left-align">esc</span></kbd
>
<kbd class="key theme-key" data-key="F1">F1</kbd>
<kbd class="key theme-key" data-key="F2">F2</kbd>
<kbd class="key theme-key" data-key="F3">F3</kbd>
<kbd class="key theme-key" data-key="F4">F4</kbd>
<kbd class="key theme-key" data-key="F5">F5</kbd>
<kbd class="key theme-key" data-key="F6">F6</kbd>
<kbd class="key theme-key" data-key="F7">F7</kbd>
<kbd class="key theme-key" data-key="F8">F8</kbd>
<kbd class="key" data-key="F9">F9</kbd>
<kbd class="key" data-key="F10">F10</kbd>
<kbd class="key" data-key="F11">F11</kbd>
<kbd class="key" data-key="F12">F12</kbd>
<kbd class="key m-key operation-key" id="shuffle"
><span class="right-align"><i class="fa-solid fa-shuffle"></i></span
></kbd>
</div>
<div class="row row-two">
<kbd class="key" data-key="`"
><span class="secondary-key">~</span><span>`</span></kbd
>
<kbd class="key" data-key="1"
><span class="secondary-key">!</span><span>1</span></kbd
>
<kbd class="key" data-key="2"
><span class="secondary-key">@</span><span>2</span></kbd
>
<kbd class="key" data-key="3"
><span class="secondary-key">#</span><span>3</span></kbd
>
<kbd class="key" data-key="4"
><span class="secondary-key">$</span><span>4</span></kbd
>
<kbd class="key" data-key="5"
><span class="secondary-key">%</span><span>5</span></kbd
>
<kbd class="key" data-key="6"
><span class="secondary-key">^</span><span>6</span></kbd
>
<kbd class="key" data-key="7"
><span class="secondary-key">&</span><span>7</span></kbd
>
<kbd class="key" data-key="8"
><span class="secondary-key">*</span><span>8</span></kbd
>
<kbd class="key" data-key="9"
><span class="secondary-key">(</span><span>9</span></kbd
>
<kbd class="key" data-key="0"
><span class="secondary-key">)</span><span>0</span></kbd
>
<kbd class="key" data-key="-"
><span class="secondary-key">_</span><span>-</span></kbd
>
<kbd class="key" data-key="="
><span class="secondary-key">+</span><span>=</span></kbd
>
<kbd class="key m-key operation-key" data-key="Backspace"
><span class="right-align">delete</span></kbd
>
</div>
<div class="row row-three">
<kbd class="key m-key operation-key" data-key="Tab"
><span class="left-align">tab</span></kbd
>
<kbd class="key letter-key" data-key="q"><span>q</span></kbd>
<kbd class="key letter-key" data-key="w"><span>w</span></kbd>
<kbd class="key letter-key" data-key="e"><span>e</span></kbd>
<kbd class="key letter-key" data-key="r"><span>r</span></kbd>
<kbd class="key letter-key" data-key="t"><span>t</span></kbd>
<kbd class="key letter-key" data-key="y"><span>y</span></kbd>
<kbd class="key letter-key" data-key="u"><span>u</span></kbd>
<kbd class="key letter-key" data-key="i"><span>i</span></kbd>
<kbd class="key letter-key" data-key="o"><span>o</span></kbd>
<kbd class="key letter-key" data-key="p"><span>p</span></kbd>
<kbd class="key" data-key="["
><span class="secondary-key">{</span><span>[</span></kbd
>
<kbd class="key" data-key="]"
><span class="secondary-key">}</span><span>]</span></kbd
>
<kbd class="key" data-key="\"
><span class="secondary-key">|</span><span>\</span></kbd
>
</div>
<div class="row row-four">
<kbd class="key lg-key caps-key operation-key" data-key="CapsLock"
><span class="caps-indicator"> </span
><span class="left-align">caps lock</span></kbd
>
<kbd class="key letter-key" data-key="a"><span>a</span></kbd>
<kbd class="key letter-key" data-key="s"><span>s</span></kbd>
<kbd class="key letter-key" data-key="d"><span>d</span></kbd>
<kbd class="key letter-key" data-key="f"><span>f</span></kbd>
<kbd class="key letter-key" data-key="g"><span>g</span></kbd>
<kbd class="key letter-key" data-key="h"><span>h</span></kbd>
<kbd class="key letter-key" data-key="j"><span>j</span></kbd>
<kbd class="key letter-key" data-key="k"><span>k</span></kbd>
<kbd class="key letter-key" data-key="l"><span>l</span></kbd>
<kbd class="key" data-key=";"
><span class="secondary-key">:</span><span>;</span></kbd
>
<kbd class="key" data-key="'"
><span class="secondary-key">"</span><span>'</span></kbd
>
<kbd class="key lg-key operation-key" data-key="Enter"
><span class="secondary-key right-align">enter</span
><span class="right-align">return</span></kbd
>
</div>
<div class="row row-five">
<kbd class="key xl-key operation-key" data-key="ShiftLeft"
><span class="left-align">shift</span></kbd
>
<kbd class="key letter-key" data-key="z"><span>z</span></kbd>
<kbd class="key letter-key" data-key="x"><span>x</span></kbd>
<kbd class="key letter-key" data-key="c"><span>c</span></kbd>
<kbd class="key letter-key" data-key="v"><span>v</span></kbd>
<kbd class="key letter-key" data-key="b"><span>b</span></kbd>
<kbd class="key letter-key" data-key="n"><span>n</span></kbd>
<kbd class="key letter-key" data-key="m"><span>m</span></kbd>
<kbd class="key" data-key=","><span><</span><span>,</span></kbd>
<kbd class="key" data-key="."><span>></span><span>.</span></kbd>
<kbd class="key" data-key="/"><span>?</span><span>/</span></kbd>
<kbd class="key xl-key operation-key" data-key="ShiftRight"
><span class="right-align">shift</span></kbd
>
</div>
<div class="row row-six">
<kbd class="key operation-key" data-key="ControlLeft"
><span>ctrl</span></kbd
>
<kbd class="key operation-key" data-key="AltLeft"
><span class="secondary-key right-align">alt</span
><span class="right-align">option</span></kbd
>
<kbd class="key m-key operation-key" data-key="MetaLeft"
><span class="secondary-key right-align">⌘</span
><span class="right-align">command</span></kbd
>
<kbd class="key space-key operation-key" data-key="Space"
><span>space</span></kbd
>
<kbd class="key m-key operation-key" data-key="MetaRight"
><span class="secondary-key left-align">⌘</span
><span class="left-align">command</span></kbd
>
<kbd class="key operation-key" data-key="AltRight"
><span class="secondary-key left-align">alt</span
><span class="left-align">option</span></kbd
>
<div class="direction-keys">
<kbd class="key x-key" data-key="ArrowLeft"
><i class="fa-solid fa-caret-left"></i
></kbd>
<div class="y-keys">
<kbd class="key y-key" data-key="ArrowUp"
><i class="fa-solid fa-caret-up"></i
></kbd>
<kbd class="key y-key" data-key="ArrowDown"
><i class="fa-solid fa-caret-down"></i
></kbd>
</div>
<kbd class="key x-key" data-key="ArrowRight"
><i class="fa-solid fa-caret-right"></i
></kbd>
</div>
</div>
</section>
<div class="modal hidden">
<button class="close-modal"><i class="fa-solid fa-xmark"></i></button>
<h1>Did you know...</h1>
<p>
There's <b>eight</b> different keyboard themes that you can access on
here?! Either <b>press</b> through the <code>F1</code> to
<code>F8</code> buttons on your keyboard or <b>click</b> through the
corresponding buttons on the screen with your mouse to change the theme!
</p>
<p>
If you're feeling particularly adventurous, then click the
<i class="fa-solid fa-shuffle"></i> button at the top-right of the
keyboard for a random theme!
</p>
<p>
For a <em>colorful</em> surprise, click <code>F9</code> or
<code>F10</code>.
</p>
<p>
As for the text field, it has full Markdown support with options to
<b>preview, copy, save</b> or <b>delete</b> your Markdown content.
</p>
<p>
<small>If you enjoyed this website, I'd <b>love</b> to know! </small>
<span>
<a href="https://aniqa.dev" target="_blank" rel="noopener noreferrer">
<i class="fa-solid fa-laptop-code fa-shake"></i>
</a>
<a
href="https://twitter.com/aniqatc"
target="_blank"
rel="noopener noreferrer"
><i class="fa-brands fa-twitter fa-shake"></i
></a>
<a
href="https://github.com/aniqatc"
target="_blank"
rel="noopener noreferrer"
><i class="fa-brands fa-github fa-shake"></i
></a>
<a
href="https://linkedin.com/in/aniqaio"
target="_blank"
rel="noopener noreferrer"
><i class="fa-brands fa-linkedin-in fa-shake"></i
></a>
<a
href="https://codepen.io/aniqatc"
target="_blank"
rel="noopener noreferrer"
><i class="fa-brands fa-codepen fa-shake"></i>
</a>
<a
href="mailto:[email protected]"
target="_blank"
rel="noopener noreferrer"
><i class="fa-solid fa-envelope fa-shake"></i></a
></span>
</p>
</div>
<div class="overlay hidden"></div>
<div class="small-device-msg">
<p>
<b>Thank you for visiting!</b><br />
Unfortunately, this device is too small for the keyboard to be rendered
in its entirety. Please visit this website on a larger screen for a
better experience!
</p>
</div>
<footer>
<i class="fa-solid fa-code"></i> Designed & Coded by
<a href="https://github.com/aniqatc" target="_blank">Aniqa</a>
</footer>
</body>
</html>