Formation.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. :deep(h2) {
  77. width: 60rem;
  78. }
  79. .background-img {
  80. width: 600px;
  81. height: 400px;
  82. background-size: cover;
  83. background-position: center;
  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.8rem;
  102. line-height: 26px;
  103. color: var(--on-primary-color);
  104. margin-bottom: 3rem;
  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. line-height: 1.5rem;
  117. color: var(--on-primary-color);
  118. }
  119. }
  120. </style>