This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am adamkpurdy on github. | |
| * I am kpapro (https://keybase.io/kpapro) on keybase. | |
| * I have a public key ASBtiS8NDfcW3DxNnrLpUeS_bMsTR27LmDpNIXKS7DsCYAo | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| export default { | |
| name: 'SomeRoutePage', | |
| preFetch({ store, redirect }) { | |
| store.state.$firebase.auth().onAuthStateChanged((user) => { | |
| if (!user) redirect('/login'); | |
| }); | |
| }, | |
| } | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div id="q-app"> | |
| <router-view /> | |
| </div> | |
| </template> | |
| <script> | |
| import firebase from 'firebase'; | |
| import 'firebase/firestore'; | |
| import firebaseApp from 'firebase/app'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <section | |
| class="base-contact-form row justify-between" | |
| data-cy="base-contact-form" | |
| > | |
| <q-field | |
| class="q-my-md col-12 col-lg-5" | |
| v-for="(field, index) in $options.inputs" | |
| :key="index" | |
| :error="$v.baseContactFormData[index].$error" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <q-layout view="hHh Lpr lFf" class="bg-green-1"> | |
| <!-- (Optional) The Header --> | |
| <q-layout-header reveal> | |
| <q-toolbar class="bg-secondary"> | |
| <q-toolbar-title class="row items-center"> | |
| <router-link to="/user/providers" class="col-6 text-white">Dashboard</router-link> | |
| <a target="_blank" href="http://" class="col-6 text-right text-white">Providers</a> | |
| </q-toolbar-title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| provider: { | |
| contactInfo: { | |
| fullName: '', | |
| email: '', | |
| streetAddress: '', | |
| city: '', | |
| state: '', | |
| zipCode: '', | |
| cellPhone: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import classnames from 'classnames'; | |
| export default class ProfileSummary extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| editable: false, | |
| }; |