EventAgenda.vue 2.8 KB

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