16.04 Register - Create Component & Add a Banner

This commit is contained in:
Fredrick W. Warren 2021-02-12 13:03:06 -08:00
parent 51ae44ed96
commit 1454cfa3e8
2 changed files with 25 additions and 4 deletions

View File

@ -0,0 +1,18 @@
<template>
<q-banner class="bg-grey-3">
<template v-slot:avatar>
<q-icon name="account_circle" color="primary" />
</template>
Register to access your Todos anywhere
</q-banner>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@ -23,8 +23,7 @@
</q-tab-panel> </q-tab-panel>
<q-tab-panel name="register"> <q-tab-panel name="register">
<div class="text-h6">Register</div> <register />
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</q-tab-panel> </q-tab-panel>
</q-tab-panels> </q-tab-panels>
</q-card> </q-card>
@ -32,14 +31,18 @@
</template> </template>
<script> <script>
import register from 'components/Auth/Register.vue'
export default { export default {
name: 'Auth', name: 'Auth',
data () { data () {
return { return {
tab: 'login' tab: 'register'
} }
},
components: {
register
} }
} }
</script> </script>