ContainerVideo.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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="titleText"
  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 titleText = computed(() => {
  31. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  32. return "Logiciel OpenTalent School";
  33. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  34. return "Logiciel OpenTalent Artist";
  35. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  36. return "Logiciel OpenTalent Manager";
  37. }
  38. });
  39. const currentCitation = computed(() => {
  40. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  41. return "Pour les petits comme pour les grands établissements d’enseignement artistique.";
  42. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  43. return "Le logiciel de gestion et communication au service de votre passion";
  44. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  45. return "“ Une solution unique, collaborative et innovante pour une gestion optimale de votre réseau culturel.“.";
  46. } else {
  47. return "Citation par défaut";
  48. }
  49. });
  50. const iconColor = computed(() => {
  51. if (/^\/opentalent_school(\/|$)/.test(route.path)) {
  52. return "rgba(32, 147, 190, 0.6)";
  53. } else if (/^\/opentalent_artist(\/|$)/.test(route.path)) {
  54. return "#fac20a";
  55. } else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
  56. return "rgb(216, 5, 11)";
  57. } else {
  58. return "rgba(32, 147, 190, 0.6)";
  59. }
  60. });
  61. </script>
  62. <style scoped>
  63. .screen-img-3 {
  64. background-image: url("/images/logiciels/school/screen2.png");
  65. background-size: cover;
  66. background-position: center;
  67. width: 100%;
  68. height: 100%;
  69. }
  70. .citation-school {
  71. font-style: italic;
  72. font-weight: 300;
  73. font-size: 2rem;
  74. width: 38rem;
  75. line-height: 40px;
  76. color: #ffffff;
  77. font-style: italic;
  78. margin-top: 27rem;
  79. margin-left: 2rem;
  80. }
  81. .icon-logiciel {
  82. margin-right: 1rem;
  83. }
  84. .container-green {
  85. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  86. rgba(7, 27, 31, 0.3);
  87. height: 40rem;
  88. }
  89. </style>