This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
65 lines (65 loc) · 2.61 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Feedback & Support · Sindre Sorhus</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.1/css/bulma.min.css">
<link rel="stylesheet" href="main.css">
<link rel="icon" href="/favicon.png" sizes="32x32">
<script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
<script src="https://www.google.com/recaptcha/api.js?render=6Ld-WwAiAAAAAKfIZkOlY0Y-RF5obrjrEiWI1TwC"></script>
<script defer src="main.js"></script>
</head>
<body>
<div id="nav-container"></div>
<section class="hero is-fullheight">
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered">
<div id="main" class="column is-half is-centered has-nice-link">
<img id="app-icon" width="128" height="128">
<h1 class="title is-2">Feedback & Support</h1>
<h2 class="title is-6">I appreciate your feedback 🙌</h2>
<div id="additional-info"></div>
<form id="feedback-form" action="https://formcarry.com/s/UBfgr97yfY" method="POST" enctype="multipart/form-data">
<input type="hidden" name="_gotcha">
<div class="field">
<label class="label" for="message">Message*</label>
<div class="control">
<textarea class="textarea is-medium" placeholder="I'm a human. Please be nice." name="message" minlength="20" rows="7" required autofocus></textarea>
</div>
</div>
<div class="field">
<label class="label" for="email">Email*</label>
<div class="control">
<input class="input is-medium" type="email" name="email" autocomplete="email" required>
</div>
</div>
<div class="field">
<label class="label" for="email">Attachments</label>
<div class="control">
<input type="file" name="attachments" multiple>
</div>
</div>
<br>
<div class="field">
<div class="control">
<input type="hidden" id="captchaResponse" name="g-recaptcha-response">
<button class="button is-medium is-primary is-info" type="submit">Send Feedback</button>
</div>
</div>
</form>
<script>
grecaptcha.ready(async () => {
const token = await grecaptcha.execute('6Ld-WwAiAAAAAKfIZkOlY0Y-RF5obrjrEiWI1TwC', {action: 'homepage'});
document.querySelector('#captchaResponse').value = token;
});
</script>
</div>
</div>
</div>
</div>
</section>
</body>
</html>