<script lang="ts">
  let instanceName: string;

  export async function onSubmitInstance(event: SubmitEvent) {
    event.preventDefault();
  }
</script>

<form on:submit={onSubmitInstance}>
  <h1>Log in</h1>

  <label for="instance">Instance:</label>
  <input bind:value={instanceName} type="url" id="instance" name="instance" />

  <input type="submit" value="Log in" />
</form>
