Solution.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. <template>
  2. <LayoutContainer :overflow="false">
  3. <div class="d-flex justify-center align-center flex-column">
  4. <v-icon
  5. size="8"
  6. class="fa-solid fa-circle icon-title"
  7. />
  8. <p class="text-center solution-subtitle">
  9. 3 solutions
  10. </p>
  11. </div>
  12. <h3
  13. class="text-center title"
  14. :style="smAndDown ? '' : 'margin-bottom: 3rem'"
  15. >
  16. Trouvez la solution <br>
  17. faite pour vous
  18. </h3>
  19. <v-row v-if="!smAndDown">
  20. <v-col
  21. v-for="(solution, index) in solutions"
  22. :key="index"
  23. cols="4"
  24. class="col-info"
  25. >
  26. <div class="opentalent-container">
  27. <small class="opentalent-small">Opentalent</small>
  28. <h2 class="logiciel-name">
  29. {{ solution.name }}
  30. </h2>
  31. <hr class="bar">
  32. <p class="description-logiciel">
  33. {{ solution.description }}
  34. </p>
  35. <nuxt-link :to="solution.link">
  36. <v-row>
  37. <div :class="solution.class">
  38. <v-img
  39. :src="solution.image"
  40. class="logo"
  41. />
  42. </div>
  43. </v-row>
  44. </nuxt-link>
  45. <v-row>
  46. <v-col cols="6">
  47. <ul class="list-solutions">
  48. <li
  49. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  50. :key="'sol-' + i"
  51. class="details-solution"
  52. >
  53. {{ sol }}
  54. </li>
  55. </ul>
  56. </v-col>
  57. <v-col cols="6">
  58. <ul class="list-solutions">
  59. <li
  60. v-for="(sol, i) in solution.solutions.slice(4)"
  61. :key="'sol-' + i"
  62. class="details-solution"
  63. >
  64. {{ sol }}
  65. </li>
  66. </ul>
  67. </v-col>
  68. </v-row>
  69. </div>
  70. </v-col>
  71. </v-row>
  72. <div v-if="smAndDown">
  73. <div class="d-flex justify-center align-center">
  74. <div
  75. class="carousel-button"
  76. @click="goPrevious"
  77. >
  78. <i class="fas fa-chevron-left" />
  79. </div>
  80. <div
  81. class="carousel-button ml-6"
  82. @click="goNext"
  83. >
  84. <i class="fas fa-chevron-right" />
  85. </div>
  86. </div>
  87. <Carousel
  88. ref="carousel"
  89. :items-to-show="1.5"
  90. :items-to-scroll="1"
  91. >
  92. <Slide
  93. v-for="(solution, index) in solutions"
  94. :key="index"
  95. >
  96. <v-col
  97. cols="12"
  98. class="col-info-sm"
  99. >
  100. <div class="opentalent-container">
  101. <small class="opentalent-small-sm">Opentalent</small>
  102. <h2 class="logiciel-name-sm">
  103. {{ solution.name }}
  104. </h2>
  105. <hr class="bar-sm">
  106. <p class="description-logiciel-sm">
  107. {{ solution.description }}
  108. </p>
  109. <nuxt-link :to="solution.link">
  110. <v-row>
  111. <div :class="solution.class">
  112. <v-img
  113. :src="solution.image"
  114. class="logo-sm"
  115. />
  116. </div>
  117. </v-row>
  118. </nuxt-link>
  119. <v-row>
  120. <v-col cols="6">
  121. <ul class="list-solutions-sm">
  122. <li
  123. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  124. :key="'sol-' + i"
  125. class="details-solution-sm"
  126. >
  127. {{ sol }}
  128. </li>
  129. </ul>
  130. </v-col>
  131. <v-col
  132. cols="6"
  133. class="solution-column"
  134. >
  135. <ul class="list-solutions-sm">
  136. <li
  137. v-for="(sol, i) in solution.solutions.slice(4)"
  138. :key="'sol-' + i"
  139. class="details-solution-sm"
  140. >
  141. {{ sol }}
  142. </li>
  143. </ul>
  144. </v-col>
  145. </v-row>
  146. </div>
  147. </v-col>
  148. </Slide>
  149. </Carousel>
  150. </div>
  151. </LayoutContainer>
  152. </template>
  153. <script setup>
  154. import { ref, onMounted } from "vue";
  155. import { Carousel, Slide } from "vue3-carousel";
  156. import "vue3-carousel/dist/carousel.css";
  157. // import { useDisplay } from "vuetify";
  158. // const { smAndDown } = useDisplay();
  159. // const carousel = ref(null);
  160. // const goPrevious = () => {
  161. // carousel.value.prev();
  162. // };
  163. // const goNext = () => {
  164. // carousel.value.next();
  165. // };
  166. // const solutions = [
  167. // {
  168. // name: "Artist",
  169. // description: "Orchestres, chorales, compagnies de danse, théâtre et cirque",
  170. // image: "/images/OpenTalent_LogoNoir_Jaune_white.png",
  171. // link: "/logiciels/artist",
  172. // class: "artist-image",
  173. // solutions: [
  174. // "Gestion des membres",
  175. // "Agenda de la structure",
  176. // "Matériel & médiathèque",
  177. // "Export de données",
  178. // "Communication",
  179. // "Statistiques",
  180. // "Site internet intégré",
  181. // "Partage de données en réseau",
  182. // ],
  183. // },
  184. // {
  185. // name: "School",
  186. // description: "Petits et grands établissements d'enseignement artistique",
  187. // image: "/images/logo_school_white.png",
  188. // link: "/logiciels/school",
  189. // class: "school-image",
  190. // solutions: [
  191. // "Gestion des membres",
  192. // "Préinscription en ligne*",
  193. // "Agenda de la structure",
  194. // "Suivi pédagogique",
  195. // "Gestion administrative et financière",
  196. // "Communication",
  197. // "Site internet intégré",
  198. // "Statistiques",
  199. // ],
  200. // },
  201. // {
  202. // name: "Manager",
  203. // description: "Fédérations, confédérations et collectivités",
  204. // image: "/images/OpenTalent_LogoNoir_rouge_manager_white.png",
  205. // link: "/logiciels/manager",
  206. // class: "manager-image",
  207. // solutions: [
  208. // "Gestion des personnes",
  209. // "Agenda",
  210. // "Suivi pédagogique",
  211. // "Règlements",
  212. // "Communication",
  213. // "Site internet intégré",
  214. // "Statistiques du réseau",
  215. // ],
  216. // },
  217. // ];
  218. // onMounted(() => {
  219. // setTimeout(() => goNext(), 0);
  220. // });
  221. </script>
  222. <style scoped>
  223. .solution-subtitle,
  224. .title {
  225. font-family: "Barlow";
  226. font-style: normal;
  227. }
  228. .solution-subtitle {
  229. font-size: 1rem;
  230. line-height: 1rem;
  231. margin-top: 1rem;
  232. color: #c1eff0;
  233. text-align: center;
  234. font-family: "Barlow";
  235. letter-spacing: 2.16px;
  236. text-transform: uppercase;
  237. }
  238. .title {
  239. margin-top: .5rem;
  240. font-size: 2.5rem;
  241. line-height: 42px;
  242. text-align: center;
  243. color: #ffffff;
  244. }
  245. .carousel-button {
  246. display: flex;
  247. justify-content: center;
  248. align-items: center;
  249. width: 40px;
  250. height: 40px;
  251. background-color: transparent;
  252. border: 2px solid #fff;
  253. cursor: pointer;
  254. margin-right: 1rem;
  255. margin-top: 4rem;
  256. }
  257. .carousel-button i {
  258. color: #000000;
  259. }
  260. .solution-column {
  261. margin-left: -0.5rem;
  262. }
  263. .logo-sm {
  264. width: 8rem;
  265. height: 4rem;
  266. margin-top: 13rem;
  267. margin-left: 0.5rem;
  268. }
  269. .logo {
  270. width: 8rem;
  271. height: 4rem;
  272. margin-top: 15rem;
  273. }
  274. .artist-image-sm {
  275. position: relative;
  276. background: url(/images/solutions/artist.jpg);
  277. background-size: cover;
  278. background-position: center;
  279. border-radius: 0px 0px 10px 10px;
  280. width: 19rem;
  281. height: 20rem;
  282. margin-top: 4rem;
  283. margin-left: 1rem;
  284. }
  285. .artist-image::before {
  286. content: "";
  287. position: absolute;
  288. top: 0;
  289. left: 0;
  290. right: 0;
  291. bottom: 0;
  292. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  293. border-radius: 0px 0px 10px 10px;
  294. opacity: 0;
  295. transition: opacity 0.3s;
  296. }
  297. .artist-image:hover::before {
  298. opacity: 1;
  299. cursor: pointer;
  300. }
  301. .manager-image-sm {
  302. position: relative;
  303. background: url(/images/solutions/manager.png);
  304. background-size: cover;
  305. background-position: center;
  306. border-radius: 0px 0px 10px 10px;
  307. width: 19rem;
  308. height: 20rem;
  309. margin-top: 4rem;
  310. margin-left: 1rem;
  311. }
  312. .manager-image::before {
  313. content: "";
  314. position: absolute;
  315. top: 0;
  316. left: 0;
  317. right: 0;
  318. bottom: 0;
  319. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  320. border-radius: 0px 0px 10px 10px;
  321. opacity: 0;
  322. transition: opacity 0.3s;
  323. }
  324. .carousel-button {
  325. display: flex;
  326. justify-content: center;
  327. align-items: center;
  328. width: 4rem;
  329. height: 4rem;
  330. background-color: transparent;
  331. border: 2px solid #fff;
  332. cursor: pointer;
  333. margin-right: 1rem;
  334. margin-top: 2rem;
  335. }
  336. .carousel-button i {
  337. color: #fff;
  338. }
  339. .manager-image:hover::before {
  340. opacity: 1;
  341. cursor: pointer;
  342. }
  343. .school-image-sm {
  344. position: relative;
  345. background: url(/images/solutions/school.jpg);
  346. background-size: cover;
  347. background-position: center;
  348. border-radius: 0px 0px 10px 10px;
  349. width: 19rem;
  350. height: 20rem;
  351. margin-top: 4rem;
  352. margin-left: 1rem;
  353. }
  354. .school-image::before {
  355. content: "";
  356. position: absolute;
  357. top: 0;
  358. left: 0;
  359. right: 0;
  360. bottom: 0;
  361. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  362. border-radius: 0px 0px 10px 10px;
  363. opacity: 0;
  364. transition: opacity 0.3s;
  365. }
  366. .school-image:hover::before {
  367. opacity: 1;
  368. cursor: pointer;
  369. }
  370. .solution-img {
  371. width: 15rem;
  372. height: 15rem;
  373. object-fit: cover;
  374. margin-top: 2rem;
  375. }
  376. .description-logiciel {
  377. font-family: "Barlow";
  378. font-style: normal;
  379. font-size: 0.9rem;
  380. line-height: 0.9rem;
  381. margin-top: 1rem;
  382. color: #eff9fb;
  383. width: 20rem;
  384. }
  385. .description-logiciel-sm {
  386. font-family: "Barlow";
  387. font-style: normal;
  388. font-size: 1.2rem;
  389. color: #eff9fb;
  390. line-height: 1.3rem;
  391. margin-top: 1rem;
  392. width: 20rem;
  393. margin-right: auto;
  394. text-align: left;
  395. }
  396. .logiciel-name-sm {
  397. font-family: "Barlow";
  398. font-style: normal;
  399. font-weight: 400;
  400. font-size: 30px;
  401. line-height: 2rem;
  402. color: #c3e5e7;
  403. margin-bottom: 1rem;
  404. margin-right: auto;
  405. text-align: left;
  406. }
  407. .opentalent-small-sm {
  408. margin-right: auto;
  409. text-align: left;
  410. color: #fff;
  411. }
  412. .opentalent-container {
  413. text-align: left;
  414. margin-left: 1rem;
  415. }
  416. .icon-title {
  417. margin-top: 1rem;
  418. color: #ffffff;
  419. }
  420. .list-solutions {
  421. margin-top: 0.9rem;
  422. }
  423. .details-solution {
  424. font-size: 1.3rem;
  425. margin-bottom: 0.9rem;
  426. width: 10rem;
  427. margin-left: 1rem;
  428. font-family: "Barlow";
  429. font-style: normal;
  430. line-height: 18px;
  431. color: #091d20;
  432. }
  433. .details-solution-sm {
  434. margin-top: 0.9rem;
  435. width: 9rem;
  436. margin-left: 1rem;
  437. font-family: "Barlow";
  438. font-style: normal;
  439. line-height: 18px;
  440. color: #091d20;
  441. }
  442. .list-solutions {
  443. margin-top: 0.9rem;
  444. font-size: 0.5rem;
  445. }
  446. .list-solutions-sm {
  447. margin-top: 1rem;
  448. font-size: 1.3rem;
  449. }
  450. .bar {
  451. color: #c3e5e7;
  452. width: 20rem;
  453. }
  454. .bar-sm {
  455. color: #c3e5e7;
  456. width: 20rem;
  457. }
  458. .artist-image {
  459. position: relative;
  460. background: url(/images/solutions/artist.jpg);
  461. background-size: cover;
  462. background-position: center;
  463. border-radius: 0px 0px 10px 10px;
  464. width: 21rem;
  465. height: 20rem;
  466. margin-top: 2rem;
  467. margin-left: 0.9rem;
  468. }
  469. .artist-image::before {
  470. content: "";
  471. position: absolute;
  472. top: 0;
  473. left: 0;
  474. right: 0;
  475. bottom: 0;
  476. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  477. border-radius: 0px 0px 10px 10px;
  478. opacity: 0;
  479. transition: opacity 0.3s;
  480. }
  481. .artist-image:hover::before {
  482. opacity: 1;
  483. cursor: pointer;
  484. }
  485. .manager-image {
  486. position: relative;
  487. background: url(/images/solutions/manager.png);
  488. background-size: cover;
  489. background-position: center;
  490. border-radius: 0px 0px 10px 10px;
  491. width: 21rem;
  492. height: 20rem;
  493. margin-top: 2rem;
  494. margin-left: 0.9rem;
  495. }
  496. .manager-image::before {
  497. content: "";
  498. position: absolute;
  499. top: 0;
  500. left: 0;
  501. right: 0;
  502. bottom: 0;
  503. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  504. border-radius: 0px 0px 10px 10px;
  505. opacity: 0;
  506. transition: opacity 0.3s;
  507. }
  508. .manager-image:hover::before {
  509. opacity: 1;
  510. cursor: pointer;
  511. }
  512. .school-image {
  513. position: relative;
  514. background: url(/images/solutions/school.jpg);
  515. background-size: cover;
  516. background-position: center;
  517. border-radius: 0px 0px 10px 10px;
  518. width: 21rem;
  519. height: 20rem;
  520. margin-top: 2rem;
  521. margin-left: 0.9rem;
  522. }
  523. .school-image::before {
  524. content: "";
  525. position: absolute;
  526. top: 0;
  527. left: 0;
  528. right: 0;
  529. bottom: 0;
  530. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  531. border-radius: 0px 0px 10px 10px;
  532. opacity: 0;
  533. transition: opacity 0.3s;
  534. }
  535. .school-image:hover::before {
  536. opacity: 1;
  537. cursor: pointer;
  538. }
  539. .col-info-sm {
  540. width: 20rem;
  541. margin-left: auto;
  542. margin-right: auto;
  543. }
  544. .solution-img {
  545. width: 15rem;
  546. height: 15rem;
  547. object-fit: cover;
  548. margin-top: 2rem;
  549. }
  550. .description-logiciel {
  551. font-family: "Barlow";
  552. font-style: normal;
  553. font-size: 1.3rem;
  554. line-height: 1.5rem;
  555. margin-top: 1rem;
  556. color: #eff9fb;
  557. }
  558. .logiciel-name {
  559. font-family: "Barlow";
  560. font-style: normal;
  561. font-weight: 400;
  562. font-size: 30px;
  563. line-height: 2rem;
  564. color: #c3e5e7;
  565. margin-bottom: 1rem;
  566. }
  567. .opentalent-small {
  568. font-family: "Barlow";
  569. font-style: normal;
  570. font-weight: 600;
  571. font-size: 10px;
  572. line-height: 15px;
  573. letter-spacing: 0.18em;
  574. text-transform: uppercase;
  575. color: #ffffff;
  576. }
  577. .container {
  578. background: #0e2d32;
  579. margin-bottom: 29rem;
  580. height: 35rem;
  581. position: relative;
  582. }
  583. </style>