<template>
  <div class="page login-signup">
    <template v-if="loadingUserInfo">
      <div class="loader-container">
        <div class="loader">
          <div class="lds-ripple"><div></div><div></div></div>
        </div>        
      </div>
    </template>
    <template v-if="!loadingUserInfo">
      <template v-if="loginProps.show">
        <Login  v-bind="loginProps" @runCallback="handleLoggedIn" :facebookId="facebookId" :googleId="googleId" :isNativeApp="isNativeApp"/>
      </template>
    </template>

  </div>
</template>

<script>
import './login.scss';

import LoginPage from './login';
export default LoginPage;
</script>
