Solution.vue 8.2 KB

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