EventAgenda.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <template>
  2. <LayoutContainer :overflow="false" >
  3. <div class="title-container">
  4. <h2 class="title">
  5. Retrouvez tous vos évènements dans l'agenda et référencez vous dans
  6. l'annuaire
  7. </h2>
  8. </div>
  9. <v-row>
  10. <v-col cols="12" :class="lgAndUp ? 'btn-container' : ''">
  11. <v-col :cols="smAndDown ? 12 : 6" class="d-flex justify-center">
  12. <v-btn :class="smAndDown ? 'btn-event-sm' : 'btn-event'"
  13. >Découvrir les évènements
  14. <v-icon class="fa-solid fa-arrow-right icon-arrow"></v-icon>
  15. </v-btn>
  16. </v-col>
  17. <v-col col="6">
  18. <v-btn v-if="lgAndUp" class="btn-event"
  19. >Découvrir l’ANNUAIRE
  20. <v-icon class="fa-solid fa-arrow-right icon-arrow"></v-icon>
  21. </v-btn>
  22. </v-col>
  23. </v-col>
  24. </v-row>
  25. </LayoutContainer>
  26. </template>
  27. <script setup>
  28. import { useDisplay } from "vuetify";
  29. const { lgAndUp, smAndDown, mdAndDown } = useDisplay();
  30. </script>
  31. <style scoped>
  32. .btn-event-sm {
  33. font-family: "Barlow";
  34. font-style: normal;
  35. border-radius: 0.5rem;
  36. padding-top: 2rem;
  37. padding-bottom: 2rem;
  38. margin-top: 3rem;
  39. }
  40. .icon-arrow {
  41. font-size: 1rem;
  42. margin-left: 1rem;
  43. }
  44. .btn-container {
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. padding: 0 20rem;
  49. }
  50. .btn-event {
  51. font-family: "Barlow";
  52. font-style: normal;
  53. border-radius: 0.5rem;
  54. margin-left: 7vw;
  55. gap: 9px;
  56. font-weight: 700;
  57. font-size: 0.9rem;
  58. line-height: 15px;
  59. width: 18rem;
  60. height: 3rem;
  61. margin-top: 3rem;
  62. padding-top: 2rem;
  63. padding-bottom: 2rem;
  64. }
  65. .title {
  66. font-family: "Barlow";
  67. font-style: normal;
  68. height: 9rem;
  69. font-weight: 400;
  70. font-size: 3rem;
  71. line-height: 3rem;
  72. text-align: center;
  73. margin-bottom: 3rem;
  74. margin-top: 4rem;
  75. color: #ffffff;
  76. width: 45rem;
  77. }
  78. .title-container {
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. }
  83. .container,
  84. .container-sm
  85. {
  86. height: 30rem;
  87. background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  88. linear-gradient(
  89. 180deg,
  90. rgba(14, 45, 50, 0.04) 0%,
  91. rgba(14, 45, 50, 0.2) 100%
  92. ),
  93. linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  94. url("/images/eventAgenda/eventAgenda.jpg") no-repeat center 60%;
  95. background-size: cover;
  96. }
  97. .container-sm {
  98. margin-bottom: 60rem;
  99. }
  100. </style>