Formation.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <AnchoredSection id="webinars">
  3. <LayoutContainer>
  4. <div class="alt-theme pt-6 mt-12">
  5. <v-row>
  6. <LayoutUISubTitle class="center-90">
  7. Nos accompagnements pour aller plus loin
  8. </LayoutUISubTitle>
  9. </v-row>
  10. <v-row class="formation pb-6 align-center center-90">
  11. <v-col v-for="(formation, index) in formations" :key="index" md="6">
  12. <div class="mb-6">
  13. <v-img
  14. :src="formation.image"
  15. :alt="formation.alt"
  16. class="background-img"
  17. />
  18. </div>
  19. <div>
  20. <h3>
  21. {{ formation.sessions }}
  22. </h3>
  23. <h4>
  24. {{ formation.title }}
  25. </h4>
  26. <p class="details mb-5">
  27. {{ formation.description }}
  28. </p>
  29. <v-btn :to="formation.link">
  30. {{ formation.buttonText }}
  31. </v-btn>
  32. </div>
  33. </v-col>
  34. </v-row>
  35. </div>
  36. </LayoutContainer>
  37. </AnchoredSection>
  38. </template>
  39. <script setup lang="ts">
  40. import AnchoredSection from '~/components/Layout/AnchoredSection.vue'
  41. import type { Formation } from '~/types/interface.js'
  42. const formations: Array<Formation> = [
  43. {
  44. image:
  45. '/images/components/formations/Formations_en_ligne_et_presentiel.jpg',
  46. alt: 'Formateur dans une salle avec 5 personnes levant la main',
  47. overlayClass: 'image-overlay1',
  48. sessions: 'Formation sur-mesure',
  49. title: ' Des formations adaptées à votre projet - en ligne',
  50. description:
  51. "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.",
  52. buttonText: 'Formation sur-mesure',
  53. link: '/nous-contacter',
  54. },
  55. {
  56. image: '/images/components/formations/Webinaires_visioconferences.jpg',
  57. alt: 'Femme sur son bureau avec devant deux écrans d’ordinateur de bureau en visioconférence devant 12 personnes',
  58. overlayClass: 'image-overlay2',
  59. sessions: 'Webinaire CMF Réseau',
  60. title: "Trouvez le webinaire qu'il vous faut ",
  61. description:
  62. "Des explications précises sur certains modules du logiciel Opentalent Manager, c'est possible pour aller encore plus loin... ",
  63. buttonText: 'Découvrir nos webinaires ',
  64. link: '/webinaires',
  65. },
  66. ]
  67. </script>
  68. <style scoped>
  69. .v-row {
  70. max-width: 1600px;
  71. margin: 0 auto;
  72. }
  73. @media (min-width: 600px) {
  74. :deep(h2) {
  75. width: 60rem;
  76. }
  77. }
  78. .background-img {
  79. width: 600px;
  80. height: 400px;
  81. background-size: cover;
  82. background-position: center;
  83. @media (max-width: 600px) {
  84. height: auto;
  85. }
  86. }
  87. .formation {
  88. .v-btn {
  89. width: 26rem;
  90. height: 44px;
  91. font-weight: 500;
  92. font-size: 18px;
  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: #caf5f4 !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. max-width: 650px;
  119. line-height: 1.5rem;
  120. color: var(--on-primary-color);
  121. }
  122. }
  123. </style>