Solution.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. <!--
  2. Section "Solutions" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer>
  6. <LayoutUISectionTitle class="alt-theme"> 3 solutions </LayoutUISectionTitle>
  7. <h4 class="text-center mb-4">Trouvez la solution faite pour vous</h4>
  8. <v-row class="solutions center-90">
  9. <v-col
  10. v-for="(solution, index) in solutions"
  11. :key="index"
  12. cols="12"
  13. lg="4"
  14. >
  15. <v-container>
  16. <div class="d-flex justify-center align-left flex-column">
  17. <small> Opentalent </small>
  18. <h2>
  19. {{ solution.name }}
  20. </h2>
  21. <v-divider thickness="2" />
  22. <p>
  23. {{ solution.description }}
  24. </p>
  25. <nuxt-link :to="solution.link">
  26. <v-row>
  27. <div :class="['image-container', solution.class]">
  28. <v-img :src="solution.image" />
  29. <v-btn v-if="xlAndUp">Découvrir</v-btn>
  30. </div>
  31. </v-row>
  32. </nuxt-link>
  33. <v-row class="details">
  34. <v-col cols="12" sm="6">
  35. <ul>
  36. <li
  37. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  38. :key="i"
  39. >
  40. {{ sol }}
  41. </li>
  42. </ul>
  43. </v-col>
  44. <v-col cols="12" sm="6">
  45. <ul>
  46. <li v-for="(sol, i) in solution.solutions.slice(4)" :key="i">
  47. {{ sol }}
  48. </li>
  49. </ul>
  50. </v-col>
  51. </v-row>
  52. <v-row v-if="lgAndDown">
  53. <v-btn :to="solution.link">Découvrir</v-btn>
  54. </v-row>
  55. </div>
  56. </v-container>
  57. </v-col>
  58. </v-row>
  59. <v-container class="footer">
  60. <v-row>
  61. <v-col cols="12">
  62. <p>* en option</p>
  63. </v-col>
  64. </v-row>
  65. </v-container>
  66. </LayoutContainer>
  67. </template>
  68. <script setup lang="ts">
  69. import { useDisplay } from 'vuetify'
  70. import type { SolutionItem } from '~/types/interface'
  71. const { xlAndUp, lgAndDown } = useDisplay()
  72. const solutions: Array<SolutionItem> = [
  73. {
  74. name: 'Artist',
  75. description: 'Orchestres, chorales, compagnies et troupes artistiques',
  76. image: '/images/logos/opentalent/Logo_Opentalent_Artist-blanc.png',
  77. alt: 'Partition tenue par une femme dans une chorale',
  78. link: '/opentalent-artist',
  79. class: 'artist-image',
  80. solutions: [
  81. 'Gestion des membres',
  82. 'Agenda de la structure',
  83. 'Matériel & médiathèque',
  84. 'Export de données',
  85. 'Communication',
  86. 'Statistiques',
  87. 'Site internet intégré',
  88. 'Partage de données en réseau',
  89. ],
  90. },
  91. {
  92. name: 'School',
  93. description: "Petits et grands établissements d'enseignement artistique",
  94. image: '/images/logos/opentalent/Logo_Opentalent_School-blanc.png',
  95. alt: 'Deux jeunes filles jouant du violon',
  96. link: '/opentalent-school',
  97. class: 'school-image',
  98. solutions: [
  99. 'Gestion des membres',
  100. 'Préinscription en ligne *',
  101. 'Agenda de la structure',
  102. 'Suivi pédagogique',
  103. 'Gestion administrative et financière',
  104. 'Communication',
  105. 'Site internet intégré',
  106. 'Statistiques',
  107. ],
  108. },
  109. {
  110. name: 'Manager',
  111. description: 'Fédérations, confédérations et collectivités',
  112. image: '/images/logos/opentalent/Logo_Opentalent_Manager-blanc.png',
  113. alt: 'Carte de réseau des structures de la confédération musicale de France',
  114. link: '/opentalent-manager',
  115. class: 'manager-image',
  116. solutions: [
  117. 'Gestion des membres',
  118. 'Agenda du réseau',
  119. 'Matériel & médiathèque',
  120. 'Gestion administrative',
  121. 'Statistiques du réseau',
  122. 'Cotisations',
  123. 'Site internet intégré',
  124. 'Communication',
  125. ],
  126. },
  127. ]
  128. </script>
  129. <style scoped lang="scss">
  130. .container {
  131. background: var(--primary-color);
  132. position: relative;
  133. @media (max-width: 1240px) {
  134. height: 100%;
  135. margin-bottom: 0;
  136. }
  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. @media (max-width: 1240px) {
  146. width: 90%;
  147. margin-left: auto;
  148. margin-right: auto;
  149. }
  150. @media (max-width: 600px) {
  151. font-size: 1.6rem;
  152. }
  153. }
  154. @media (min-width: 600px) {
  155. h3 {
  156. margin-bottom: 3rem;
  157. }
  158. }
  159. .v-row.solutions {
  160. small {
  161. font-weight: 600;
  162. font-size: 10px;
  163. line-height: 15px;
  164. letter-spacing: 0.18em;
  165. text-transform: uppercase;
  166. color: var(--on-primary-color);
  167. }
  168. h2 {
  169. font-weight: 400;
  170. font-size: 30px;
  171. line-height: 2rem;
  172. color: var(--on-primary-color-alt);
  173. margin-bottom: 1rem;
  174. }
  175. .v-divider {
  176. color: var(--on-primary-color-alt);
  177. width: 350px;
  178. opacity: 0.7;
  179. }
  180. p {
  181. font-size: 1.3rem;
  182. line-height: 1.5rem;
  183. margin-top: 1rem;
  184. color: var(--on-primary-color);
  185. font-style: normal;
  186. width: 20rem;
  187. }
  188. .image-container {
  189. position: relative;
  190. background-size: cover;
  191. background-position: center;
  192. border-radius: 0 0 10px 10px;
  193. width: 350px;
  194. height: 300px;
  195. margin-top: 2rem;
  196. margin-left: 0.9rem;
  197. margin-bottom: 1rem;
  198. .v-img {
  199. position: absolute;
  200. bottom: 0;
  201. right: 0;
  202. width: 200px;
  203. }
  204. @media (max-width: 1240px) {
  205. display: flex;
  206. flex-direction: column;
  207. width: 100%;
  208. }
  209. }
  210. .image-container::before {
  211. content: '';
  212. position: absolute;
  213. top: 0;
  214. left: 0;
  215. right: 0;
  216. bottom: 0;
  217. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  218. border-radius: 0 0 10px 10px;
  219. opacity: 0;
  220. transition: opacity 0.3s;
  221. }
  222. .v-btn {
  223. left: 50%;
  224. font-size: 0.8rem;
  225. border-radius: 6px;
  226. background: var(--secondary-color);
  227. color: var(--on-secondary-color);
  228. @media (min-width: 1240px) {
  229. position: absolute;
  230. z-index: 100;
  231. bottom: 40%;
  232. transform: translateX(-50%);
  233. display: none;
  234. }
  235. @media (max-width: 1240px) {
  236. left: auto;
  237. width: 90%;
  238. margin: 24px auto;
  239. }
  240. }
  241. .image-container:hover .v-btn {
  242. display: block;
  243. }
  244. .artist-image {
  245. background-image: url(/images/pages/home/solution/Opentalent_Artist_pour_les_structures_culturelles.jpg);
  246. }
  247. .artist-image:hover::before {
  248. opacity: 1;
  249. cursor: pointer;
  250. }
  251. .school-image {
  252. background-image: url(/images/pages/home/solution/Opentalent_School_pour_les_etablissements_d_enseignement_artistique.jpg);
  253. }
  254. .school-image:hover::before {
  255. opacity: 1;
  256. cursor: pointer;
  257. }
  258. .manager-image {
  259. background-image: url(/images/pages/home/solution/Opentalent_Manager_pour_les_reseaux_culturels.png);
  260. }
  261. .manager-image:hover::before {
  262. opacity: 1;
  263. cursor: pointer;
  264. }
  265. .details {
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. max-width: 80%;
  270. ul {
  271. margin-top: 0.9rem;
  272. max-width: 100%;
  273. white-space: pre-wrap;
  274. margin-left: 1rem;
  275. }
  276. li {
  277. text-align: start;
  278. font-size: 16px;
  279. line-height: 18px;
  280. color: var(--on-primary-color);
  281. margin: 6px 0;
  282. @media (max-width: 1240px) {
  283. font-size: 1.1rem;
  284. }
  285. }
  286. @media (max-width: 1240px) {
  287. margin: 0 auto;
  288. }
  289. @media (max-width: 600px) {
  290. padding: 18px;
  291. ul {
  292. margin-top: 0;
  293. }
  294. .v-col-12 {
  295. padding-top: 0;
  296. padding-bottom: 0;
  297. }
  298. }
  299. }
  300. }
  301. .footer {
  302. p {
  303. text-align: right;
  304. font-size: 14px;
  305. color: var(--on-primary-color);
  306. @media (max-width: 1240px) {
  307. font-size: 1.1rem;
  308. color: var(--on-primary-color);
  309. }
  310. }
  311. }
  312. </style>