<script>
    import "$lib/global.css";

    let name = $state("");
    let email = $state("");
    let password = $state("");
    let confirmPassword = $state("");
    let url = $state("");

    const submit = ()=>{
        console.log("submitting");
    }
</script>

<div id="register" class="standardForm" onsubmit={submit}>
    <label>Name:
        <input bind:value={name} type="text" required>
    </label>

    <label>Email:
        <input bind:value={email} type="email" required>
    </label>

    <label>Password:
        <input bind:value={password} type="password" required>
    </label>

    <label>Confirm Password:
        <input bind:value={confirmPassword} type="password" required>
    </label>

    <input bind:value={url} type="hidden" required>

    <button>Register</button>
</div>
