| 12345678910111213141516171819202122232425262728293031323334353637 |
- <script>
- import {enhance} from "$app/forms";
- </script>
- <div class="container">
- <form class="standardForm" method="POST" use:enhance>
- <h1>Sign Up</h1>
- <label>Name
- <input name="name" type="text" required>
- </label>
- <label>Email
- <input name="email" type="email" required>
- </label>
- <label>Password
- <input name="password" type="password" required>
- </label>
- <label>Confirm Password
- <input name="confirmPassword" type="password" required>
- </label>
- <button>Register</button>
- </form>
- </div>
- <style>
- .container{
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: calc(100% - 75px);
- }
- </style>
|