Solution.vue 6.6 KB

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