EventAgenda.vue 2.9 KB

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