this repo has no description
1{{ define "user/signup" }}
2 <!doctype html>
3 <html lang="en" class="dark:bg-gray-900">
4 <head>
5 <meta charset="UTF-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <meta property="og:title" content="signup · tangled" />
8 <meta property="og:url" content="https://tangled.sh/signup" />
9 <meta property="og:description" content="sign up for tangled" />
10 <script src="/static/htmx.min.js"></script>
11 <link
12 rel="stylesheet"
13 href="/static/tw.css?{{ cssContentHash }}"
14 type="text/css" />
15 <title>sign up · tangled</title>
16 </head>
17 <body class="flex items-center justify-center min-h-screen">
18 <main class="max-w-md px-6 -mt-4">
19 <h1 class="text-center text-2xl font-semibold italic dark:text-white">
20 tangled
21 </h1>
22 <h2 class="text-center text-xl italic dark:text-white">
23 tightly-knit social coding.
24 </h2>
25 <form
26 class="mt-4 max-w-sm mx-auto"
27 hx-post="/signup"
28 hx-swap="none"
29 hx-disabled-elt="#signup-button">
30 <div class="flex flex-col mt-2">
31 <label for="email">email</label>
32 <input
33 type="email"
34 id="email"
35 name="email"
36 tabindex="4"
37 required
38 placeholder="jason@bourne.co" />
39 </div>
40 <span class="text-sm text-gray-500 mt-1">
41 You will receive an email with an invite code. Enter your invite
42 code, desired username, and password in the next page to complete
43 your registration.
44 </span>
45 <button
46 class="btn text-base w-full my-2 mt-6"
47 type="submit"
48 id="signup-button"
49 tabindex="7">
50 <span>join now</span>
51 </button>
52 </form>
53 <p class="text-sm text-gray-500">
54 Already have an ATProto account?
55 <a href="/login" class="underline">Login to Tangled</a>
56 .
57 </p>
58
59 <p id="signup-msg" class="error w-full"></p>
60 </main>
61 </body>
62 </html>
63{{ end }}