Formations.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <template>
  2. <AnchoredSection id="webinars">
  3. <LayoutContainer>
  4. <div class="alt-theme pt-6 mt-12">
  5. <v-row>
  6. <LayoutUISubTitle>
  7. Nos accompagnements sur-mesure
  8. </LayoutUISubTitle>
  9. </v-row>
  10. <v-row class="formation pb-6 align-center">
  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. .v-row {
  74. max-width: 1600px;
  75. margin: 0 auto;
  76. }
  77. :deep(h2) {
  78. width: 60rem;
  79. }
  80. .background-img {
  81. width: 600px;
  82. height: 400px;
  83. background-size: cover;
  84. background-position: center;
  85. }
  86. .alt-color {
  87. color: var(--on-primary-color-alt);
  88. }
  89. .formation {
  90. .v-btn {
  91. width: 30rem;
  92. height: 4rem;
  93. font-weight: 500;
  94. font-size: 1.5rem;
  95. line-height: 18px;
  96. background: transparent;
  97. color: var(--on-primary-color);
  98. border: 1px solid;
  99. border-color: var(--on-primary-color);
  100. border-radius: 0.5rem;
  101. text-transform: none;
  102. }
  103. h3 {
  104. font-weight: 500;
  105. font-size: 1.4rem;
  106. line-height: 26px;
  107. color: var(--secondary-color) !important;
  108. margin-bottom: 1.5rem;
  109. }
  110. h4 {
  111. font-weight: 500;
  112. font-size: 1.8rem;
  113. line-height: 26px;
  114. color: var(--on-primary-color);
  115. margin-bottom: 3rem;
  116. }
  117. .details {
  118. font-weight: 300;
  119. font-size: 1.2rem;
  120. max-width: 650px;
  121. text-align: justify;
  122. line-height: 1.5rem;
  123. color: var(--on-primary-color);
  124. }
  125. @media (max-width: 600px) {
  126. .v-btn {
  127. height: 96px;
  128. }
  129. :deep(.v-btn__content) {
  130. white-space: pre-wrap;
  131. line-height: 1.2em;
  132. padding: auto;
  133. text-align: center;
  134. }
  135. }
  136. }
  137. </style>