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

@@ -6,7 +6,11 @@
<div v-else>
<label>{{ $t("login_with") }}</label>
<p>
<FirebaseLogin @show-email="showEmail = true" />
<ButtonPrimary
v-if="currentUser"
label="Get Started"
@click.native="showLogin = true"
/>
</p>
</div>
</div>
@@ -45,7 +49,7 @@
</li>
</ul>
</div>
<FirebaseEmail :show="showEmail" @hide-modal="showEmail = false" />
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
</AppSection>
</template>
@@ -62,7 +66,7 @@ export default {
editingteamID: "",
me: {},
myTeams: [],
showEmail: false,
showLogin: false,
}
},
subscriptions() {