Solution.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  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: "Orchestre, chorales, compagnies de danse, théâtre et cirque",
  170. image: "/images/OpenTalent_LogoNoir_Jaune_white.png",
  171. class: "artist-image",
  172. solutions: [
  173. "Gestion des membres",
  174. "Agenda",
  175. "Matériel & médiathèque",
  176. "Export de données",
  177. "Communication",
  178. "Statistiques",
  179. "Site internet",
  180. "Partage de données en réseau",
  181. ],
  182. },
  183. {
  184. name: "School",
  185. description: "Petits et grands établissements d'enseignement artistique",
  186. image: "/images/logo_school_white.png",
  187. link: "/logiciels/school",
  188. class: "school-image",
  189. solutions: [
  190. "Gestion des personnes",
  191. "Préinscription en ligne*",
  192. "Agenda",
  193. "Suivi pédagogique",
  194. "Règlements",
  195. "Communication",
  196. "Site internet",
  197. "Statistiques",
  198. ],
  199. },
  200. {
  201. name: "Manager",
  202. description: "Fédérations, confédérations et collectivités",
  203. image: "/images/OpenTalent_LogoNoir_rouge_manager_white.png",
  204. link: "/logiciels/manager",
  205. class: "manager-image",
  206. solutions: [
  207. "Gestion des personnes",
  208. "Agenda",
  209. "Suivi pédagogique",
  210. "Règlements",
  211. "Communication",
  212. "Site internet",
  213. "Statistiques",
  214. ],
  215. },
  216. ];
  217. onMounted(() => {
  218. setTimeout(() => goNext(), 0);
  219. });
  220. </script>
  221. <style scoped>
  222. .solution-subtitle,
  223. .title {
  224. font-family: "Barlow";
  225. font-style: normal;
  226. }
  227. .solution-subtitle {
  228. font-size: 1.5rem;
  229. line-height: 1rem;
  230. margin-top: 1rem;
  231. margin-bottom: 2rem;
  232. color: #c1eff0;
  233. text-align: center;
  234. font-family: "Barlow";
  235. letter-spacing: 2.16px;
  236. text-transform: uppercase;
  237. }
  238. .title {
  239. font-size: 2rem;
  240. line-height: 42px;
  241. text-align: center;
  242. color: #ffffff;
  243. }
  244. .carousel-button {
  245. display: flex;
  246. justify-content: center;
  247. align-items: center;
  248. width: 40px;
  249. height: 40px;
  250. background-color: transparent;
  251. border: 2px solid #fff;
  252. cursor: pointer;
  253. margin-right: 1rem;
  254. margin-top: 4rem;
  255. }
  256. .carousel-button i {
  257. color: #000000;
  258. }
  259. .solution-column {
  260. margin-left: -0.5rem;
  261. }
  262. .logo-sm {
  263. width: 8rem;
  264. height: 4rem;
  265. margin-top: 13rem;
  266. margin-left: 0.5rem;
  267. }
  268. .logo {
  269. width: 8rem;
  270. height: 4rem;
  271. margin-top: 15rem;
  272. }
  273. .artist-image-sm {
  274. position: relative;
  275. background: url(/images/solutions/artist.jpg);
  276. background-size: cover;
  277. background-position: center;
  278. border-radius: 0px 0px 10px 10px;
  279. width: 19rem;
  280. height: 20rem;
  281. margin-top: 4rem;
  282. margin-left: 1rem;
  283. }
  284. .artist-image::before {
  285. content: "";
  286. position: absolute;
  287. top: 0;
  288. left: 0;
  289. right: 0;
  290. bottom: 0;
  291. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  292. border-radius: 0px 0px 10px 10px;
  293. opacity: 0;
  294. transition: opacity 0.3s;
  295. }
  296. .artist-image:hover::before {
  297. opacity: 1;
  298. cursor: pointer;
  299. }
  300. .manager-image-sm {
  301. position: relative;
  302. background: url(/images/solutions/manager.png);
  303. background-size: cover;
  304. background-position: center;
  305. border-radius: 0px 0px 10px 10px;
  306. width: 19rem;
  307. height: 20rem;
  308. margin-top: 4rem;
  309. margin-left: 1rem;
  310. }
  311. .manager-image::before {
  312. content: "";
  313. position: absolute;
  314. top: 0;
  315. left: 0;
  316. right: 0;
  317. bottom: 0;
  318. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  319. border-radius: 0px 0px 10px 10px;
  320. opacity: 0;
  321. transition: opacity 0.3s;
  322. }
  323. .carousel-button {
  324. display: flex;
  325. justify-content: center;
  326. align-items: center;
  327. width: 4rem;
  328. height: 4rem;
  329. background-color: transparent;
  330. border: 2px solid #fff;
  331. cursor: pointer;
  332. margin-right: 1rem;
  333. margin-top: 2rem;
  334. }
  335. .carousel-button i {
  336. color: #fff;
  337. }
  338. .manager-image:hover::before {
  339. opacity: 1;
  340. cursor: pointer;
  341. }
  342. .school-image-sm {
  343. position: relative;
  344. background: url(/images/solutions/school.jpg);
  345. background-size: cover;
  346. background-position: center;
  347. border-radius: 0px 0px 10px 10px;
  348. width: 19rem;
  349. height: 20rem;
  350. margin-top: 4rem;
  351. margin-left: 1rem;
  352. }
  353. .school-image::before {
  354. content: "";
  355. position: absolute;
  356. top: 0;
  357. left: 0;
  358. right: 0;
  359. bottom: 0;
  360. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  361. border-radius: 0px 0px 10px 10px;
  362. opacity: 0;
  363. transition: opacity 0.3s;
  364. }
  365. .school-image:hover::before {
  366. opacity: 1;
  367. cursor: pointer;
  368. }
  369. .solution-img {
  370. width: 15rem;
  371. height: 15rem;
  372. object-fit: cover;
  373. margin-top: 2rem;
  374. }
  375. .description-logiciel {
  376. font-family: "Barlow";
  377. font-style: normal;
  378. font-size: 0.9rem;
  379. line-height: 0.9rem;
  380. margin-top: 1rem;
  381. color: #eff9fb;
  382. width: 20rem;
  383. }
  384. .description-logiciel-sm {
  385. font-family: "Barlow";
  386. font-style: normal;
  387. font-size: 1.2rem;
  388. color: #eff9fb;
  389. line-height: 1.3rem;
  390. margin-top: 1rem;
  391. width: 20rem;
  392. margin-right: auto;
  393. text-align: left;
  394. }
  395. .logiciel-name-sm {
  396. font-family: "Barlow";
  397. font-style: normal;
  398. font-weight: 400;
  399. font-size: 30px;
  400. line-height: 2rem;
  401. color: #c3e5e7;
  402. margin-bottom: 1rem;
  403. margin-right: auto;
  404. text-align: left;
  405. }
  406. .opentalent-small-sm {
  407. margin-right: auto;
  408. text-align: left;
  409. color: #fff;
  410. }
  411. .opentalent-container {
  412. text-align: left;
  413. margin-left: 1rem;
  414. }
  415. .icon-title {
  416. margin-top: 1rem;
  417. color: #ffffff;
  418. }
  419. .list-solutions {
  420. margin-top: 0.9rem;
  421. }
  422. .details-solution {
  423. font-size: 1.3rem;
  424. margin-bottom: 0.9rem;
  425. width: 10rem;
  426. margin-left: 1rem;
  427. font-family: "Barlow";
  428. font-style: normal;
  429. line-height: 18px;
  430. color: #091d20;
  431. }
  432. .details-solution-sm {
  433. margin-top: 0.9rem;
  434. width: 9rem;
  435. margin-left: 1rem;
  436. font-family: "Barlow";
  437. font-style: normal;
  438. line-height: 18px;
  439. color: #091d20;
  440. }
  441. .list-solutions {
  442. margin-top: 0.9rem;
  443. font-size: 0.5rem;
  444. }
  445. .list-solutions-sm {
  446. margin-top: 1rem;
  447. font-size: 1.3rem;
  448. }
  449. .bar {
  450. color: #c3e5e7;
  451. width: 20rem;
  452. }
  453. .bar-sm {
  454. color: #c3e5e7;
  455. width: 20rem;
  456. }
  457. .artist-image {
  458. position: relative;
  459. background: url(/images/solutions/artist.jpg);
  460. background-size: cover;
  461. background-position: center;
  462. border-radius: 0px 0px 10px 10px;
  463. width: 21rem;
  464. height: 20rem;
  465. margin-top: 2rem;
  466. margin-left: 0.9rem;
  467. }
  468. .artist-image::before {
  469. content: "";
  470. position: absolute;
  471. top: 0;
  472. left: 0;
  473. right: 0;
  474. bottom: 0;
  475. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  476. border-radius: 0px 0px 10px 10px;
  477. opacity: 0;
  478. transition: opacity 0.3s;
  479. }
  480. .artist-image:hover::before {
  481. opacity: 1;
  482. cursor: pointer;
  483. }
  484. .manager-image {
  485. position: relative;
  486. background: url(/images/solutions/manager.png);
  487. background-size: cover;
  488. background-position: center;
  489. border-radius: 0px 0px 10px 10px;
  490. width: 21rem;
  491. height: 20rem;
  492. margin-top: 2rem;
  493. margin-left: 0.9rem;
  494. }
  495. .manager-image::before {
  496. content: "";
  497. position: absolute;
  498. top: 0;
  499. left: 0;
  500. right: 0;
  501. bottom: 0;
  502. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  503. border-radius: 0px 0px 10px 10px;
  504. opacity: 0;
  505. transition: opacity 0.3s;
  506. }
  507. .manager-image:hover::before {
  508. opacity: 1;
  509. cursor: pointer;
  510. }
  511. .school-image {
  512. position: relative;
  513. background: url(/images/solutions/school.jpg);
  514. background-size: cover;
  515. background-position: center;
  516. border-radius: 0px 0px 10px 10px;
  517. width: 21rem;
  518. height: 20rem;
  519. margin-top: 2rem;
  520. margin-left: 0.9rem;
  521. }
  522. .school-image::before {
  523. content: "";
  524. position: absolute;
  525. top: 0;
  526. left: 0;
  527. right: 0;
  528. bottom: 0;
  529. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  530. border-radius: 0px 0px 10px 10px;
  531. opacity: 0;
  532. transition: opacity 0.3s;
  533. }
  534. .school-image:hover::before {
  535. opacity: 1;
  536. cursor: pointer;
  537. }
  538. .col-info-sm {
  539. width: 20rem;
  540. margin-left: auto;
  541. margin-right: auto;
  542. }
  543. .solution-img {
  544. width: 15rem;
  545. height: 15rem;
  546. object-fit: cover;
  547. margin-top: 2rem;
  548. }
  549. .description-logiciel {
  550. font-family: "Barlow";
  551. font-style: normal;
  552. font-size: 1.3rem;
  553. line-height: 1.5rem;
  554. margin-top: 1rem;
  555. color: #eff9fb;
  556. }
  557. .logiciel-name {
  558. font-family: "Barlow";
  559. font-style: normal;
  560. font-weight: 400;
  561. font-size: 30px;
  562. line-height: 2rem;
  563. color: #c3e5e7;
  564. margin-bottom: 1rem;
  565. }
  566. .opentalent-small {
  567. font-family: "Barlow";
  568. font-style: normal;
  569. font-weight: 600;
  570. font-size: 10px;
  571. line-height: 15px;
  572. letter-spacing: 0.18em;
  573. text-transform: uppercase;
  574. color: #ffffff;
  575. }
  576. .container {
  577. background: #0e2d32;
  578. margin-bottom: 29rem;
  579. height: 35rem;
  580. position: relative;
  581. }
  582. </style>