Solution.vue 7.0 KB

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