Solution.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. <!--
  2. Section "Solutions" de la page d'accueil
  3. -->
  4. <template>
  5. <LayoutContainer :overflow="false">
  6. <div class="d-flex justify-center align-center flex-column">
  7. <!-- TODO: factoriser avec HomePromotion -->
  8. <v-icon
  9. size="6"
  10. icon="fas fa-circle"
  11. />
  12. <h5>
  13. 3 solutions
  14. </h5>
  15. </div>
  16. <h3 class="text-center" >
  17. Trouvez la solution faites pour vous
  18. </h3>
  19. <v-row class="solutions">
  20. <v-col
  21. v-for="(solution, index) in solutions"
  22. :key="index"
  23. cols="4"
  24. >
  25. <v-container>
  26. <div class="d-flex justify-center align-left flex-column">
  27. <small>
  28. Opentalent
  29. </small>
  30. <h2>
  31. {{ solution.name }}
  32. </h2>
  33. <v-divider thickness="2"/>
  34. <p>
  35. {{ solution.description }}
  36. </p>
  37. <nuxt-link :to="solution.link">
  38. <v-row>
  39. <div :class="['image-container', solution.class]" >
  40. <v-img :src="solution.image" />
  41. <v-btn>Découvrir</v-btn>
  42. </div>
  43. </v-row>
  44. </nuxt-link>
  45. <v-row>
  46. <div class="details">
  47. <v-col cols="6">
  48. <ul>
  49. <li
  50. v-for="(sol, i) in solution.solutions.slice(0, 4)"
  51. :key="i"
  52. >
  53. {{ sol }}
  54. </li>
  55. </ul>
  56. </v-col>
  57. <v-col cols="6">
  58. <ul>
  59. <li
  60. v-for="(sol, i) in solution.solutions.slice(4)"
  61. :key="i"
  62. >
  63. {{ sol }}
  64. </li>
  65. </ul>
  66. </v-col>
  67. </div>
  68. </v-row>
  69. </div>
  70. </v-container>
  71. </v-col>
  72. </v-row>
  73. <v-container class="footer">
  74. <v-row >
  75. <v-col cols="12">
  76. <p>* en option</p>
  77. </v-col>
  78. </v-row>
  79. </v-container>
  80. </LayoutContainer>
  81. </template>
  82. <script setup lang="ts">
  83. import { SolutionItem } from "~/types/interface";
  84. const solutions: Array<SolutionItem> = [
  85. {
  86. name: "Artist",
  87. description: "Orchestres, chorales, compagnies de danse, théâtre et cirque",
  88. image: "/images/logo/logiciels/Artist-Blanc.png",
  89. link: "/opentalent_artist",
  90. class: "artist-image",
  91. solutions: [
  92. "Gestion des membres",
  93. "Agenda de la structure",
  94. "Matériel & médiathèque",
  95. "Export de données",
  96. "Communication",
  97. "Statistiques",
  98. "Site internet intégré",
  99. "Partage de données en réseau",
  100. ],
  101. },
  102. {
  103. name: "School",
  104. description: "Petits et grands établissements d'enseignement artistique",
  105. image: "/images/logo/logiciels/School-Blanc.png",
  106. link: "/opentalent_school",
  107. class: "school-image",
  108. solutions: [
  109. "Gestion des membres",
  110. "Préinscription en ligne*",
  111. "Agenda de la structure",
  112. "Suivi pédagogique",
  113. "Gestion administrative et financière",
  114. "Communication",
  115. "Site internet intégré",
  116. "Statistiques",
  117. ]
  118. },
  119. {
  120. name: "Manager",
  121. description: "Fédérations, confédérations et collectivités",
  122. image: "/images/logo/logiciels/Manager-Blanc.png",
  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. h5 {
  140. font-size: 1rem;
  141. line-height: 1rem;
  142. margin-top: 1rem;
  143. color: #c1eff0;
  144. text-align: center;
  145. letter-spacing: 2.16px;
  146. text-transform: uppercase;
  147. }
  148. .fa-circle{
  149. margin-top: 1rem;
  150. color: #ffffff;
  151. margin-right: 1rem;
  152. }
  153. h3 {
  154. margin-top: 0.5rem;
  155. font-size: 2.8rem;
  156. line-height: 42px;
  157. text-align: center;
  158. color: #ffffff;
  159. width: 100%;
  160. }
  161. @media (min-width: 600px) {
  162. h3 {
  163. margin-bottom: 3rem
  164. }
  165. }
  166. .v-row.solutions {
  167. width: 90%;
  168. margin-right: auto;
  169. margin-left: auto;
  170. small {
  171. font-weight: 600;
  172. font-size: 10px;
  173. line-height: 15px;
  174. letter-spacing: 0.18em;
  175. text-transform: uppercase;
  176. color: #ffffff;
  177. }
  178. h2 {
  179. font-weight: 400;
  180. font-size: 30px;
  181. line-height: 2rem;
  182. color: #c3e5e7;
  183. margin-bottom: 1rem;
  184. }
  185. .v-divider {
  186. color: #c3e5e7;
  187. width: 20rem;
  188. opacity: 0.7;
  189. }
  190. p {
  191. font-family: "Barlow", serif;
  192. font-size: 1.3rem;
  193. line-height: 1.5rem;
  194. margin-top: 1rem;
  195. color: #eff9fb;
  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. }
  216. .image-container::before {
  217. content: "";
  218. position: absolute;
  219. top: 0;
  220. left: 0;
  221. right: 0;
  222. bottom: 0;
  223. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  224. border-radius: 0 0 10px 10px;
  225. opacity: 0;
  226. transition: opacity 0.3s;
  227. }
  228. .v-btn {
  229. position: absolute;
  230. z-index: 100;
  231. bottom: 40%;
  232. left: 50%;
  233. transform: translateX(-50%);
  234. display: none;
  235. font-size: 0.8rem;
  236. border-radius: 6px;
  237. background: var(--Vert-60, #64afb7);
  238. color: white;
  239. }
  240. .image-container:hover .v-btn {
  241. display: block;
  242. }
  243. .artist-image {
  244. background: url(/images/solutions/artist.jpg);
  245. }
  246. .artist-image:hover::before {
  247. opacity: 1;
  248. cursor: pointer;
  249. }
  250. .school-image{
  251. background: url(/images/solutions/school.jpg);
  252. }
  253. .school-image:hover::before {
  254. opacity: 1;
  255. cursor: pointer;
  256. }
  257. .manager-image {
  258. background: url(/images/solutions/manager.png);
  259. }
  260. .manager-image:hover::before {
  261. opacity: 1;
  262. cursor: pointer;
  263. }
  264. .details {
  265. display: flex;
  266. justify-content: center;
  267. align-items: center;
  268. ul {
  269. margin-top: 0.9rem;
  270. font-size: 0.5rem;
  271. }
  272. li {
  273. font-family: "Barlow", serif;
  274. font-size: 0.8rem;
  275. width: 10rem;
  276. margin-left: 1rem;
  277. font-style: normal;
  278. line-height: 18px;
  279. color: #091d20;
  280. }
  281. }
  282. }
  283. .footer {
  284. p {
  285. text-align: right;
  286. font-size: 12px;
  287. }
  288. }
  289. </style>