fix: sign in button (#30)

This commit is contained in:
三咲智子 Kevin Deng 2022-11-23 16:58:07 +08:00 committed by GitHub
parent 07667bd3f0
commit cd19d75418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -3,8 +3,8 @@
<div text-sm op50> <div text-sm op50>
Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server. Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server.
</div> </div>
<NuxtLink to="/signin" class="btn-solid text-center"> <button class="btn-solid text-center" @click="openUserSwitcher">
Sign in Sign in
</NuxtLink> </button>
</div> </div>
</template> </template>

View file

@ -12,7 +12,7 @@ const sorted = computed(() => {
<template> <template>
<div max-w-40rem mxa p4 flex="~ col gap2"> <div max-w-40rem mxa p4 flex="~ col gap2">
<h1 text-2xl> <h1 text-2xl>
Switch Account Account
</h1> </h1>
<div mx--2> <div mx--2>
<template v-for="user of sorted" :key="user.id"> <template v-for="user of sorted" :key="user.id">
@ -34,7 +34,7 @@ const sorted = computed(() => {
<div mx--4 border="t base" pt2> <div mx--4 border="t base" pt2>
<button btn-text flex="~ gap-1" items-center @click="openSigninDialog"> <button btn-text flex="~ gap-1" items-center @click="openSigninDialog">
<div i-ri:user-add-line /> <div i-ri:user-add-line />
Add another account Add an existing account
</button> </button>
<button <button
v-if="currentUser" btn-text hover:text-red4 flex="~ gap-1" items-center v-if="currentUser" btn-text hover:text-red4 flex="~ gap-1" items-center