EventAgenda.vue 2.1 KB

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