Presentation.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <template>
  2. <div id="Presentation">
  3. <LayoutContainer>
  4. <v-row class="mt-12">
  5. <v-col cols="4">
  6. <LayoutUISubTitle
  7. :iconSize="5"
  8. :iconColor="iconColor"
  9. :titleText="titleText"
  10. />
  11. <v-img src="/images/logiciels/school/screen.jpg" class="screen-img" />
  12. <div
  13. :style="{ backgroundColor: backgroundColor }"
  14. class="rectangle-4"
  15. >
  16. <div :style="{ backgroundColor: circleColor }" class="black-circle">
  17. <div class="content-flex">
  18. <v-img :src="logoSrc" class="logo-manager" />
  19. <div class="pricing-details">
  20. <p class="pricing-small-text">{{ pricingFromText }}</p>
  21. <p class="pricing-big-text">
  22. {{ pricingAmount }}
  23. <span class="smaller-text">{{ pricingPeriodText }}</span>
  24. </p>
  25. <p class="pricing-small-text">
  26. {{ pricingAnnouncementText }}
  27. </p>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. </v-col>
  33. <v-col cols="6">
  34. <LayoutUITitle :title="presentationText.toolTitle" />
  35. <ul class="outil-ul ml-12 mt-6">
  36. <li
  37. class="outil-list"
  38. v-for="item in presentationText.toolList"
  39. :key="item"
  40. >
  41. {{ item }}
  42. </li>
  43. </ul>
  44. <h2 class="mt-12 ml-6 presentation-caracteristique">
  45. {{ presentationText.characteristicsTitle }}
  46. </h2>
  47. <div class="row-custom">
  48. <div class="picto-container">
  49. <div
  50. class="picto-group"
  51. v-for="picto in pictoImages"
  52. :key="picto.text"
  53. >
  54. <div
  55. :style="{ backgroundImage: 'url(' + picto.src + ')' }"
  56. class="picto-img"
  57. ></div>
  58. <p class="picto-text" :style="{ color: pictoColor }">
  59. {{ picto.text }}
  60. </p>
  61. </div>
  62. </div>
  63. </div>
  64. </v-col>
  65. </v-row>
  66. </LayoutContainer>
  67. </div>
  68. </template>
  69. <script setup>
  70. import { onMounted, ref } from "vue";
  71. import { useRoute } from "vue-router";
  72. const props = defineProps({
  73. pictoImages: {
  74. type: Array,
  75. default: () => [],
  76. },
  77. pictoColor: {
  78. type: String,
  79. default: "#000000",
  80. },
  81. presentationText: {
  82. type: Object,
  83. default: () => ({
  84. toolTitle: "Default Title",
  85. toolList: [],
  86. characteristicsTitle: "Default Characteristics Title",
  87. }),
  88. },
  89. logoSrc: {
  90. type: String,
  91. default: "/images/logo_school_white.png",
  92. },
  93. pricingFromText: {
  94. type: String,
  95. },
  96. pricingAmount: {
  97. type: String,
  98. default: "sur devis",
  99. },
  100. pricingPeriodText: {
  101. type: String,
  102. },
  103. pricingAnnouncementText: {
  104. type: String,
  105. },
  106. backgroundColor: {
  107. type: String,
  108. default: "rgba(32, 147, 190, 0.2)",
  109. },
  110. circleColor: {
  111. type: String,
  112. default: "#091d20",
  113. },
  114. });
  115. const titleText = ref("");
  116. const iconColor = ref("");
  117. const route = useRoute();
  118. onMounted(() => {
  119. if (route.path.includes("opentalent_artist")) {
  120. titleText.value = "Présentation d'Opentalent Artist";
  121. iconColor.value = "#fac20a";
  122. } else if (route.path.includes("opentalent_school")) {
  123. titleText.value = "Présentation d'Opentalent School";
  124. iconColor.value = "rgba(32, 147, 190, 0.6)";
  125. } else if (route.path.includes("opentalent_manager")) {
  126. titleText.value = "Présentation d'Opentalent Manager";
  127. iconColor.value = "#d8050b";
  128. }
  129. });
  130. </script>
  131. <style scoped>
  132. .picto-img {
  133. width: 200px;
  134. height: 200px;
  135. background-size: contain;
  136. background-repeat: no-repeat;
  137. background-position: center;
  138. }
  139. .presentation-caracteristique {
  140. color: #071b1f;
  141. font-size: 34px;
  142. font-style: normal;
  143. font-weight: 400;
  144. line-height: 38px;
  145. }
  146. .row-custom {
  147. }
  148. .pricing-details {
  149. display: flex;
  150. flex-direction: column;
  151. justify-content: center;
  152. align-items: center;
  153. height: 100%;
  154. color: black;
  155. font-weight: 500;
  156. font-size: 1rem;
  157. margin-left: 7rem;
  158. margin-top: -4rem;
  159. width: 10rem;
  160. }
  161. .pricing-small-text {
  162. font-size: 0.6em;
  163. }
  164. .pricing-big-text {
  165. font-size: 2.5rem;
  166. font-weight: bold;
  167. line-height: 2rem;
  168. margin-left: 1rem;
  169. }
  170. .smaller-text {
  171. font-size: 0.6em;
  172. }
  173. .presentation-title {
  174. color: #071b1f;
  175. font-size: 1rem;
  176. line-height: 15px;
  177. letter-spacing: 1.8px;
  178. text-transform: uppercase;
  179. }
  180. .black-circle {
  181. border-radius: 3rem;
  182. background: #091d20;
  183. width: 7rem;
  184. height: 6rem;
  185. }
  186. .devis {
  187. font-weight: 500;
  188. font-size: 1rem;
  189. margin-left: 9rem;
  190. margin-top: -1rem;
  191. width: 7rem;
  192. }
  193. .logo-manager {
  194. top: 0.2rem;
  195. z-index: 1;
  196. }
  197. .rectangle-4 {
  198. width: 20rem;
  199. height: 6rem;
  200. background: rgba(32, 147, 190, 0.2);
  201. border-radius: 3rem;
  202. margin-left: 5rem;
  203. margin-top: 2rem;
  204. }
  205. .picto-text {
  206. font-weight: 300;
  207. font-size: 0.9rem;
  208. margin-top: -3rem;
  209. text-align: center;
  210. width: 50%;
  211. margin-right: auto;
  212. margin-left: auto;
  213. }
  214. .picto-container {
  215. display: flex;
  216. flex-direction: row;
  217. justify-content: space-around;
  218. }
  219. .picto-group {
  220. display: flex;
  221. flex-direction: column;
  222. align-items: center;
  223. margin-left: -4rem;
  224. }
  225. .icon-title {
  226. margin-right: 0.7rem;
  227. color: rgba(32, 147, 190, 0.6);
  228. }
  229. .text-square {
  230. margin-left: 2rem;
  231. margin-right: 2rem;
  232. margin-top: 0.9rem;
  233. text-align: center;
  234. }
  235. .icon {
  236. margin-top: 1rem;
  237. }
  238. .outil-title {
  239. font-weight: 600;
  240. font-size: 2.2rem;
  241. line-height: 18px;
  242. color: #091d20;
  243. margin-bottom: 4rem;
  244. }
  245. .outil-ul {
  246. }
  247. .outil-list {
  248. margin-left: 1rem;
  249. font-weight: 300;
  250. font-size: 1rem;
  251. line-height: 1.5rem;
  252. }
  253. .icon-logiciel {
  254. color: rgba(32, 147, 190, 0.6);
  255. margin-right: 1rem;
  256. }
  257. .container-green {
  258. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  259. rgba(7, 27, 31, 0.3);
  260. height: 40rem;
  261. }
  262. .picto-container {
  263. display: flex;
  264. flex-direction: row;
  265. }
  266. .title {
  267. display: flex;
  268. justify-content: center;
  269. align-items: center;
  270. font-weight: 600;
  271. font-size: 1.5rem;
  272. line-height: 18px;
  273. color: #091d20;
  274. width: 25rem;
  275. margin-left: 2rem;
  276. }
  277. .screen-img {
  278. margin-top: 2rem;
  279. margin-left: 3rem;
  280. }
  281. </style>