refactor: settings page + ui components

This commit is contained in:
Liyas Thomas
2021-07-04 16:59:37 +00:00
committed by GitHub
parent 1b540c0e57
commit fd4f49cf8e
36 changed files with 449 additions and 566 deletions

View File

@@ -1,5 +1,27 @@
<template>
<div>
<FirebaseLogin />
<ButtonPrimary
v-if="currentUser === null"
label="Get Started"
@click.native="showLogin = true"
/>
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
</div>
</template>
<script>
import { currentUser$ } from "~/helpers/fb/auth"
export default {
data() {
return {
showLogin: false,
}
},
subscriptions() {
return {
currentUser: currentUser$,
}
},
}
</script>