-
Notifications
You must be signed in to change notification settings - Fork 1
/
signup.html
59 lines (58 loc) · 2.09 KB
/
signup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sign up - nin0chat</title>
<link href="https://fonts.googleapis.com/css?family=Inter" rel="stylesheet" />
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"></script>
<script lang="ts" type="module">
import { configButtonsRow } from "./src/global";
import { setupListeners } from "./src/auth/signup";
import "./css/signup.css";
import "./css/global.css";
configButtonsRow();
setupListeners();
</script>
</head>
<body>
<div id="app-bar">
<a href="/" id="title">
<p>◄ sign up</p>
</a>
<p id="tagline">
make an account on nin0chat to lift restrictions and claim your username.
</p>
</div>
<div id="content">
<form>
<label for="username">username</label>
<input
type="text"
name="username"
placeholder="30 characters max, will be unique"
/>
<label for="email">email</label>
<input
type="email"
name="email"
placeholder="valid email that will be confirmed later"
autocomplete="email"
/>
<label for="password">password</label>
<input
type="password"
name="password"
placeholder="the password of all time"
autocomplete="new-password"
/>
</form>
<div class="cf-turnstile"></div>
<button disabled id="ok">sign up</button>
<p id="ok-txt">signed up successfully, check your email to activate your account!</p>
</div>
<div id="error">
<p></p>
</div>
</body>
</html>