You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
3.2 KiB

  1. <template>
  2. <div :class="['tw-h-full tw-p-[30px] tw-bg-white md:tw-bg-primary-pale']">
  3. <div
  4. class="xl:tw-grid xl:tw-grid-cols-[auto_414px] xl:tw-gap-[96px] xl:tw-max-w-[1246px] xl:tw-mx-auto xl:tw-px-[60px]">
  5. <div class="tw-hidden xl:tw-block xl:tw-mt-[30px]">
  6. <p class="welcome tw-text-primary-light">{{ $t("Welcome to ShowEasy") }}</p>
  7. <p class="sub tw-text-neutral-400">
  8. {{
  9. $t(
  10. "Your best guide from trip to show and from show to the world."
  11. )
  12. }}
  13. </p>
  14. <img class="mt-11 ml-15" :src="require('@/assets/img/UserLoginMain.png')" />
  15. </div>
  16. <div class="md:tw-w-[414px] md:tw-mx-auto">
  17. <div class="tw-bg-white md:tw-rounded-[24px] md:tw-mt-[30px] md:tw-pt-[60px] md:tw-pb-[150px] md:tw-px-[30px]">
  18. <div class="tw-font-bold tw-text-black tw-text-[18px] tw-mb-[16px]">
  19. Thank you for signing up.
  20. </div>
  21. <div class="tw-text-black tw-text-[16px] tw-mb-[24px]">
  22. Your email has been verified.
  23. </div>
  24. <button class="tw-bg-primary-1 tw-text-white tw-text-[16px] tw-w-full tw-py-[10px] tw-rounded-[16px] tw-mb-[16px]">
  25. Explore with ShowEasy
  26. </button>
  27. <div class="tw-mx-auto tw-text-primary-1 tw-text-[14px] tw-w-fit">
  28. Go to ShowEasy in {{ `${this.countdown}` }} sec...
  29. </div>
  30. <loading :isLoading="isPageLoading"></loading>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </template>
  36. <script>
  37. import loading from "@/components/newComponent/loading/loading.vue";
  38. export default {
  39. name: "Redirect",
  40. layout: "login",
  41. auth: false,
  42. components: {
  43. loading,
  44. },
  45. data() {
  46. return {
  47. isPageLoading: false,
  48. countdown: 5,
  49. };
  50. },
  51. watch: {
  52. },
  53. created(){
  54. this.secondCountDown();
  55. },
  56. methods: {
  57. secondCountDown(){
  58. this.timer = setInterval(() => {
  59. if (this.countdown > 0) {
  60. this.countdown--;
  61. }
  62. if (this.countdown === 0) {
  63. clearInterval(this.timer);
  64. }
  65. }, 1000);
  66. if(this.countdown === 0){
  67. console.log("0")
  68. }
  69. }
  70. },
  71. computed: {
  72. },
  73. };
  74. </script>
  75. <style lang="scss" scoped>
  76. #app {
  77. overflow-y: hidden;
  78. }
  79. .welcome {
  80. color: #f5cda8;
  81. font-family: Damion;
  82. font-size: 48px;
  83. margin-bottom: 0px;
  84. font-weight: 400;
  85. line-height: 66px;
  86. letter-spacing: 0.02em;
  87. }
  88. .sub {
  89. color: #9c9c9c;
  90. font-style: italic;
  91. font-weight: 400;
  92. font-size: 22px;
  93. line-height: 29px;
  94. letter-spacing: 0.02em;
  95. }
  96. :deep(.v-text-field.v-text-field--enclosed .v-text-field__details) {
  97. padding: 0;
  98. margin: 0;
  99. }
  100. :deep(.v-messages__message) {
  101. font-size: 14px;
  102. }
  103. $border-style: 1px solid #e5e5e5;
  104. .title {
  105. font-weight: 700;
  106. font-size: 26px;
  107. line-height: 34px;
  108. letter-spacing: 0.02em;
  109. color: #232323;
  110. }
  111. :deep(.v-text-field.v-text-field--enclosed .v-text-field__details) {
  112. margin-bottom: 0;
  113. padding: 0;
  114. .v-messages {
  115. color: #9c9c9c;
  116. display: none;
  117. }
  118. .v-messages.error--text {
  119. display: block;
  120. margin-top: 4px;
  121. margin-bottom: 16px;
  122. }
  123. }
  124. .btn-border {
  125. border: $border-style;
  126. }
  127. </style>