Formations.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <template>
  2. <AnchoredSection id="webinars">
  3. <LayoutContainer>
  4. <div class="alt-theme pt-6 mt-12">
  5. <v-row class="center-90">
  6. <LayoutUISubTitle>
  7. Nos accompagnements sur-mesure
  8. </LayoutUISubTitle>
  9. </v-row>
  10. <v-row class="formation pb-6 align-center center-90">
  11. <v-col
  12. cols="12"
  13. md="6"
  14. v-for="(formation, index) in formations"
  15. :key="index"
  16. >
  17. <div class="mb-6">
  18. <v-img
  19. :src="formation.image"
  20. :alt="formation.alt"
  21. class="background-img"
  22. />
  23. </div>
  24. <div>
  25. <h3>
  26. {{ formation.sessions }}
  27. </h3>
  28. <h4>
  29. {{ formation.title }}
  30. </h4>
  31. <p class="details mb-5">
  32. {{ formation.description }}
  33. </p>
  34. <v-btn :to="formation.link">
  35. {{ formation.buttonText }}
  36. </v-btn>
  37. </div>
  38. </v-col>
  39. </v-row>
  40. </div>
  41. </LayoutContainer>
  42. </AnchoredSection>
  43. </template>
  44. <script setup lang="ts">
  45. import AnchoredSection from "~/components/Layout/AnchoredSection.vue";
  46. import type { Formation } from "~/types/interface";
  47. const formations: Array<Formation> = [
  48. {
  49. image: "/images/logiciels/school/formation.png",
  50. alt: "Formateur dans une salle avec 5 personnes levant la main",
  51. overlayClass: "image-overlay1",
  52. sessions: "3 formations disponibles",
  53. title: "Des formations adaptées à chacun - en ligne",
  54. description:
  55. "Parce qu’on sait qu’appréhender un nouvel outil peut-être fastidieux et que vous n’avez pas de temps à perdre,...",
  56. buttonText: "Découvrir toutes nos formations",
  57. link: "/formations",
  58. },
  59. {
  60. image: "/images/logiciels/school/webinaire.png",
  61. alt: "Femme sur son bureau avec devant deux écrans d’ordinateur de bureau en visioconférence devant 12 personnes",
  62. overlayClass: "image-overlay2",
  63. sessions: "Toutes nos sessions",
  64. title: "Trouvez le webinaire qu'il vous faut ",
  65. description:
  66. "Des explications précises sur certains modules du logiciel Opentalent School, c'est possible pour aller encore plus loin...",
  67. buttonText: "Découvrir nos webinaires ",
  68. link: "/webinaires",
  69. },
  70. ];
  71. </script>
  72. <style scoped>
  73. :deep(h2) {
  74. width: 60rem;
  75. }
  76. .background-img {
  77. width: 600px;
  78. height: 400px;
  79. background-size: cover;
  80. background-position: center;
  81. }
  82. .alt-color {
  83. color: var(--on-primary-color-alt);
  84. }
  85. .formation {
  86. .v-btn {
  87. width: 30rem;
  88. height: 4rem;
  89. font-weight: 500;
  90. font-size: 1.5rem;
  91. line-height: 18px;
  92. background: transparent;
  93. color: var(--on-primary-color);
  94. border: 1px solid;
  95. border-color: var(--on-primary-color);
  96. border-radius: 0.5rem;
  97. text-transform: none;
  98. }
  99. h3 {
  100. font-weight: 500;
  101. font-size: 1.4rem;
  102. line-height: 26px;
  103. color: var(--secondary-color) !important;
  104. margin-bottom: 1.5rem;
  105. }
  106. h4 {
  107. font-weight: 500;
  108. font-size: 1.8rem;
  109. line-height: 26px;
  110. color: var(--on-primary-color);
  111. margin-bottom: 3rem;
  112. }
  113. .details {
  114. font-weight: 300;
  115. font-size: 1.2rem;
  116. max-width: 650px;
  117. line-height: 1.5rem;
  118. color: var(--on-primary-color);
  119. }
  120. @media (max-width: 1240px) {
  121. .background-img, h3, h4, .details {
  122. margin-left: auto;
  123. margin-right: auto;
  124. text-align: center;
  125. }
  126. .v-btn {
  127. width: 80%;
  128. margin-left: 10%;
  129. }
  130. }
  131. @media (max-width: 600px) {
  132. .v-btn {
  133. height: 96px;
  134. }
  135. :deep(.v-btn__content) {
  136. white-space: pre-wrap;
  137. line-height: 1.2em;
  138. padding: auto;
  139. text-align: center;
  140. }
  141. }
  142. }
  143. </style>