-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
697 lines (673 loc) · 29.6 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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Dave Quah (@Milleus)" />
<title>Feedback Form Demo</title>
<script src="https://cdn.tailwindcss.com"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-5W6QZZYV2W"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-5W6QZZYV2W");
</script>
</head>
<body>
<header class="fixed left-0 right-0 top-0 z-40 bg-gray-900 px-4 py-6">
<nav class="container mx-auto flex justify-end gap-6">
<button
type="button"
id="open-feedback-modal"
class="rounded-md bg-indigo-600 px-6 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
Send feedback
</button>
<a
href="https://github.com/Milleus/feedback-form-demo"
target="_blank"
class="grid place-items-center text-slate-400 hover:text-slate-300"
>
<span class="sr-only">Feedback form demo on GitHub</span>
<svg
viewBox="0 0 16 16"
class="h-8 w-8"
fill="currentColor"
aria-hidden="true"
>
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"
></path>
</svg>
</a>
</nav>
</header>
<main class="container mx-auto mt-20 px-4 py-12">
<h1 class="text-3xl font-extrabold leading-7 text-gray-900">
Profile & Settings
</h1>
<!-- base form -->
<form
id="base-form"
action="#"
class="mt-8 rounded-lg border border-gray-900/10 px-4 py-12 sm:px-8 sm:py-24"
>
<section class="grid grid-cols-1 gap-10 sm:grid-cols-3">
<div>
<h2 class="text-base font-semibold leading-7 text-gray-900">
Profile
</h2>
<p class="mt-1 text-sm leading-6 text-gray-600">
This information will be displayed publicly so be careful what you
share.
</p>
</div>
<div class="col-span-2 grid max-w-2xl grid-cols-6 gap-8">
<div class="col-span-full">
<label
for="website"
class="block text-sm font-medium leading-6 text-gray-900"
>Website</label
>
<div class="mt-2">
<input
type="text"
name="website"
id="website"
placeholder="https://www.example.com"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-full">
<label
for="about"
class="block text-sm font-medium leading-6 text-gray-900"
>About</label
>
<div class="mt-2">
<textarea
id="about"
name="about"
rows="3"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
></textarea>
</div>
<p class="mt-3 text-sm leading-6 text-gray-600">
Write a few sentences about yourself.
</p>
</div>
<div class="col-span-full">
<label
for="photo"
class="block text-sm font-medium leading-6 text-gray-900"
>Photo</label
>
<div class="mt-2 flex items-center gap-x-3">
<svg
class="h-12 w-12 text-gray-300"
viewBox="0 0 24 24"
fill="currentColor"
aria-hidden="true"
>
<path
fill-rule="evenodd"
d="M18.685 19.097A9.723 9.723 0 0021.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 003.065 7.097A9.716 9.716 0 0012 21.75a9.716 9.716 0 006.685-2.653zm-12.54-1.285A7.486 7.486 0 0112 15a7.486 7.486 0 015.855 2.812A8.224 8.224 0 0112 20.25a8.224 8.224 0 01-5.855-2.438zM15.75 9a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"
clip-rule="evenodd"
/>
</svg>
<button
type="button"
class="rounded-md bg-white px-6 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
>
Change
</button>
</div>
</div>
<div class="col-span-full">
<label
for="cover-photo"
class="block text-sm font-medium leading-6 text-gray-900"
>Cover photo</label
>
<div
class="mt-2 flex justify-center rounded-lg border border-dashed border-gray-900/25 px-6 py-10"
>
<div class="text-center">
<svg
class="mx-auto h-12 w-12 text-gray-300"
viewBox="0 0 24 24"
fill="currentColor"
aria-hidden="true"
>
<path
fill-rule="evenodd"
d="M1.5 6a2.25 2.25 0 012.25-2.25h16.5A2.25 2.25 0 0122.5 6v12a2.25 2.25 0 01-2.25 2.25H3.75A2.25 2.25 0 011.5 18V6zM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0021 18v-1.94l-2.69-2.689a1.5 1.5 0 00-2.12 0l-.88.879.97.97a.75.75 0 11-1.06 1.06l-5.16-5.159a1.5 1.5 0 00-2.12 0L3 16.061zm10.125-7.81a1.125 1.125 0 112.25 0 1.125 1.125 0 01-2.25 0z"
clip-rule="evenodd"
/>
</svg>
<div class="mt-4 flex text-sm leading-6 text-gray-600">
<label
for="file-upload"
class="relative cursor-pointer rounded-md bg-white font-semibold text-indigo-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-600 focus-within:ring-offset-2 hover:text-indigo-500"
>
<span>Upload a file</span>
<input
id="file-upload"
name="file-upload"
type="file"
class="sr-only"
/>
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs leading-5 text-gray-600">
PNG, JPG, GIF up to 10MB
</p>
</div>
</div>
</div>
</div>
</section>
<div class="my-12 border-b border-gray-900/10"></div>
<section class="grid grid-cols-1 gap-10 sm:grid-cols-3">
<div>
<h2 class="text-base font-semibold leading-7 text-gray-900">
Personal Information
</h2>
<p class="mt-1 text-sm leading-6 text-gray-600">
Use a permanent address where you can receive mail.
</p>
</div>
<div class="col-span-2 grid max-w-2xl grid-cols-6 gap-8">
<div class="col-span-full sm:col-span-3">
<label
for="first-name"
class="block text-sm font-medium leading-6 text-gray-900"
>First name</label
>
<div class="mt-2">
<input
type="text"
name="first-name"
id="first-name"
autocomplete="given-name"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-full sm:col-span-3">
<label
for="last-name"
class="block text-sm font-medium leading-6 text-gray-900"
>Last name</label
>
<div class="mt-2">
<input
type="text"
name="last-name"
id="last-name"
autocomplete="family-name"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-full sm:col-span-4">
<label
for="email"
class="block text-sm font-medium leading-6 text-gray-900"
>Email address</label
>
<div class="mt-2">
<input
id="email"
name="email"
type="email"
autocomplete="email"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
</div>
</div>
<div class="col-span-full sm:col-span-6">
<label
for="country"
class="block text-sm font-medium leading-6 text-gray-900"
>Country</label
>
<div class="mt-2">
<select
id="country"
name="country"
autocomplete="country-name"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:max-w-xs sm:text-sm sm:leading-6"
>
<option>United States</option>
<option>Canada</option>
<option>Mexico</option>
</select>
</div>
</div>
<div class="col-span-full">
<label
for="street-address"
class="block text-sm font-medium leading-6 text-gray-900"
>Street address</label
>
<div class="mt-2">
<input
type="text"
name="street-address"
id="street-address"
autocomplete="street-address"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-full sm:col-span-2 sm:col-start-1">
<label
for="city"
class="block text-sm font-medium leading-6 text-gray-900"
>City</label
>
<div class="mt-2">
<input
type="text"
name="city"
id="city"
autocomplete="address-level2"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-3 sm:col-span-2">
<label
for="region"
class="block text-sm font-medium leading-6 text-gray-900"
>State / Province</label
>
<div class="mt-2">
<input
type="text"
name="region"
id="region"
autocomplete="address-level1"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
<div class="col-span-3 sm:col-span-2">
<label
for="postal-code"
class="block text-sm font-medium leading-6 text-gray-900"
>ZIP / Postal code</label
>
<div class="mt-2">
<input
type="text"
name="postal-code"
id="postal-code"
autocomplete="postal-code"
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
/>
<p aria-polite="live" class="mt-2 text-sm text-red-400"></p>
</div>
</div>
</div>
</section>
<div class="my-12 border-b border-gray-900/10"></div>
<section class="grid grid-cols-1 gap-10 sm:grid-cols-3">
<div>
<h2 class="text-base font-semibold leading-7 text-gray-900">
Notifications
</h2>
<p class="mt-1 text-sm leading-6 text-gray-600">
We'll always let you know about important changes, but you pick
what else you want to hear about.
</p>
</div>
<div class="col-span-2 grid max-w-2xl grid-cols-6 gap-8">
<fieldset class="col-span-full">
<legend class="text-sm font-semibold leading-6 text-gray-900">
By Email
</legend>
<div class="mt-6 space-y-6">
<div class="relative flex gap-x-3">
<div class="flex h-6 items-center">
<input
id="comments"
name="comments"
type="checkbox"
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
</div>
<div class="text-sm leading-6">
<label for="comments" class="font-medium text-gray-900"
>Comments</label
>
<p class="text-gray-500">
Get notified when someones posts a comment on a posting.
</p>
</div>
</div>
<div class="relative flex gap-x-3">
<div class="flex h-6 items-center">
<input
id="candidates"
name="candidates"
type="checkbox"
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
</div>
<div class="text-sm leading-6">
<label for="candidates" class="font-medium text-gray-900"
>Candidates</label
>
<p class="text-gray-500">
Get notified when a candidate applies for a job.
</p>
</div>
</div>
<div class="relative flex gap-x-3">
<div class="flex h-6 items-center">
<input
id="offers"
name="offers"
type="checkbox"
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
</div>
<div class="text-sm leading-6">
<label for="offers" class="font-medium text-gray-900"
>Offers</label
>
<p class="text-gray-500">
Get notified when a candidate accepts or rejects an offer.
</p>
</div>
</div>
</div>
</fieldset>
<fieldset class="col-span-full">
<legend class="text-sm font-semibold leading-6 text-gray-900">
Push Notifications
</legend>
<p class="mt-1 text-sm leading-6 text-gray-600">
These are delivered via SMS to your mobile phone.
</p>
<div class="mt-6 space-y-6">
<div class="flex items-center gap-x-3">
<input
id="push-everything"
name="push-notifications"
type="radio"
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
<label
for="push-everything"
class="block text-sm font-medium leading-6 text-gray-900"
>Everything</label
>
</div>
<div class="flex items-center gap-x-3">
<input
id="push-email"
name="push-notifications"
type="radio"
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
<label
for="push-email"
class="block text-sm font-medium leading-6 text-gray-900"
>Same as email</label
>
</div>
<div class="flex items-center gap-x-3">
<input
id="push-nothing"
name="push-notifications"
type="radio"
class="h-4 w-4 border-gray-300 text-indigo-600 focus:ring-indigo-600"
/>
<label
for="push-nothing"
class="block text-sm font-medium leading-6 text-gray-900"
>No push notifications</label
>
</div>
</div>
</fieldset>
</div>
</section>
<div class="my-12 border-b border-gray-900/10"></div>
<div class="mt-6 flex items-center justify-end gap-x-6">
<button
type="button"
class="text-sm font-semibold leading-6 text-gray-900"
>
Cancel
</button>
<button
type="submit"
class="rounded-md bg-indigo-600 px-6 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
Save
</button>
</div>
</form>
<!-- feedback modal -->
<dialog
id="feedback-modal"
class="fixed inset-0 z-50 m-0 ml-auto h-full max-h-screen max-w-sm bg-white"
>
<form id="feedback-form" action="#" class="flex h-full flex-col">
<div class="flex items-center justify-between px-4 py-6 sm:px-8">
<h3 class="block text-sm font-bold leading-7 text-gray-900">
Send feedback to Your Company
</h3>
<button
id="close-feedback-modal"
type="button"
aria-label="close feedback modal"
class="flex h-8 w-8 items-center justify-center rounded-full hover:bg-gray-100"
>
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<svg
xmlns="http://www.w3.org/2000/svg"
height="1em"
viewBox="0 0 384 512"
>
<path
d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
/>
</svg>
</button>
</div>
<div class="border-b border-gray-900/10"></div>
<div class="flex grow flex-col gap-10 px-4 py-6 sm:px-8">
<div>
<label
for="feedback-description"
class="block text-sm font-medium leading-6 text-gray-900"
>Describe your feedback</label
>
<div class="mt-2">
<textarea
id="feedback-description"
name="feedback-description"
rows="3"
placeholder="Tell us what prompted this feedback..."
required
class="block w-full rounded-md border-0 px-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
></textarea>
</div>
</div>
<div id="capture-section">
<p class="mt-1 text-sm leading-6 text-gray-600">
A screenshot will help us better understand your feedback.
(optional)
</p>
<div class="mt-2">
<button
type="button"
class="w-full rounded-md bg-white px-6 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
>
Capture screenshot
</button>
</div>
</div>
<div id="preview-section" class="hidden">
<p class="block text-sm font-medium leading-6 text-gray-900">
Attached screenshot
</p>
<div
class="relative mt-2 rounded-md border border-gray-900/10 bg-gray-200 px-3"
>
<img src="data:," alt="" />
<button
id="delete-screenshot"
type="button"
class="absolute -right-2 -top-2 rounded-full bg-white p-3 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
aria-label="Delete screenshot"
>
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<svg
xmlns="http://www.w3.org/2000/svg"
height="1em"
viewBox="0 0 448 512"
>
<path
d="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"
/>
</svg>
</button>
<button
id="edit-screenshot"
type="button"
class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-md bg-white px-6 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
>
Hide info
</button>
</div>
</div>
<p class="mt-auto text-xs">
Some account and system information may be sent to Company. We
will use it to fix problems and improve our services, subject to
our
<a href="#" class="text-indigo-600 hover:text-indigo-500"
>Privacy Policy</a
>
and
<a href="#" class="text-indigo-600 hover:text-indigo-500"
>Terms of Service</a
>. We may email you for more information or updates.
</p>
</div>
<div class="border-b border-gray-900/10"></div>
<div class="px-4 py-6 sm:px-8">
<button
type="submit"
class="ml-auto block rounded-md bg-indigo-600 px-6 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
Send
</button>
</div>
</form>
</dialog>
<!-- editor modal -->
<dialog
id="editor-modal"
class="max-w-6xl rounded-lg border border-gray-900/10 bg-white shadow"
>
<div class="flex items-center justify-between px-4 py-6 sm:px-8">
<h3 class="block text-sm font-bold leading-7 text-gray-900">
Click and drag to hide sensitive information
</h3>
<button
id="close-editor-modal"
type="button"
aria-label="Close screenshot editor"
class="flex h-8 w-8 items-center justify-center rounded-full hover:bg-gray-100"
>
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<svg
xmlns="http://www.w3.org/2000/svg"
height="1em"
viewBox="0 0 384 512"
>
<path
d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
/>
</svg>
</button>
</div>
<div class="border-b border-gray-900/10"></div>
<div id="canvas-container" class="relative">
<img src="data:," alt="" />
<canvas class="absolute inset-0 h-full w-full"></canvas>
</div>
<div class="border-b border-gray-900/10"></div>
<div class="flex justify-end gap-6 px-4 py-6 sm:px-8">
<button
id="cancel-editor-modal"
type="button"
class="rounded-md bg-white px-6 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
>
Cancel
</button>
<button
id="update-screenshot"
type="button"
class="rounded-md bg-indigo-600 px-6 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
>
Done
</button>
</div>
</dialog>
</main>
<footer class="bg-gray-900 px-4 py-8 pt-12">
<div class="container mx-auto">
<ul class="flex flex-col gap-4 sm:flex-row">
<li>
<a
href="#"
class="text-sm font-light text-gray-400 hover:text-white"
>Report Vulnerability</a
>
</li>
<li>
<a
href="#"
class="text-sm font-light text-gray-400 hover:text-white"
>Terms of Use</a
>
</li>
<li>
<a
href="#"
class="text-sm font-light text-gray-400 hover:text-white"
>Privacy Policy</a
>
</li>
</ul>
<div class="my-8 border-b border-gray-50/10"></div>
<p class="text-xs text-gray-500">
@2023 Your Company, Inc. All rights reserved.
</p>
</div>
</footer>
<script src="./base-form.js"></script>
<script src="./feedback-form.js"></script>
</body>
</html>