32 lines
893 B
Vue
32 lines
893 B
Vue
<template>
|
|
<v-container>
|
|
<v-row>
|
|
<v-col cols="12" class="text-center">
|
|
<blockquote class="blockquote">
|
|
“First, solve the problem. Then, write the code.”
|
|
<footer>
|
|
<small>
|
|
<em>—John Johnson</em>
|
|
</small>
|
|
</footer>
|
|
</blockquote>
|
|
</v-col>
|
|
</v-row>
|
|
</v-container>
|
|
</template>
|
|
|
|
<script>
|
|
import { demoAccounts } from '~/components/DemoInfoDialog.vue'
|
|
|
|
export default {
|
|
name: 'HelpPage',
|
|
layout ({ $auth }) {
|
|
// Ref: https://firebase.google.com/docs/reference/js/v8/firebase.auth.Auth#currentuser
|
|
// return $auth.currentUser.emailVerified ? 'default' : 'unverified'
|
|
|
|
// TODO: For demo purposes only. Delete in production.
|
|
return $auth.currentUser.emailVerified || demoAccounts.includes($auth.currentUser.email) ? 'default' : 'unverified'
|
|
},
|
|
}
|
|
</script>
|