ContainerVideo.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <div id="Presentation">
  3. <LayoutContainer>
  4. <v-row class="container-green mt-12">
  5. <v-row>
  6. <v-col cols="6">
  7. <LayoutUISubTitle
  8. class="mt-6"
  9. :iconSize="5"
  10. :iconColor="iconColor"
  11. :titleText="'Logiciel Opentalent School'"
  12. :titleColor="'#ffffff'"
  13. />
  14. <p class="citation-school">
  15. {{ currentCitation }}
  16. </p>
  17. </v-col>
  18. </v-row>
  19. <v-col cols="6">
  20. <div class="screen-img-3"></div>
  21. </v-col>
  22. </v-row>
  23. </LayoutContainer>
  24. </div>
  25. </template>
  26. <script setup>
  27. import { computed } from "vue";
  28. import { useRoute } from "vue-router";
  29. const route = useRoute();
  30. const currentCitation = computed(() => {
  31. // Utilisation d'une expression régulière pour vérifier le chemin
  32. if (/^\/opentalent_school\/?$/.test(route.path)) {
  33. return "Pour les petits comme pour les grands établissements d’enseignement artistique.";
  34. } else if (route.path === "/opentalent_artist") {
  35. return "Le logiciel de gestion et communication au service de votre passion";
  36. } else if (route.path === "/opentalent_manager") {
  37. return "“ Une solution unique, collaborative et innovante pour une gestion optimale de votre réseau culturel.“.";
  38. } else {
  39. return "Citation par défaut";
  40. }
  41. });
  42. const iconColor = computed(() => {
  43. if (/^\/opentalent_school\/?$/.test(route.path)) {
  44. return "rgba(32, 147, 190, 0.6)";
  45. } else if (/^\/opentalent_artist\/?$/.test(route.path)) {
  46. return "#fac20a";
  47. } else if (/^\/opentalent_manager\/?$/.test(route.path)) {
  48. return "rgb(216, 5, 11)";
  49. } else {
  50. return "rgba(32, 147, 190, 0.6)";
  51. }
  52. });
  53. </script>
  54. <style scoped>
  55. .screen-img-3 {
  56. background-image: url("/images/logiciels/school/screen2.png");
  57. background-size: cover;
  58. background-position: center;
  59. width: 100%;
  60. height: 100%;
  61. }
  62. .citation-school {
  63. font-style: italic;
  64. font-weight: 300;
  65. font-size: 2rem;
  66. width: 38rem;
  67. line-height: 40px;
  68. color: #ffffff;
  69. font-style: italic;
  70. margin-top: 27rem;
  71. margin-left: 2rem;
  72. }
  73. .icon-logiciel {
  74. margin-right: 1rem;
  75. }
  76. .container-green {
  77. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  78. rgba(7, 27, 31, 0.3);
  79. height: 40rem;
  80. }
  81. </style>