Solution.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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" md="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" md="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 de danse, théâtre et cirque",
  85. image: "/images/logo/logiciels/Artist-Blanc.png",
  86. link: "/opentalent_artist",
  87. class: "artist-image",
  88. solutions: [
  89. "Gestion des membres",
  90. "Agenda de la structure",
  91. "Matériel & médiathèque",
  92. "Export de données",
  93. "Communication",
  94. "Statistiques",
  95. "Site internet intégré",
  96. "Partage de données en réseau",
  97. ],
  98. },
  99. {
  100. name: "School",
  101. description: "Petits et grands établissements d'enseignement artistique",
  102. image: "/images/logo/logiciels/School-Blanc.png",
  103. link: "/opentalent_school",
  104. class: "school-image",
  105. solutions: [
  106. "Gestion des membres",
  107. "Préinscription en ligne*",
  108. "Agenda de la structure",
  109. "Suivi pédagogique",
  110. "Gestion administrative et financière",
  111. "Communication",
  112. "Site internet intégré",
  113. "Statistiques",
  114. ]
  115. },
  116. {
  117. name: "Manager",
  118. description: "Fédérations, confédérations et collectivités",
  119. image: "/images/logo/logiciels/Manager-Blanc.png",
  120. link: "/opentalent_manager",
  121. class: "manager-image",
  122. solutions: [
  123. "Gestion des membres",
  124. "Agenda du réseau",
  125. "Matériel & médiathèque",
  126. "Gestion administrative",
  127. "Statistiques du réseau",
  128. "Cotisations",
  129. "Site internet intégré",
  130. "Communication",
  131. ],
  132. },
  133. ];
  134. </script>
  135. <style scoped lang="scss">
  136. .container {
  137. background: var(--primary-color);
  138. margin-bottom: 15rem;
  139. height: 36rem;
  140. position: relative;
  141. @media (max-width: 1240px) {
  142. height: 100%;
  143. margin-bottom: 0;
  144. }
  145. }
  146. h4 {
  147. margin-top: 0.5rem;
  148. font-size: 2.8rem;
  149. line-height: 42px;
  150. text-align: center;
  151. color: var(--on-primary-color);
  152. width: 100%;
  153. @media (max-width: 1240px) {
  154. width: 90%;
  155. margin-left: auto;
  156. margin-right: auto;
  157. }
  158. @media (max-width: 600px) {
  159. font-size: 1.6rem;
  160. }
  161. }
  162. @media (min-width: 600px) {
  163. h3 {
  164. margin-bottom: 3rem
  165. }
  166. }
  167. .v-row.solutions {
  168. small {
  169. font-weight: 600;
  170. font-size: 10px;
  171. line-height: 15px;
  172. letter-spacing: 0.18em;
  173. text-transform: uppercase;
  174. color: var(--on-primary-color);
  175. }
  176. h2 {
  177. font-weight: 400;
  178. font-size: 30px;
  179. line-height: 2rem;
  180. color: var(--on-primary-color-alt);
  181. margin-bottom: 1rem;
  182. }
  183. .v-divider {
  184. color: var(--on-primary-color-alt);
  185. width: 20rem;
  186. opacity: 0.7;
  187. }
  188. p {
  189. font-size: 1.3rem;
  190. line-height: 1.5rem;
  191. margin-top: 1rem;
  192. color: var(--on-primary-color);
  193. font-style: normal;
  194. width: 20rem;
  195. }
  196. .image-container {
  197. position: relative;
  198. background-size: cover;
  199. background-position: center;
  200. border-radius: 0 0 10px 10px;
  201. width: 350px;
  202. height: 300px;
  203. margin-top: 2rem;
  204. margin-left: 0.9rem;
  205. margin-bottom: 1rem;
  206. .v-img {
  207. position: absolute;
  208. bottom: 0;
  209. right: 0;
  210. width: 200px;
  211. }
  212. @media (max-width: 1240px) {
  213. display: flex;
  214. flex-direction: column;
  215. width: 100%;
  216. }
  217. }
  218. .image-container::before {
  219. content: "";
  220. position: absolute;
  221. top: 0;
  222. left: 0;
  223. right: 0;
  224. bottom: 0;
  225. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  226. border-radius: 0 0 10px 10px;
  227. opacity: 0;
  228. transition: opacity 0.3s;
  229. }
  230. .v-btn {
  231. font-size: 0.8rem;
  232. border-radius: 6px;
  233. background: var(--secondary-color);
  234. color: var(--on-primary-color);
  235. @media (min-width: 1240px) {
  236. position: absolute;
  237. z-index: 100;
  238. bottom: 40%;
  239. transform: translateX(-50%);
  240. display: none;
  241. }
  242. @media (max-width: 1240px) {
  243. width: 90%;
  244. margin: 24px auto;
  245. }
  246. }
  247. .image-container:hover .v-btn {
  248. display: block;
  249. }
  250. .artist-image {
  251. background-image: url(/images/solutions/artist.jpg);
  252. }
  253. .artist-image:hover::before {
  254. opacity: 1;
  255. cursor: pointer;
  256. }
  257. .school-image {
  258. background-image: url(/images/solutions/school.jpg);
  259. }
  260. .school-image:hover::before {
  261. opacity: 1;
  262. cursor: pointer;
  263. }
  264. .manager-image {
  265. background-image: url(/images/solutions/manager.png);
  266. }
  267. .manager-image:hover::before {
  268. opacity: 1;
  269. cursor: pointer;
  270. }
  271. .details {
  272. display: flex;
  273. justify-content: center;
  274. align-items: center;
  275. ul {
  276. margin-top: 0.9rem;
  277. font-size: 0.5rem;
  278. }
  279. li {
  280. font-size: 0.8rem;
  281. width: 10rem;
  282. margin-left: 1rem;
  283. line-height: 18px;
  284. color: var(--primary-color);
  285. @media (max-width: 1240px) {
  286. font-size: 1.1rem;
  287. color: var(--on-primary-color);
  288. }
  289. }
  290. @media (max-width: 600px) {
  291. padding: 18px;
  292. ul {
  293. margin-top: 0;
  294. }
  295. .v-col-12 {
  296. padding-top: 0;
  297. padding-bottom: 0;
  298. }
  299. }
  300. }
  301. }
  302. .footer {
  303. p {
  304. text-align: right;
  305. font-size: 12px;
  306. @media (max-width: 1240px) {
  307. font-size: 1.1rem;
  308. color: var(--on-primary-color);
  309. }
  310. }
  311. }
  312. </style>