fix: use form to sign in
Co-authored-by: Lindsay Wardell <three060@gmail.com>
This commit is contained in:
parent
39de2c36a6
commit
19dd7f891d
|
@ -18,17 +18,17 @@ async function handleInput() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div text-center justify-center items-center flex="~ col gap2">
|
||||
<form text-center justify-center items-center flex="~ col gap2" @submit.prevent="oauth">
|
||||
<div text-3xl mb2>
|
||||
Sign in
|
||||
</div>
|
||||
<div>Mastodon Server Name</div>
|
||||
<div flex bg-gray:10 px2 py1 mxa rounded border="~ border" text-xl items-center>
|
||||
<span op35 mr1 text-sm>https://</span>
|
||||
<input v-model="server" :placeholder="DEFAULT_SERVER" outline-none bg-transparent @input="handleInput" @keyup.enter="oauth()">
|
||||
<input v-model="server" :placeholder="DEFAULT_SERVER" outline-none bg-transparent @input="handleInput">
|
||||
</div>
|
||||
<button btn-solid mt2 @click="oauth()">
|
||||
<button btn-solid mt2>
|
||||
Sign in
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue