1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-17 06:20:00 +00:00

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

View file

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