role.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <template>
  2. <form
  3. class="w-full h-full flex flex-col items-center justify-between pt-8 text-white"
  4. >
  5. <div class="flex flex-col justify-center items-center">
  6. <h1 class="text-4xl font-bold text-center">Филиал</h1>
  7. <p class="opacity-50">Где именно вы находитесь?</p>
  8. </div>
  9. <div>
  10. <ClientOnly>
  11. <lottie-player
  12. class="w-[200px] h-[200px]"
  13. autoplay
  14. loop
  15. mode="normal"
  16. src="/lottie/teacher.json"
  17. />
  18. </ClientOnly>
  19. </div>
  20. <Icon name="svg-spinners:ring-resize" class="show w-20 h-20 text-white" />
  21. <Select :data="[]" v-model:selected="selectedBranch" />
  22. <div />
  23. <div class="w-full">
  24. <div
  25. class="w-full flex gap-2 justify-center items-center py-2 opacity-50 hover:opacity-100 duration-150 mb-0.5 cursor-pointer"
  26. >
  27. <img
  28. src="@/assets/icons/alert-circle 1.svg"
  29. alt="alert circle"
  30. class="h-7 w-7 text-background-100 rotate-180"
  31. />
  32. <p class="font-light text-lg">Откуда брать данные?</p>
  33. </div>
  34. <button
  35. class="w-full py-2 bg-primary flex gap-3 justify-center items-center group disabled:opacity-50 duration-150"
  36. type="submit"
  37. >
  38. <p
  39. class="text-2xl text-background-100 font-semibold opacity-75 group-hover:opacity-100 duration-150"
  40. v-text="'Войти в аккаунт'"
  41. />
  42. </button>
  43. </div>
  44. </form>
  45. </template>
  46. <script setup lang="ts">
  47. definePageMeta({
  48. layout: "none",
  49. middleware: ["user-only"],
  50. });
  51. const selectedBranch = ref();
  52. </script>
  53. <style scoped>
  54. @keyframes show {
  55. 0% {
  56. opacity: 0;
  57. }
  58. 100% {
  59. opacity: 1;
  60. }
  61. }
  62. .show {
  63. animation: show ease-in-out 300ms;
  64. }
  65. </style>