EventAgenda.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!--
  2. Section "Agenda" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer>
  6. <div class="container">
  7. <div class="d-flex align-center justify-center">
  8. <h3>
  9. Retrouvez tous vos évènements dans l'agenda et référencez vous dans
  10. l'annuaire
  11. </h3>
  12. </div>
  13. <v-row justify="center" class="btn-container">
  14. <v-col cols="12" lg="6">
  15. <AgendaLink href="/">
  16. <v-btn
  17. append-icon="fas fa-arrow-right"
  18. class="btn-event"
  19. >
  20. Découvrir l'agenda
  21. </v-btn>
  22. </AgendaLink>
  23. </v-col>
  24. <v-col cols="12" lg="6">
  25. <AgendaLink href="/annuaire">
  26. <v-btn
  27. append-icon="fas fa-arrow-right"
  28. :variant="lgAndUp ? 'default' : 'outlined'"
  29. class="btn-event btn-annuaire"
  30. >
  31. Découvrir l’annuaire
  32. </v-btn>
  33. </AgendaLink>
  34. </v-col>
  35. </v-row>
  36. </div>
  37. </LayoutContainer>
  38. </template>
  39. <script setup>
  40. import { useDisplay } from "vuetify";
  41. import AgendaLink from "~/components/Common/AgendaLink.vue";
  42. const { lgAndUp } = useDisplay();
  43. </script>
  44. <style scoped>
  45. .container {
  46. height: 35rem;
  47. background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  48. linear-gradient(
  49. 180deg,
  50. rgba(14, 45, 50, 0.04) 0%,
  51. rgba(14, 45, 50, 0.2) 100%
  52. ),
  53. linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  54. url("/images/eventAgenda/eventAgenda.jpg") no-repeat center 60%;
  55. background-size: cover;
  56. }
  57. h3 {
  58. height: 9rem;
  59. font-weight: 400;
  60. font-size: 3rem;
  61. line-height: 3rem;
  62. text-align: center;
  63. margin-bottom: 3rem;
  64. margin-top: 4rem;
  65. color: var(--on-primary-color);
  66. width: 45rem;
  67. }
  68. .btn-container {
  69. display: flex;
  70. align-items: center;
  71. justify-content: center;
  72. padding: 0 20rem;
  73. @media (max-width: 1240px) {
  74. padding: 0 5rem;
  75. margin-top: 48px;
  76. a {
  77. display: block;
  78. width: 80%;
  79. margin: 5px auto;
  80. }
  81. }
  82. }
  83. .btn-event {
  84. border-radius: 0.5rem;
  85. gap: 9px;
  86. font-weight: 700;
  87. font-size: 0.9rem;
  88. line-height: 15px;
  89. width: 18rem;
  90. margin-top: 3rem;
  91. min-width: 20rem;
  92. max-width: 20rem;
  93. height: 3.5rem;
  94. @media (max-width: 1240px) {
  95. width: 100%;
  96. max-width: 100%;
  97. margin: 0;
  98. }
  99. }
  100. .btn-annuaire {
  101. @media (max-width: 1240px) {
  102. color: var(--on-primary-color);
  103. font-weight: 600;
  104. border: solid 2px var(--on-primary-color);
  105. }
  106. }
  107. </style>