Solution.vue 12 KB

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