Solution.vue 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. <!--
  2. Section "Solutions" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer>
  6. <LayoutUISectionTitle class="alt-theme">
  7. 3 solutions
  8. </LayoutUISectionTitle>
  9. <h4 class="text-center" >
  10. Trouvez la solution faites pour vous
  11. </h4>
  12. <v-row class="solutions center-90">
  13. <v-col
  14. v-for="(solution, index) in solutions"
  15. :key="index"
  16. cols="12"
  17. lg="4"
  18. >
  19. <v-container>
  20. <div class="d-flex justify-center align-left flex-column">
  21. <small>
  22. Opentalent
  23. </small>
  24. <h2>
  25. {{ solution.name }}
  26. </h2>
  27. <v-divider thickness="2"/>
  28. <p>
  29. {{ solution.description }}
  30. </p>
  31. <nuxt-link :to="solution.link">
  32. <v-row>
  33. <div :class="['image-container', solution.class]" >
  34. <v-img :src="solution.image" />
  35. <v-btn v-if="xlAndUp">Découvrir</v-btn>
  36. </div>
  37. </v-row>
  38. </nuxt-link>
  39. <v-row class="details">
  40. <v-col cols="12" sm="6">
  41. <ul>
  42. <li
  43. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  44. :key="i"
  45. >
  46. {{ sol }}
  47. </li>
  48. </ul>
  49. </v-col>
  50. <v-col cols="12" sm="6">
  51. <ul>
  52. <li
  53. v-for="(sol, i) in solution.solutions.slice(4)"
  54. :key="i"
  55. >
  56. {{ sol }}
  57. </li>
  58. </ul>
  59. </v-col>
  60. </v-row>
  61. <v-row v-if="lgAndDown">
  62. <v-btn :to="solution.link">Découvrir</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 type { SolutionItem } from "~/types/interface";
  79. import { useDisplay } from "vuetify";
  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/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/Logo_Opentalent_School-blanc",
  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/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. height: 40rem;
  142. position: relative;
  143. @media (max-width: 1240px) {
  144. height: 100%;
  145. margin-bottom: 0;
  146. }
  147. }
  148. h4 {
  149. margin-top: 0.5rem;
  150. font-size: 2.8rem;
  151. line-height: 42px;
  152. text-align: center;
  153. color: var(--on-primary-color);
  154. width: 100%;
  155. @media (max-width: 1240px) {
  156. width: 90%;
  157. margin-left: auto;
  158. margin-right: auto;
  159. }
  160. @media (max-width: 600px) {
  161. font-size: 1.6rem;
  162. }
  163. }
  164. @media (min-width: 600px) {
  165. h3 {
  166. margin-bottom: 3rem
  167. }
  168. }
  169. .v-row.solutions {
  170. small {
  171. font-weight: 600;
  172. font-size: 10px;
  173. line-height: 15px;
  174. letter-spacing: 0.18em;
  175. text-transform: uppercase;
  176. color: var(--on-primary-color);
  177. }
  178. h2 {
  179. font-weight: 400;
  180. font-size: 30px;
  181. line-height: 2rem;
  182. color: var(--on-primary-color-alt);
  183. margin-bottom: 1rem;
  184. }
  185. .v-divider {
  186. color: var(--on-primary-color-alt);
  187. width: 350px;
  188. opacity: 0.7;
  189. }
  190. p {
  191. font-size: 1.3rem;
  192. line-height: 1.5rem;
  193. margin-top: 1rem;
  194. color: var(--on-primary-color);
  195. font-style: normal;
  196. width: 20rem;
  197. }
  198. .image-container {
  199. position: relative;
  200. background-size: cover;
  201. background-position: center;
  202. border-radius: 0 0 10px 10px;
  203. width: 350px;
  204. height: 300px;
  205. margin-top: 2rem;
  206. margin-left: 0.9rem;
  207. margin-bottom: 1rem;
  208. .v-img {
  209. position: absolute;
  210. bottom: 0;
  211. right: 0;
  212. width: 200px;
  213. }
  214. @media (max-width: 1240px) {
  215. display: flex;
  216. flex-direction: column;
  217. width: 100%;
  218. }
  219. }
  220. .image-container::before {
  221. content: "";
  222. position: absolute;
  223. top: 0;
  224. left: 0;
  225. right: 0;
  226. bottom: 0;
  227. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  228. border-radius: 0 0 10px 10px;
  229. opacity: 0;
  230. transition: opacity 0.3s;
  231. }
  232. .v-btn {
  233. left: 50%;
  234. font-size: 0.8rem;
  235. border-radius: 6px;
  236. background: var(--secondary-color);
  237. color: var(--on-secondary-color);
  238. @media (min-width: 1240px) {
  239. position: absolute;
  240. z-index: 100;
  241. bottom: 40%;
  242. transform: translateX(-50%);
  243. display: none;
  244. }
  245. @media (max-width: 1240px) {
  246. left: auto;
  247. width: 90%;
  248. margin: 24px auto;
  249. }
  250. }
  251. .image-container:hover .v-btn {
  252. display: block;
  253. }
  254. .artist-image {
  255. background-image: url(/images/pages/home/solution/Opentalent_Artist_pour_les_structures_culturelles.jpg);
  256. }
  257. .artist-image:hover::before {
  258. opacity: 1;
  259. cursor: pointer;
  260. }
  261. .school-image {
  262. background-image: url(/images/pages/home/solution/Opentalent_School_pour_les_etablissements_d_enseignement_artistique.jpg);
  263. }
  264. .school-image:hover::before {
  265. opacity: 1;
  266. cursor: pointer;
  267. }
  268. .manager-image {
  269. background-image: url(/images/pages/home/solution/Opentalent_Manager_pour_les_reseaux_culturels.png);
  270. }
  271. .manager-image:hover::before {
  272. opacity: 1;
  273. cursor: pointer;
  274. }
  275. .details {
  276. display: flex;
  277. justify-content: center;
  278. align-items: center;
  279. max-width: 80%;
  280. ul {
  281. margin-top: 0.9rem;
  282. max-width: 100%;
  283. white-space: pre-wrap;
  284. margin-left: 1rem;
  285. }
  286. li {
  287. text-align: start;
  288. font-size: 16px;
  289. line-height: 18px;
  290. color: var(--primary-color);
  291. margin: 6px 0;
  292. @media (max-width: 1240px) {
  293. font-size: 1.1rem;
  294. color: var(--on-primary-color);
  295. }
  296. }
  297. @media (max-width: 1240px) {
  298. margin: 0 auto;
  299. }
  300. @media (max-width: 600px) {
  301. padding: 18px;
  302. ul {
  303. margin-top: 0;
  304. }
  305. .v-col-12 {
  306. padding-top: 0;
  307. padding-bottom: 0;
  308. }
  309. }
  310. }
  311. }
  312. .footer {
  313. p {
  314. text-align: right;
  315. font-size: 14px;
  316. @media (max-width: 1240px) {
  317. font-size: 1.1rem;
  318. color: var(--on-primary-color);
  319. }
  320. }
  321. }
  322. </style>