test.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <template>
  2. <div class="d-flex justify-center align-center flex-column">
  3. <v-icon size="8" class="fa-solid fa-circle icon-title"></v-icon>
  4. <p class="text-center solution-subtitle">3 solutions</p>
  5. </div>
  6. <h3 class="text-center title ">
  7. Trouvez la solution <br />
  8. faite pour vous
  9. </h3>
  10. <div v-if="smAndDown">
  11. <div class="d-flex justify-center align-center mb-6">
  12. <div class="carousel-button" @click="goPrevious">
  13. <i class="fas fa-chevron-left"></i>
  14. </div>
  15. <div class="carousel-button" @click="goNext">
  16. <i class="fas fa-chevron-right"></i>
  17. </div>
  18. </div>
  19. <Carousel
  20. :itemsToShow="1.1"
  21. :itemsToScroll="1"
  22. v-slot="{ carousel: _carousel }"
  23. ref="carousel"
  24. >
  25. <Slide
  26. v-for="(solution, index) in solutions"
  27. :key="index"
  28. >
  29. <v-col cols="12" class="col-info-sm">
  30. <div class="opentalent-container">
  31. <small class="opentalent-small-sm">Opentalent</small>
  32. <h2 class="logiciel-name-sm">{{ solution.name }}</h2>
  33. <hr class="bar-sm" />
  34. <p class="description-logiciel-sm">
  35. {{ solution.description }}
  36. </p>
  37. <nuxt-link :to="solution.link">
  38. <v-row>
  39. <div :class="solution.class">
  40. <v-img :src="solution.image" class="logo-sm"></v-img>
  41. </div>
  42. </v-row>
  43. </nuxt-link>
  44. <v-row>
  45. <v-col cols="6">
  46. <ul class="list-solutions-sm">
  47. <li
  48. class="details-solution-sm"
  49. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  50. :key="'sol-' + i"
  51. >
  52. {{ sol }}
  53. </li>
  54. </ul>
  55. </v-col>
  56. <v-col cols="6" class="solution-column">
  57. <ul class="list-solutions-sm" >
  58. <li
  59. class="details-solution-sm"
  60. v-for="(sol, i) in solution.solutions.slice(4)"
  61. :key="'sol-' + i"
  62. >
  63. {{ sol }}
  64. </li>
  65. </ul>
  66. </v-col>
  67. </v-row>
  68. </div>
  69. </v-col>
  70. </Slide>
  71. </Carousel>
  72. </div>
  73. </template>
  74. <script setup>
  75. import { Carousel, Slide } from "vue3-carousel";
  76. import "vue3-carousel/dist/carousel.css";
  77. import { useDisplay } from "vuetify";
  78. const { smAndDown } = useDisplay();
  79. const carousel = ref(null);
  80. const goPrevious = () => {
  81. carousel.value.prev();
  82. };
  83. const goNext = () => {
  84. carousel.value.next();
  85. };
  86. const solutions = [
  87. {
  88. name: "Artist",
  89. description: "Orchestre, chorales, compagnies de danse, théâtre et cirque",
  90. image: "/images/OpenTalent_LogoNoir_Jaune_white.png",
  91. class: "artist-image-sm",
  92. solutions: [
  93. "Gestion des membres",
  94. "Agenda",
  95. "Matériel & médiathèque",
  96. "Export de données",
  97. "Communication",
  98. "Statistiques",
  99. "Site internet",
  100. "Partage de données en réseau",
  101. ],
  102. },
  103. {
  104. name: "School",
  105. description: "Petits et grands établissements d'enseignement artistique",
  106. image: "/images/logo_school_white.png",
  107. link: "/logiciels/school",
  108. class: "school-image-sm",
  109. solutions: [
  110. "Gestion des personnes",
  111. "Préinscription en ligne*",
  112. "Agenda",
  113. "Suivi pédagogique",
  114. "Règlements",
  115. "Communication",
  116. "Site internet",
  117. "Statistiques",
  118. ],
  119. },
  120. {
  121. name: "Manager",
  122. description: "Fédérations, confédérations et collectivités",
  123. image: "/images/OpenTalent_LogoNoir_rouge_manager_white.png",
  124. link: "/logiciels/manager",
  125. class: "manager-image-sm",
  126. solutions: [
  127. "Gestion des personnes",
  128. "Agenda",
  129. "Suivi pédagogique",
  130. "Règlements",
  131. "Communication",
  132. "Site internet",
  133. "Statistiques",
  134. ],
  135. },
  136. ];
  137. </script>
  138. <style scoped>
  139. .carousel-button {
  140. display: flex;
  141. justify-content: center;
  142. align-items: center;
  143. width: 40px;
  144. height: 40px;
  145. background-color: transparent;
  146. border: 2px solid #000000;
  147. cursor: pointer;
  148. margin-right: 1rem;
  149. margin-top: 4rem;
  150. }
  151. .carousel-button i {
  152. color: #000000;
  153. }
  154. .solution-column {
  155. margin-left: -3rem;
  156. }
  157. .logo-sm {
  158. width: 8rem;
  159. height: 4rem;
  160. margin-top: 15rem;
  161. margin-left: .5rem;
  162. }
  163. .list-solutions {
  164. margin-top: 0.9rem;
  165. font-size: 0.5rem;
  166. }
  167. .list-solutions-sm {
  168. margin-top: 1rem;
  169. font-size: 1rem;
  170. }
  171. .details-solution-sm {
  172. font-size: .9rem;
  173. margin-top: .2rem;
  174. width: 9rem;
  175. margin-left: 1rem;
  176. font-family: "Barlow";
  177. font-style: normal;
  178. line-height: 18px;
  179. color: #091d20;
  180. }
  181. .bar-sm {
  182. color: #c3e5e7;
  183. width: 20rem;
  184. }
  185. .artist-image-sm {
  186. position: relative;
  187. background: url(/images/solutions/artist.jpg);
  188. background-size: cover;
  189. background-position: center;
  190. border-radius: 0px 0px 10px 10px;
  191. width: 19rem;
  192. height: 20rem;
  193. margin-top: 4rem;
  194. margin-left: 1rem;
  195. }
  196. .artist-image::before {
  197. content: "";
  198. position: absolute;
  199. top: 0;
  200. left: 0;
  201. right: 0;
  202. bottom: 0;
  203. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  204. border-radius: 0px 0px 10px 10px;
  205. opacity: 0;
  206. transition: opacity 0.3s;
  207. }
  208. .artist-image:hover::before {
  209. opacity: 1;
  210. cursor: pointer;
  211. }
  212. .manager-image-sm {
  213. position: relative;
  214. background: url(/images/solutions/manager.png);
  215. background-size: cover;
  216. background-position: center;
  217. border-radius: 0px 0px 10px 10px;
  218. width: 19rem;
  219. height: 20rem;
  220. margin-top: 4rem;
  221. margin-left: 1rem;
  222. }
  223. .manager-image::before {
  224. content: "";
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. right: 0;
  229. bottom: 0;
  230. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  231. border-radius: 0px 0px 10px 10px;
  232. opacity: 0;
  233. transition: opacity 0.3s;
  234. }
  235. .carousel-button {
  236. display: flex;
  237. justify-content: center;
  238. align-items: center;
  239. width: 40px;
  240. height: 40px;
  241. background-color: transparent;
  242. border: 2px solid #000000;
  243. cursor: pointer;
  244. margin-right: 1rem;
  245. margin-top: 4rem;
  246. }
  247. .carousel-button i {
  248. color: #000000;
  249. }
  250. .manager-image:hover::before {
  251. opacity: 1;
  252. cursor: pointer;
  253. }
  254. .school-image-sm {
  255. position: relative;
  256. background: url(/images/solutions/school.jpg);
  257. background-size: cover;
  258. background-position: center;
  259. border-radius: 0px 0px 10px 10px;
  260. width: 19rem;
  261. height: 20rem;
  262. margin-top: 4rem;
  263. margin-left: 1rem;
  264. }
  265. .school-image::before {
  266. content: "";
  267. position: absolute;
  268. top: 0;
  269. left: 0;
  270. right: 0;
  271. bottom: 0;
  272. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  273. border-radius: 0px 0px 10px 10px;
  274. opacity: 0;
  275. transition: opacity 0.3s;
  276. }
  277. .school-image:hover::before {
  278. opacity: 1;
  279. cursor: pointer;
  280. }
  281. .col-info:first-child {
  282. margin-left: 9rem;
  283. }
  284. .col-info {
  285. width: 4rem;
  286. margin-left: 2rem;
  287. }
  288. .solution-img {
  289. width: 15rem;
  290. height: 15rem;
  291. object-fit: cover;
  292. margin-top: 2rem;
  293. }
  294. .description-logiciel {
  295. font-family: "Barlow";
  296. font-style: normal;
  297. font-size: 0.9rem;
  298. line-height: 0.9rem;
  299. margin-top: 1rem;
  300. color: #eff9fb;
  301. }
  302. .description-logiciel-sm {
  303. font-family: "Barlow";
  304. font-style: normal;
  305. font-size: 0.9rem;
  306. line-height: 0.9rem;
  307. margin-top: 1rem;
  308. width: 13rem;
  309. margin-right: auto;
  310. text-align: left;
  311. }
  312. .logiciel-name-sm {
  313. font-family: "Barlow";
  314. font-style: normal;
  315. font-weight: 400;
  316. font-size: 30px;
  317. line-height: 2rem;
  318. color: #c3e5e7;
  319. margin-bottom: 1rem;
  320. margin-right: auto;
  321. text-align: left;
  322. }
  323. .opentalent-small-sm {
  324. margin-right: auto;
  325. text-align: left;
  326. }
  327. .opentalent-container {
  328. text-align: left;
  329. }
  330. </style>