<template>
  <div>
    <template v-if="isMobile">
      <header-mobile/>
      <registerPersonal-mobile/>
      <footer-mobile/>
    </template>
    <template v-else>
      <accountCenter-header/>
      <personal-registration/>
    </template>
  </div>
</template>
<script>
  import AccountCenterHeader from '~components/default/AccountCenterHeader.vue'
  import PersonalRegistration from '~components/register/PersonalRegistration.vue'
  import { HeaderMobile, FooterMobile } from '~components/mobile'
  import registerPersonalMobile from '~components/mobile/registerPersonal'
  export default {
    layout (context) {
      return context.store.state.option.isMobile ? 'mobile' : 'default'
    },
    components: {
      AccountCenterHeader,
      PersonalRegistration,
      HeaderMobile,
      FooterMobile,
      registerPersonalMobile
    },
    fetch ({store, route}) {
      return Promise.all([

      ])
    },
    computed: {
      isMobile () {
        return this.$store.state.option.isMobile
      }
    }
  }
</script>
