EventAgenda.vue 2.8 KB

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