/ src / auth / register.html
register.html
 1  <!DOCTYPE html>
 2  <html lang="en">
 3      <head>
 4          <meta charset="UTF-8">
 5          <meta name="viewport" content="width=device-width, initial-scale=1.0">
 6          <title>Register | Auride</title>
 7          <link rel="stylesheet" href="/assets/css/all.css">
 8          <link rel="shortcut icon" href="/assets/imgs/favicon.png" type="image/png">
 9          <link rel="manifest" href="/manifest.json">
10          <meta name="robots" content="nofollow, noai, noimageai">
11          <meta name="og:type" content="website">
12          <meta name="og:url" content="https://auride.xyz/">
13          <meta name="og:title" content="Auride">
14          <meta name="og:site_name" content="auride.xyz">
15          <meta name="og:description" content="Auride - a safe place for everyone.">
16          <meta name="description" content="Auride - a safe place for everyone.">
17          <meta property="og:image" content="https://auride.xyz/assets/imgs/favicon.png">
18          <meta name="theme-color" content="#ef97be">
19          <script src="/assets/js/requiredScripts.js"></script>
20          <script src="/assets/js/scriptLoader.js"></script>
21          <script defer>
22              ScriptLoader.load(
23                  //...
24              ).then(() => {
25                  console.log("Scripts for /home have been loaded successfully.");
26              }).catch((error) => {
27                  console.error("An error occurred: ", error, " please try refreshing.");
28              });
29          </script>
30      </head>
31  
32      <body id="body" onload="hideErrorByDefault()">
33          <!-- the actual registration box -->
34          <div class="formBox">
35              <h1><i class="fa-solid fa-hand-holding-heart"></i> Join Auride</h1>
36              <p>Join a safe place for everyone! <a href="/auth/login" style="color: var(--main-color);">Already have an account?</a></p>
37  
38              <div class="badge" id="redirectNotice"><i class="fa-solid fa-triangle-exclamation"></i> You'll be returned to {link} after you create your account.</div>
39  
40              <input type="text" id="email" placeholder="Enter your email address" />
41              <input type="password" id="password" placeholder="Enter a secure password" />
42              <p id="errorTxt" style="color: var(--error-text);">empty</p>
43              <small>By joining Auride, you agree to our <a href="/policies/">policies</a> (such as, but not limited to, our <a href="/policies/terms">Terms of Service</a> and <a href="/policies/child-safety">Child Safety Policy</a>).</small>
44              <br/><small>Auride isn't a place for romantic or sexual relations. I hate having to put this here, but stop treating Auride like one. We have a zero-tolerance policy for a reason. Anyone doing this WILL be permanently suspended without appeal. I'm serious, don't try it.</small>
45  
46              <br />
47              <br />
48  
49              <button style="width: 100%;" onclick="register()" id="registerBtn">Register</button>
50          </div>
51      </body>
52  </html>