Solution.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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>
  40. <div class="details">
  41. <v-col cols="6">
  42. <ul>
  43. <li
  44. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  45. :key="i"
  46. >
  47. {{ sol }}
  48. </li>
  49. </ul>
  50. </v-col>
  51. <v-col cols="6">
  52. <ul>
  53. <li
  54. v-for="(sol, i) in solution.solutions.slice(4)"
  55. :key="i"
  56. >
  57. {{ sol }}
  58. </li>
  59. </ul>
  60. </v-col>
  61. </div>
  62. </v-row>
  63. <v-row v-if="lgAndDown">
  64. <v-btn :to="solution.link">Découvrir</v-btn>
  65. </v-row>
  66. </div>
  67. </v-container>
  68. </v-col>
  69. </v-row>
  70. <v-container class="footer">
  71. <v-row >
  72. <v-col cols="12">
  73. <p>* en option</p>
  74. </v-col>
  75. </v-row>
  76. </v-container>
  77. </LayoutContainer>
  78. </template>
  79. <script setup lang="ts">
  80. import type { SolutionItem } from "~/types/interface";
  81. import { useDisplay } from "vuetify";
  82. const { xlAndUp, lgAndDown } = useDisplay()
  83. const solutions: Array<SolutionItem> = [
  84. {
  85. name: "Artist",
  86. description: "Orchestres, chorales, compagnies de danse, théâtre et cirque",
  87. image: "/images/logo/logiciels/Artist-Blanc.png",
  88. link: "/opentalent_artist",
  89. class: "artist-image",
  90. solutions: [
  91. "Gestion des membres",
  92. "Agenda de la structure",
  93. "Matériel & médiathèque",
  94. "Export de données",
  95. "Communication",
  96. "Statistiques",
  97. "Site internet intégré",
  98. "Partage de données en réseau",
  99. ],
  100. },
  101. {
  102. name: "School",
  103. description: "Petits et grands établissements d'enseignement artistique",
  104. image: "/images/logo/logiciels/School-Blanc.png",
  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. link: "/opentalent_manager",
  123. class: "manager-image",
  124. solutions: [
  125. "Gestion des membres",
  126. "Agenda du réseau",
  127. "Matériel & médiathèque",
  128. "Gestion administrative",
  129. "Statistiques du réseau",
  130. "Cotisations",
  131. "Site internet intégré",
  132. "Communication",
  133. ],
  134. },
  135. ];
  136. </script>
  137. <style scoped lang="scss">
  138. .container {
  139. background: var(--primary-color);
  140. margin-bottom: 15rem;
  141. height: 36rem;
  142. position: relative;
  143. @media (max-width: 1240px) {
  144. height: 100%;
  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. }
  157. }
  158. @media (min-width: 600px) {
  159. h3 {
  160. margin-bottom: 3rem
  161. }
  162. }
  163. .v-row.solutions {
  164. small {
  165. font-weight: 600;
  166. font-size: 10px;
  167. line-height: 15px;
  168. letter-spacing: 0.18em;
  169. text-transform: uppercase;
  170. color: var(--on-primary-color);
  171. }
  172. h2 {
  173. font-weight: 400;
  174. font-size: 30px;
  175. line-height: 2rem;
  176. color: var(--on-primary-color-alt);
  177. margin-bottom: 1rem;
  178. }
  179. .v-divider {
  180. color: var(--on-primary-color-alt);
  181. width: 20rem;
  182. opacity: 0.7;
  183. }
  184. p {
  185. font-size: 1.3rem;
  186. line-height: 1.5rem;
  187. margin-top: 1rem;
  188. color: var(--on-primary-color);
  189. font-style: normal;
  190. width: 20rem;
  191. }
  192. .image-container {
  193. position: relative;
  194. background-size: cover;
  195. background-position: center;
  196. border-radius: 0 0 10px 10px;
  197. width: 350px;
  198. height: 300px;
  199. margin-top: 2rem;
  200. margin-left: 0.9rem;
  201. margin-bottom: 1rem;
  202. .v-img {
  203. position: absolute;
  204. bottom: 0;
  205. right: 0;
  206. width: 200px;
  207. }
  208. @media (max-width: 1240px) {
  209. display: flex;
  210. flex-direction: column;
  211. width: 100%;
  212. }
  213. }
  214. .image-container::before {
  215. content: "";
  216. position: absolute;
  217. top: 0;
  218. left: 0;
  219. right: 0;
  220. bottom: 0;
  221. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  222. border-radius: 0 0 10px 10px;
  223. opacity: 0;
  224. transition: opacity 0.3s;
  225. }
  226. .v-btn {
  227. font-size: 0.8rem;
  228. border-radius: 6px;
  229. background: var(--secondary-color);
  230. color: var(--on-primary-color);
  231. @media (min-width: 1240px) {
  232. position: absolute;
  233. z-index: 100;
  234. bottom: 40%;
  235. transform: translateX(-50%);
  236. display: none;
  237. }
  238. @media (max-width: 1240px) {
  239. width: 90%;
  240. margin: 24px auto;
  241. }
  242. }
  243. .image-container:hover .v-btn {
  244. display: block;
  245. }
  246. .artist-image {
  247. background-image: url(/images/solutions/artist.jpg);
  248. }
  249. .artist-image:hover::before {
  250. opacity: 1;
  251. cursor: pointer;
  252. }
  253. .school-image {
  254. background-image: url(/images/solutions/school.jpg);
  255. }
  256. .school-image:hover::before {
  257. opacity: 1;
  258. cursor: pointer;
  259. }
  260. .manager-image {
  261. background-image: url(/images/solutions/manager.png);
  262. }
  263. .manager-image:hover::before {
  264. opacity: 1;
  265. cursor: pointer;
  266. }
  267. .details {
  268. display: flex;
  269. justify-content: center;
  270. align-items: center;
  271. ul {
  272. margin-top: 0.9rem;
  273. font-size: 0.5rem;
  274. }
  275. li {
  276. font-size: 0.8rem;
  277. width: 10rem;
  278. margin-left: 1rem;
  279. line-height: 18px;
  280. color: var(--primary-color);
  281. @media (max-width: 1240px) {
  282. font-size: 1.1rem;
  283. color: var(--on-primary-color);
  284. }
  285. }
  286. }
  287. }
  288. .footer {
  289. p {
  290. text-align: right;
  291. font-size: 12px;
  292. @media (max-width: 1240px) {
  293. font-size: 1.1rem;
  294. color: var(--on-primary-color);
  295. }
  296. }
  297. }
  298. </style>