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.

103 lines
2.5 KiB

2 years ago
  1. <template>
  2. <v-app>
  3. <NavBar />
  4. <v-main :class="['tw-p-[30px] tw-bg-white md:tw-bg-primary-pale']">
  5. <div
  6. 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]">
  7. <div class="tw-hidden xl:tw-block xl:tw-mt-[30px]">
  8. <p class="welcome tw-text-primary-light">{{ $t("Welcome to ShowEasy") }}</p>
  9. <p class="sub tw-text-neutral-400">
  10. {{
  11. $t(
  12. "Your best guide from trip to show and from show to the world."
  13. )
  14. }}
  15. </p>
  16. <img class="mt-11 ml-15" :src="require('@/assets/img/UserLoginMain.png')" />
  17. </div>
  18. <div class="md:tw-w-[414px] md:tw-mx-auto">
  19. <Nuxt />
  20. </div>
  21. </div>
  22. </v-main>
  23. <customNotifications></customNotifications>
  24. </v-app>
  25. </template>
  26. <script>
  27. import NavBar from "../components/NavBar.vue";
  28. import customNotifications from "@/components/newComponent/notifications/notifications.vue";
  29. export default {
  30. name: "LoginLayout",
  31. layout: "empty",
  32. components: {
  33. NavBar,
  34. customNotifications,
  35. },
  36. data() {
  37. return {};
  38. },
  39. computed: {
  40. drawerAcitve() {
  41. return this.$store.getters.getDrawerStatus;
  42. },
  43. searchDialogActive() {
  44. return this.$store.getters.getSearchDialogStatus;
  45. }
  46. },
  47. watch: {
  48. drawerAcitve: {
  49. handler: function () {
  50. this.bsd(this.drawerAcitve);
  51. }
  52. },
  53. searchDialogActive: {
  54. handler: function () {
  55. this.bsd(this.searchDialogActive);
  56. }
  57. }
  58. },
  59. methods: {
  60. bsd(status) {
  61. var body = document.querySelector("body");
  62. var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
  63. var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
  64. window.onscroll = function () { };
  65. if (status === true) {
  66. if (window.onscroll !== null) {
  67. window.onscroll = function () {
  68. window.scrollTo(scrollLeft, scrollTop);
  69. };
  70. }
  71. } else {
  72. window.onscroll = function () { };
  73. }
  74. }
  75. }
  76. };
  77. </script>
  78. <style lang="scss" scoped>
  79. #app {
  80. overflow-y: hidden;
  81. }
  82. .welcome {
  83. color: #f5cda8;
  84. font-family: Damion;
  85. font-size: 48px;
  86. margin-bottom: 0px;
  87. font-weight: 400;
  88. line-height: 66px;
  89. letter-spacing: 0.02em;
  90. }
  91. .sub {
  92. color: #9c9c9c;
  93. font-style: italic;
  94. font-weight: 400;
  95. font-size: 22px;
  96. line-height: 29px;
  97. letter-spacing: 0.02em;
  98. }
  99. </style>