choice.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <script lang='ts' setup>
  2. import useLogin from '../useLogin'
  3. const { onSelectEmail, onGoogleLoginSuccess } = useLogin()
  4. const { closeLoginModal } = useLoginModal()
  5. </script>
  6. <template>
  7. <div>
  8. <div class="custom-title-font text-24px fw-800 text-#333 mb-10px">
  9. <span class="custom-title-bg03">Sign In</span> to EJET Spark
  10. </div>
  11. <div class="text-14px text-#1A1A1A lh-22px mb-20px">
  12. Use your Email or another service to continue with EJET Spark!
  13. </div>
  14. <common-google-login class="mb-24px" @success="onGoogleLoginSuccess" />
  15. <div class="b-rd-200px bg-#fff b-1px text-#333 b-solid b-#D8D8D8 h-48px lh-48px hover:b-#9B6CFF flex justify-center items-center cursor-pointer text-14px fw-500" @click="onSelectEmail">
  16. <img src="@/assets/images/mail_logo.png" class="w-24px h-24px mr-10px" alt="">
  17. Continue with Email
  18. </div>
  19. <div class="mt-40px lh-22px text-14px text-#767676">
  20. By continuing, you agree to EJET Spark’s <span class="text-#1A1A1A underline cursor-pointer fw-500">
  21. <nuxt-link to="/terms-of-service" @click="closeLoginModal">Terms of Use</nuxt-link>
  22. </span> Read our
  23. <span class="text-#1A1A1A underline cursor-pointer fw-500">
  24. <nuxt-link to="/privacy-policy" @click="closeLoginModal">Privacy Policy</nuxt-link>
  25. </span>
  26. </div>
  27. </div>
  28. </template>
  29. <style lang='less' scoped>
  30. </style>