Solution.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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/logo/logiciels/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/logo/logiciels/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/logo/logiciels/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. margin-bottom: 15rem;
  142. height: 36rem;
  143. position: relative;
  144. @media (max-width: 1240px) {
  145. height: 100%;
  146. margin-bottom: 0;
  147. }
  148. }
  149. h4 {
  150. margin-top: 0.5rem;
  151. font-size: 2.8rem;
  152. line-height: 42px;
  153. text-align: center;
  154. color: var(--on-primary-color);
  155. width: 100%;
  156. @media (max-width: 1240px) {
  157. width: 90%;
  158. margin-left: auto;
  159. margin-right: auto;
  160. }
  161. @media (max-width: 600px) {
  162. font-size: 1.6rem;
  163. }
  164. }
  165. @media (min-width: 600px) {
  166. h3 {
  167. margin-bottom: 3rem
  168. }
  169. }
  170. .v-row.solutions {
  171. small {
  172. font-weight: 600;
  173. font-size: 10px;
  174. line-height: 15px;
  175. letter-spacing: 0.18em;
  176. text-transform: uppercase;
  177. color: var(--on-primary-color);
  178. }
  179. h2 {
  180. font-weight: 400;
  181. font-size: 30px;
  182. line-height: 2rem;
  183. color: var(--on-primary-color-alt);
  184. margin-bottom: 1rem;
  185. }
  186. .v-divider {
  187. color: var(--on-primary-color-alt);
  188. width: 350px;
  189. opacity: 0.7;
  190. }
  191. p {
  192. font-size: 1.3rem;
  193. line-height: 1.5rem;
  194. margin-top: 1rem;
  195. color: var(--on-primary-color);
  196. font-style: normal;
  197. width: 20rem;
  198. }
  199. .image-container {
  200. position: relative;
  201. background-size: cover;
  202. background-position: center;
  203. border-radius: 0 0 10px 10px;
  204. width: 350px;
  205. height: 300px;
  206. margin-top: 2rem;
  207. margin-left: 0.9rem;
  208. margin-bottom: 1rem;
  209. .v-img {
  210. position: absolute;
  211. bottom: 0;
  212. right: 0;
  213. width: 200px;
  214. }
  215. @media (max-width: 1240px) {
  216. display: flex;
  217. flex-direction: column;
  218. width: 100%;
  219. }
  220. }
  221. .image-container::before {
  222. content: "";
  223. position: absolute;
  224. top: 0;
  225. left: 0;
  226. right: 0;
  227. bottom: 0;
  228. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  229. border-radius: 0 0 10px 10px;
  230. opacity: 0;
  231. transition: opacity 0.3s;
  232. }
  233. .v-btn {
  234. left: 50%;
  235. font-size: 0.8rem;
  236. border-radius: 6px;
  237. background: var(--secondary-color);
  238. color: var(--on-secondary-color);
  239. @media (min-width: 1240px) {
  240. position: absolute;
  241. z-index: 100;
  242. bottom: 40%;
  243. transform: translateX(-50%);
  244. display: none;
  245. }
  246. @media (max-width: 1240px) {
  247. left: auto;
  248. width: 90%;
  249. margin: 24px auto;
  250. }
  251. }
  252. .image-container:hover .v-btn {
  253. display: block;
  254. }
  255. .artist-image {
  256. background-image: url(/images/solutions/artist.jpg);
  257. }
  258. .artist-image:hover::before {
  259. opacity: 1;
  260. cursor: pointer;
  261. }
  262. .school-image {
  263. background-image: url(/images/solutions/school.jpg);
  264. }
  265. .school-image:hover::before {
  266. opacity: 1;
  267. cursor: pointer;
  268. }
  269. .manager-image {
  270. background-image: url(/images/solutions/manager.png);
  271. }
  272. .manager-image:hover::before {
  273. opacity: 1;
  274. cursor: pointer;
  275. }
  276. .details {
  277. display: flex;
  278. justify-content: center;
  279. align-items: center;
  280. max-width: 80%;
  281. ul {
  282. margin-top: 0.9rem;
  283. max-width: 100%;
  284. white-space: pre-wrap;
  285. margin-left: 1rem;
  286. }
  287. li {
  288. text-align: start;
  289. font-size: 16px;
  290. line-height: 18px;
  291. color: var(--primary-color);
  292. margin: 6px 0;
  293. @media (max-width: 1240px) {
  294. font-size: 1.1rem;
  295. color: var(--on-primary-color);
  296. }
  297. }
  298. @media (max-width: 1240px) {
  299. margin: 0 auto;
  300. }
  301. @media (max-width: 600px) {
  302. padding: 18px;
  303. ul {
  304. margin-top: 0;
  305. }
  306. .v-col-12 {
  307. padding-top: 0;
  308. padding-bottom: 0;
  309. }
  310. }
  311. }
  312. }
  313. .footer {
  314. p {
  315. text-align: right;
  316. font-size: 14px;
  317. @media (max-width: 1240px) {
  318. font-size: 1.1rem;
  319. color: var(--on-primary-color);
  320. }
  321. }
  322. }
  323. </style>