EventAgenda.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!--
  2. Section "Agenda" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer>
  6. <div class="container">
  7. <div class="d-flex flex-row justify-center">
  8. <h2 class="alt-theme bg-transparent">
  9. L’agenda Opentalent
  10. </h2>
  11. </div>
  12. <div class="d-flex align-center justify-center">
  13. <h3>
  14. Retrouvez tous les événements et toutes les structures culturelles
  15. autour de chez vous
  16. </h3>
  17. </div>
  18. <v-row justify="center" class="btn-container">
  19. <v-col cols="12" lg="6">
  20. <AgendaLink href="/">
  21. <v-btn append-icon="fas fa-arrow-right" class="btn-event">
  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:
  50. linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  51. linear-gradient(
  52. 180deg,
  53. rgba(14, 45, 50, 0.04) 0%,
  54. rgba(14, 45, 50, 0.2) 100%
  55. ),
  56. linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  57. url('/images/components/agenda/Opentalent_Agenda_evenement_culturel.jpg')
  58. no-repeat center 60%;
  59. background-size: cover;
  60. @media (max-width: 600px) {
  61. height: auto;
  62. }
  63. }
  64. h3 {
  65. height: 9rem;
  66. font-weight: 400;
  67. font-size: 3rem;
  68. line-height: 3rem;
  69. text-align: center;
  70. margin-bottom: 3rem;
  71. margin-top: 4rem;
  72. color: var(--on-primary-color);
  73. width: 45rem;
  74. @media (max-width: 600px) {
  75. font-size: 2rem;
  76. margin-right: auto;
  77. margin-left: auto;
  78. max-width: 80%;
  79. }
  80. }
  81. .btn-container {
  82. padding: 0 20rem;
  83. .v-col-12 {
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. @media (max-width: 1240px) {
  89. padding: 0 5rem;
  90. margin-top: 48px;
  91. a {
  92. display: block;
  93. width: 80%;
  94. margin: 5px auto;
  95. }
  96. }
  97. @media (max-width: 1600px) {
  98. padding: 0 5%;
  99. }
  100. }
  101. .btn-event {
  102. border-radius: 0.5rem;
  103. gap: 9px;
  104. font-weight: 700;
  105. font-size: 0.9rem;
  106. line-height: 15px;
  107. width: 18rem;
  108. margin-top: 3rem;
  109. min-width: 20rem;
  110. max-width: 20rem;
  111. height: 3.5rem;
  112. @media (max-width: 1240px) {
  113. width: 100%;
  114. max-width: 100%;
  115. margin: 0;
  116. min-width: 0;
  117. }
  118. }
  119. .btn-annuaire {
  120. @media (max-width: 1240px) {
  121. color: var(--on-primary-color);
  122. font-weight: 600;
  123. border: solid 2px var(--on-primary-color);
  124. }
  125. }
  126. </style>