Solution.vue 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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 faite 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. 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. .v-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. .footer {
  311. p {
  312. text-align: right;
  313. font-size: 14px;
  314. @media (max-width: 1240px) {
  315. font-size: 1.1rem;
  316. color: var(--on-primary-color);
  317. }
  318. }
  319. }
  320. </style>