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.

100 lines
2.0 KiB

2 years ago
2 years ago
  1. <template>
  2. <modal name="ContactUs" :clickToClose="false">
  3. <div class="tw-text-base-primary">
  4. <div class="modal-header tw-flex tw-w-full tw-justify-between tw-mb-[15px] lg:tw-mb-[30px]">
  5. <div class="t18 tw-mr-[120px] md:tw-text-[20px]">{{ $t( "Contact Us") }}</div>
  6. <button class="close tw-transition tw-btn-md" @click="$modal.hide('ContactUs')"></button>
  7. </div>
  8. <div class="modal-content tw-body-5 md:tw-mr-[200px] md:tw-body-4">
  9. <div class="tw-mb-[15px]">{{ ContactUs.Phone }}</div>
  10. <div>{{ ContactUs.Mail }}</div>
  11. </div>
  12. </div>
  13. </modal>
  14. </template>
  15. <script>
  16. export default {
  17. name: "ContactUs",
  18. data() {
  19. return {};
  20. },
  21. props: {
  22. ContactUs: {
  23. type: Object,
  24. },
  25. },
  26. };
  27. </script>
  28. <style lang="scss" scoped>
  29. .close {
  30. position: absolute;
  31. right: 25px;
  32. top: 25px;
  33. background-image: url("~/assets/svg/close.svg");
  34. background-position: center;
  35. background-repeat: no-repeat;
  36. background-size: cover;
  37. width: 14px;
  38. height: 14px;
  39. @media (min-width: 1366px) {
  40. position: relative;
  41. right: initial;
  42. top: initial;
  43. }
  44. }
  45. :deep() {
  46. .v--modal {
  47. background-color: #f8f8f8 !important;
  48. text-align: left;
  49. border-radius: 16px;
  50. box-shadow: 0 20px 60px -2px rgb(27 33 58 / 40%);
  51. padding: 20px;
  52. max-width: max-content;
  53. top: 0 !important;
  54. left: 0 !important;
  55. right: 0 !important;
  56. margin: 0 auto;
  57. height: auto !important;
  58. vertical-align: middle;
  59. }
  60. .v--modal-overlay {
  61. position: fixed;
  62. box-sizing: border-box;
  63. left: 0;
  64. top: 0;
  65. width: max-content;
  66. height: auto;
  67. background: rgba(0, 0, 0, 0.2);
  68. z-index: 999;
  69. opacity: 1;
  70. }
  71. .v--modal-top-right {
  72. display: block;
  73. position: fixed;
  74. right: 0;
  75. top: 0;
  76. }
  77. .v--modal-background-click {
  78. display: flex;
  79. justify-content: center;
  80. align-items: center;
  81. }
  82. .v--modal-box {
  83. margin-left: 60px;
  84. margin-right: 60px;
  85. @media (min-width: 768px) {
  86. margin-left: 67px;
  87. margin-right: 67px;
  88. }
  89. }
  90. }
  91. </style>