Formations.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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="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. class="background-img"
  20. />
  21. </div>
  22. <div>
  23. <h4>
  24. {{ formation.sessions }}
  25. </h4>
  26. <h3>
  27. {{ formation.title }}
  28. </h3>
  29. <p class="details mb-5">
  30. {{ formation.description }}
  31. </p>
  32. <v-btn :to="formation.link">
  33. {{ formation.buttonText }}
  34. </v-btn>
  35. </div>
  36. </v-col>
  37. </v-row>
  38. </div>
  39. </LayoutContainer>
  40. </AnchoredSection>
  41. </template>
  42. <script setup lang="ts">
  43. import AnchoredSection from "~/components/Layout/AnchoredSection.vue";
  44. import type { Formation } from "~/types/interface";
  45. const formations: Array<Formation> = [
  46. {
  47. image: "/images/logiciels/school/formation.png",
  48. overlayClass: "image-overlay1",
  49. sessions: "3 formations disponibles",
  50. title: "Des formations adaptées à chacun - en ligne",
  51. description:
  52. "Parce qu’on sait qu’appréhender un nouvel outil peut-être fastidieux et que vous n’avez pas de temps à perdre,...",
  53. buttonText: "Découvrir toutes nos formations",
  54. link: "/formations",
  55. },
  56. {
  57. image: "/images/logiciels/school/webinaire.png",
  58. overlayClass: "image-overlay2",
  59. sessions: "Toutes nos sessions",
  60. title: "Trouvez le webinaire qu'il vous faut ",
  61. description:
  62. "Des explications précises sur certains modules du logiciel Opentalent School, 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. :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.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>