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.

155 lines
4.4 KiB

2 years ago
  1. <template>
  2. <div
  3. class="cookie-bottom-modal d-flex justify-center"
  4. v-if="this.$store.state.myStore.isCookieHasBeenClicked"
  5. style="z-index: 999"
  6. >
  7. <div class="computer hidden-sm-and-down">
  8. <v-card
  9. flat
  10. max-width="1306"
  11. min-height="80"
  12. class="border-radius-20 py-5 px-8 d-flex justify-space-between mx-5"
  13. style="background-color: rgba(0, 0, 0, 0.75)"
  14. >
  15. <v-card
  16. flat
  17. class="d-flex flex-column tw-mr-[10px]"
  18. color="transparent"
  19. >
  20. <v-card
  21. flat
  22. color="transparent"
  23. class="white--text px-3"
  24. style="font-size: 14px; letter-spacing: 0.02em"
  25. >
  26. {{
  27. $t(
  28. "We use cookies to ensure that we give you the best experience on our website. We also use cookies to ensure we show you advertising that is relevant to you."
  29. )
  30. }}
  31. </v-card>
  32. <v-card
  33. flat
  34. color="transparent"
  35. class="primary--text px-3 tw-body-4"
  36. style="text-decoration: underline"
  37. ><nuxt-link :to="localePath('/cookiePolicy')">
  38. {{ $t("Learn More") }}</nuxt-link
  39. ></v-card
  40. >
  41. </v-card>
  42. <v-btn
  43. class="remove-upper primary white--text border-radius-16"
  44. width="140"
  45. height="40"
  46. @click="$store.commit('myStore/closeCookie')"
  47. >
  48. {{ $t("Got it") }}
  49. </v-btn>
  50. </v-card>
  51. </div>
  52. <div class="tablet d-none d-sm-flex d-md-none">
  53. <v-card
  54. flat
  55. max-width="708"
  56. min-height="171"
  57. class="border-radius-20 py-5 px-7 mx-5 d-flex flex-column justify-space-between"
  58. style="background-color: rgba(0, 0, 0, 0.75)"
  59. >
  60. <v-card flat class="d-flex flex-column" color="transparent">
  61. <v-card
  62. flat
  63. color="transparent"
  64. class="white--text"
  65. style="font-size: 14px; letter-spacing: 0.02em"
  66. >
  67. {{
  68. $t(
  69. "We use cookies to ensure that we give you the best experience on our website. We also use cookies to ensure we show you advertising that is relevant to you."
  70. )
  71. }}
  72. </v-card>
  73. <v-card
  74. flat
  75. color="transparent"
  76. class="primary--text tw-body-4"
  77. style="text-decoration: underline"
  78. ><nuxt-link :to="localePath('/cookiePolicy')">
  79. {{ $t("Learn More") }}</nuxt-link
  80. ></v-card
  81. >
  82. </v-card>
  83. <v-btn
  84. class="remove-upper primary white--text border-radius-16"
  85. max-width="648"
  86. height="40"
  87. @click="$store.commit('myStore/closeCookie')"
  88. >
  89. {{ $t("Got it") }}
  90. </v-btn>
  91. </v-card>
  92. </div>
  93. <div class="phone hidden-sm-and-up">
  94. <v-card
  95. flat
  96. max-width="384"
  97. min-height="164"
  98. class="border-radius-20 py-5 px-7 mx-5 d-flex flex-column justify-space-between"
  99. style="background-color: rgba(0, 0, 0, 0.75)"
  100. >
  101. <v-card flat class="d-flex flex-column" color="transparent">
  102. <v-card
  103. flat
  104. color="transparent"
  105. class="white--text"
  106. style="font-size: 14px; letter-spacing: 0.02em; line-height: 16px"
  107. >
  108. {{
  109. $t(
  110. "We use cookies to ensure that we give you the best experience on our website. We also use cookies to ensure we show you advertising that is relevant to you."
  111. )
  112. }}
  113. </v-card>
  114. <v-card
  115. flat
  116. color="transparent"
  117. class="primary--text tw-body-4 tw-mb-[20px]"
  118. style="text-decoration: underline"
  119. ><nuxt-link :to="localePath('/cookiePolicy')">
  120. {{ $t("Learn More") }}</nuxt-link
  121. ></v-card
  122. >
  123. </v-card>
  124. <v-btn
  125. class="remove-upper primary white--text border-radius-16"
  126. max-width="344"
  127. height="40"
  128. @click="$store.commit('myStore/closeCookie')"
  129. >
  130. {{ $t("Got it") }}
  131. </v-btn>
  132. </v-card>
  133. </div>
  134. </div>
  135. </template>
  136. <script>
  137. export default {
  138. data() {
  139. return {
  140. privacyPolicy: true,
  141. };
  142. },
  143. };
  144. </script>
  145. <style>
  146. .cookie-bottom-modal {
  147. position: fixed;
  148. bottom: 40px;
  149. width: 100%;
  150. }
  151. </style>