EventAgenda.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. @media (max-width: 600px) {
  68. font-size: 2rem;
  69. margin-right: auto;
  70. margin-left: auto;
  71. max-width: 80%;
  72. }
  73. }
  74. .btn-container {
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. padding: 0 20rem;
  79. @media (max-width: 1240px) {
  80. padding: 0 5rem;
  81. margin-top: 48px;
  82. a {
  83. display: block;
  84. width: 80%;
  85. margin: 5px auto;
  86. }
  87. }
  88. @media (max-width: 1600px) {
  89. padding: 0 5%;
  90. }
  91. }
  92. .btn-event {
  93. border-radius: 0.5rem;
  94. gap: 9px;
  95. font-weight: 700;
  96. font-size: 0.9rem;
  97. line-height: 15px;
  98. width: 18rem;
  99. margin-top: 3rem;
  100. min-width: 20rem;
  101. max-width: 20rem;
  102. height: 3.5rem;
  103. @media (max-width: 1240px) {
  104. width: 100%;
  105. max-width: 100%;
  106. margin: 0;
  107. min-width: 0;
  108. }
  109. }
  110. .btn-annuaire {
  111. @media (max-width: 1240px) {
  112. color: var(--on-primary-color);
  113. font-weight: 600;
  114. border: solid 2px var(--on-primary-color);
  115. }
  116. }
  117. </style>