Solution.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <!--
  2. Section "Solutions" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer>
  6. <LayoutUISectionTitle class="alt-theme">
  7. 3 solutions
  8. </LayoutUISectionTitle>
  9. <h4 class="text-center" >
  10. Trouvez la solution faites pour vous
  11. </h4>
  12. <v-row class="solutions center-90">
  13. <v-col
  14. v-for="(solution, index) in solutions"
  15. :key="index"
  16. cols="4"
  17. >
  18. <v-container>
  19. <div class="d-flex justify-center align-left flex-column">
  20. <small>
  21. Opentalent
  22. </small>
  23. <h2>
  24. {{ solution.name }}
  25. </h2>
  26. <v-divider thickness="2"/>
  27. <p>
  28. {{ solution.description }}
  29. </p>
  30. <nuxt-link :to="solution.link">
  31. <v-row>
  32. <div :class="['image-container', solution.class]" >
  33. <v-img :src="solution.image" />
  34. <v-btn>Découvrir</v-btn>
  35. </div>
  36. </v-row>
  37. </nuxt-link>
  38. <v-row>
  39. <div class="details">
  40. <v-col cols="6">
  41. <ul>
  42. <li
  43. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  44. :key="i"
  45. >
  46. {{ sol }}
  47. </li>
  48. </ul>
  49. </v-col>
  50. <v-col cols="6">
  51. <ul>
  52. <li
  53. v-for="(sol, i) in solution.solutions.slice(4)"
  54. :key="i"
  55. >
  56. {{ sol }}
  57. </li>
  58. </ul>
  59. </v-col>
  60. </div>
  61. </v-row>
  62. </div>
  63. </v-container>
  64. </v-col>
  65. </v-row>
  66. <v-container class="footer">
  67. <v-row >
  68. <v-col cols="12">
  69. <p>* en option</p>
  70. </v-col>
  71. </v-row>
  72. </v-container>
  73. </LayoutContainer>
  74. </template>
  75. <script setup lang="ts">
  76. import type { SolutionItem } from "~/types/interface";
  77. const solutions: Array<SolutionItem> = [
  78. {
  79. name: "Artist",
  80. description: "Orchestres, chorales, compagnies de danse, théâtre et cirque",
  81. image: "/images/logo/logiciels/Artist-Blanc.png",
  82. link: "/opentalent_artist",
  83. class: "artist-image",
  84. solutions: [
  85. "Gestion des membres",
  86. "Agenda de la structure",
  87. "Matériel & médiathèque",
  88. "Export de données",
  89. "Communication",
  90. "Statistiques",
  91. "Site internet intégré",
  92. "Partage de données en réseau",
  93. ],
  94. },
  95. {
  96. name: "School",
  97. description: "Petits et grands établissements d'enseignement artistique",
  98. image: "/images/logo/logiciels/School-Blanc.png",
  99. link: "/opentalent_school",
  100. class: "school-image",
  101. solutions: [
  102. "Gestion des membres",
  103. "Préinscription en ligne*",
  104. "Agenda de la structure",
  105. "Suivi pédagogique",
  106. "Gestion administrative et financière",
  107. "Communication",
  108. "Site internet intégré",
  109. "Statistiques",
  110. ]
  111. },
  112. {
  113. name: "Manager",
  114. description: "Fédérations, confédérations et collectivités",
  115. image: "/images/logo/logiciels/Manager-Blanc.png",
  116. link: "/opentalent_manager",
  117. class: "manager-image",
  118. solutions: [
  119. "Gestion des membres",
  120. "Agenda du réseau",
  121. "Matériel & médiathèque",
  122. "Gestion administrative",
  123. "Statistiques du réseau",
  124. "Cotisations",
  125. "Site internet intégré",
  126. "Communication",
  127. ],
  128. },
  129. ];
  130. </script>
  131. <style scoped lang="scss">
  132. .container {
  133. background: var(--primary-color);
  134. margin-bottom: 15rem;
  135. height: 36rem;
  136. position: relative;
  137. }
  138. h4 {
  139. margin-top: 0.5rem;
  140. font-size: 2.8rem;
  141. line-height: 42px;
  142. text-align: center;
  143. color: var(--on-primary-color);
  144. width: 100%;
  145. }
  146. @media (min-width: 600px) {
  147. h3 {
  148. margin-bottom: 3rem
  149. }
  150. }
  151. .v-row.solutions {
  152. small {
  153. font-weight: 600;
  154. font-size: 10px;
  155. line-height: 15px;
  156. letter-spacing: 0.18em;
  157. text-transform: uppercase;
  158. color: var(--on-primary-color);
  159. }
  160. h2 {
  161. font-weight: 400;
  162. font-size: 30px;
  163. line-height: 2rem;
  164. color: var(--on-primary-color-alt);
  165. margin-bottom: 1rem;
  166. }
  167. .v-divider {
  168. color: var(--on-primary-color-alt);
  169. width: 20rem;
  170. opacity: 0.7;
  171. }
  172. p {
  173. font-size: 1.3rem;
  174. line-height: 1.5rem;
  175. margin-top: 1rem;
  176. color: var(--on-primary-color);
  177. font-style: normal;
  178. width: 20rem;
  179. }
  180. .image-container {
  181. position: relative;
  182. background-size: cover;
  183. background-position: center;
  184. border-radius: 0 0 10px 10px;
  185. width: 350px;
  186. height: 300px;
  187. margin-top: 2rem;
  188. margin-left: 0.9rem;
  189. margin-bottom: 1rem;
  190. .v-img {
  191. position: absolute;
  192. bottom: 0;
  193. right: 0;
  194. width: 200px;
  195. }
  196. }
  197. .image-container::before {
  198. content: "";
  199. position: absolute;
  200. top: 0;
  201. left: 0;
  202. right: 0;
  203. bottom: 0;
  204. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  205. border-radius: 0 0 10px 10px;
  206. opacity: 0;
  207. transition: opacity 0.3s;
  208. }
  209. .v-btn {
  210. position: absolute;
  211. z-index: 100;
  212. bottom: 40%;
  213. left: 50%;
  214. transform: translateX(-50%);
  215. display: none;
  216. font-size: 0.8rem;
  217. border-radius: 6px;
  218. background: var(--secondary-color);
  219. color: var(--on-primary-color);
  220. }
  221. .image-container:hover .v-btn {
  222. display: block;
  223. }
  224. .artist-image {
  225. background-image: url(/images/solutions/artist.jpg);
  226. }
  227. .artist-image:hover::before {
  228. opacity: 1;
  229. cursor: pointer;
  230. }
  231. .school-image {
  232. background-image: url(/images/solutions/school.jpg);
  233. }
  234. .school-image:hover::before {
  235. opacity: 1;
  236. cursor: pointer;
  237. }
  238. .manager-image {
  239. background-image: url(/images/solutions/manager.png);
  240. }
  241. .manager-image:hover::before {
  242. opacity: 1;
  243. cursor: pointer;
  244. }
  245. .details {
  246. display: flex;
  247. justify-content: center;
  248. align-items: center;
  249. ul {
  250. margin-top: 0.9rem;
  251. font-size: 16px;
  252. }
  253. li {
  254. font-size: 16px;
  255. width: 10rem;
  256. margin-left: 1rem;
  257. line-height: 18px;
  258. color: var(--primary-color);
  259. }
  260. }
  261. }
  262. .footer {
  263. p {
  264. text-align: right;
  265. font-size: 12px;
  266. }
  267. }
  268. </style>