Formation.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <template>
  2. <AnchoredSection id="webinars">
  3. <LayoutContainer>
  4. <div class="alt-theme pt-6 mt-12">
  5. <v-row>
  6. <LayoutUISubTitle class="mb-6 mt-6">
  7. Nos accompagnements pour aller plus loin
  8. </LayoutUISubTitle>
  9. </v-row>
  10. <v-row class="formation pb-6 align-center">
  11. <v-col
  12. md="6"
  13. v-for="(formation, index) in formations"
  14. :key="index"
  15. >
  16. <div class="mb-6">
  17. <v-img
  18. :src="formation.image"
  19. :alt="formation.alt"
  20. class="background-img"
  21. />
  22. </div>
  23. <div>
  24. <h3>
  25. {{ formation.sessions }}
  26. </h3>
  27. <h4>
  28. {{ formation.title }}
  29. </h4>
  30. <p class="details mb-5">
  31. {{ formation.description }}
  32. </p>
  33. <v-btn :to="formation.link">
  34. {{ formation.buttonText }}
  35. </v-btn>
  36. </div>
  37. </v-col>
  38. </v-row>
  39. </div>
  40. </LayoutContainer>
  41. </AnchoredSection>
  42. </template>
  43. <script setup lang="ts">
  44. import AnchoredSection from "~/components/Layout/AnchoredSection.vue";
  45. import type { Formation } from "~/types/interface.js";
  46. const formations: Array<Formation> = [
  47. {
  48. image: "/images/logiciels/school/formation.png",
  49. alt: "Formateur dans une salle avec 5 personnes levant la main",
  50. overlayClass: "image-overlay1",
  51. sessions: "Formation sur-mesure",
  52. title: " Des formations adaptées à votre projet - en ligne",
  53. description:
  54. "Chaque projet de solution de mise en réseau d'organisation nécessite un accompagnement sur-mesure par notre équipe de formation en fonction de vos besoins.",
  55. buttonText: "Formation sur-mesure",
  56. link: "/nous-contacter",
  57. },
  58. {
  59. image: "/images/logiciels/school/webinaire.png",
  60. alt: "Femme sur son bureau avec devant deux écrans d’ordinateur de bureau en visioconférence devant 12 personnes",
  61. overlayClass: "image-overlay2",
  62. sessions: "Webinaire CMF Réseau",
  63. title: "Trouvez le webinaire qu'il vous faut ",
  64. description:
  65. "Des explications précises sur certains modules du logiciel Opentalent Manager, c'est possible pour aller encore plus loin... ",
  66. buttonText: "Découvrir nos webinaires ",
  67. link: "/webinaires",
  68. },
  69. ];
  70. </script>
  71. <style scoped>
  72. .v-row {
  73. max-width: 1600px;
  74. margin: 0 auto;
  75. }
  76. @media (min-width: 600px) {
  77. :deep(h2) {
  78. width: 60rem;
  79. }
  80. }
  81. .background-img {
  82. width: 600px;
  83. height: 400px;
  84. background-size: cover;
  85. background-position: center;
  86. }
  87. .formation {
  88. .v-btn {
  89. width: 30rem;
  90. height: 4rem;
  91. font-weight: 500;
  92. font-size: 1.5rem;
  93. line-height: 18px;
  94. background: transparent;
  95. color: var(--on-primary-color);
  96. border: 1px solid;
  97. border-color: var(--on-primary-color);
  98. border-radius: 0.5rem;
  99. text-transform: none;
  100. }
  101. h3 {
  102. font-weight: 500;
  103. font-size: 1.4rem;
  104. line-height: 26px;
  105. color: var(--on-primary-color-alt) !important;
  106. margin-bottom: 1.5rem;
  107. }
  108. h4 {
  109. font-weight: 500;
  110. font-size: 1.8rem;
  111. line-height: 26px;
  112. color: var(--on-primary-color);
  113. margin-bottom: 3rem;
  114. }
  115. .details {
  116. font-weight: 300;
  117. font-size: 1.2rem;
  118. line-height: 1.5rem;
  119. color: var(--on-primary-color);
  120. }
  121. }
  122. </style>