ContainerVideo.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <div id="Presentation">
  3. <LayoutContainer>
  4. <div class="container-green">
  5. <v-row class="mt-12">
  6. <v-row>
  7. <v-col cols="6">
  8. <LayoutUISubTitle
  9. class="mt-6"
  10. :iconSize="5"
  11. :iconColor="iconColor"
  12. :titleText="titleText"
  13. :titleColor="'#ffffff'"
  14. />
  15. <p class="citation-school">
  16. {{ currentCitation }}
  17. </p>
  18. </v-col>
  19. <v-col cols="6">
  20. <div class="screen-img-3"></div>
  21. <div class="play-icon-container">
  22. <i class="fas fa-play"></i>
  23. </div>
  24. </v-col>
  25. </v-row>
  26. </v-row>
  27. </div>
  28. </LayoutContainer>
  29. </div>
  30. </template>
  31. <script setup>
  32. import { computed } from "vue";
  33. import { useRoute } from "vue-router";
  34. const route = useRoute();
  35. const titleText = computed(() => {
  36. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  37. return "Logiciel OpenTalent School";
  38. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  39. return "Logiciel OpenTalent Artist";
  40. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  41. return "Logiciel OpenTalent Manager";
  42. }
  43. });
  44. const currentCitation = computed(() => {
  45. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  46. return "Pour les petits comme pour les grands établissements d’enseignement artistique.";
  47. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  48. return "Le logiciel de gestion et communication au service de votre passion";
  49. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  50. return "Une solution unique, collaborative et innovante pour une gestion optimale de votre réseau culturel.";
  51. } else {
  52. return "Citation par défaut";
  53. }
  54. });
  55. const iconColor = computed(() => {
  56. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  57. return "rgba(32, 147, 190, 0.6)";
  58. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  59. return "#fac20a";
  60. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  61. return "rgb(216, 5, 11)";
  62. } else {
  63. return "rgba(32, 147, 190, 0.6)";
  64. }
  65. });
  66. </script>
  67. <style scoped>
  68. .play-icon-container {
  69. position: absolute;
  70. top: 50%;
  71. left: 50%;
  72. transform: translate(-50%, -50%);
  73. font-size: 3rem;
  74. color: white;
  75. cursor: pointer;
  76. }
  77. .v-row {
  78. width: 90% !important;
  79. margin-left: auto !important;
  80. margin-right: auto !important;
  81. }
  82. .v-container {
  83. padding: 0 !important;
  84. }
  85. .screen-img-3 {
  86. background-image: url("/images/logiciels/school/screen2.png");
  87. background-size: cover;
  88. background-position: center;
  89. width: 650px;
  90. height: 650px;
  91. }
  92. .citation-school {
  93. font-style: italic;
  94. font-weight: 300;
  95. font-size: 2rem;
  96. width: 35rem;
  97. line-height: 40px;
  98. color: #ffffff;
  99. font-style: italic;
  100. margin-top: 27rem;
  101. margin-left: 2rem;
  102. }
  103. .icon-logiciel {
  104. margin-right: 1rem;
  105. }
  106. .container-green {
  107. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  108. rgba(7, 27, 31, 0.3);
  109. height: 40rem;
  110. }
  111. </style>