ContainerVideo.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. <p class="citation-school">
  8. {{ currentCitation }}
  9. </p>
  10. </v-col>
  11. </v-row>
  12. <v-col cols="6">
  13. <div class="subtitle-logiciel">
  14. <v-icon :size="10" class="fa-solid fa-circle icon-logiciel" :style="{color: iconColor}" />
  15. <h6>{{ currentSubtitle }}</h6>
  16. </div>
  17. <v-img src="/images/logiciels/school/screen2.png" class="screen-img-3" />
  18. </v-col>
  19. </v-row>
  20. </LayoutContainer>
  21. </div>
  22. </template>
  23. <script setup>
  24. import { computed } from 'vue';
  25. import { useRoute } from 'vue-router';
  26. const route = useRoute();
  27. const currentCitation = computed(() => {
  28. switch (route.path) {
  29. case '/opentalent_school':
  30. return "Pour les petits comme pour les grands établissements d’enseignement artistique.";
  31. case '/opentalent_artist':
  32. return "Le logiciel de gestion et communication au service de votre passion";
  33. default:
  34. return "Citation par défaut";
  35. }
  36. });
  37. const currentSubtitle = computed(() => {
  38. switch (route.path) {
  39. case '/opentalent_school':
  40. return "Logiciel Opentalent School";
  41. case '/opentalent_artist':
  42. return "LOGICIEL OPENTALENT ARTIST STANDARD";
  43. default:
  44. return "Sous-titre par défaut";
  45. }
  46. });
  47. const iconColor = computed(() => {
  48. if (route.path === '/opentalent_school') {
  49. return 'rgba(32, 147, 190, 0.6)';
  50. }
  51. else if ( route.path === '/opentalent_artist')
  52. return '#fac20a';
  53. });
  54. </script>
  55. <style scoped>
  56. .citation-school {
  57. font-style: italic;
  58. font-weight: 300;
  59. font-size: 2rem;
  60. width: 38rem;
  61. line-height: 40px;
  62. color: #ffffff;
  63. font-style: italic;
  64. margin-top: 27rem;
  65. margin-left: 2rem;
  66. }
  67. .subtitle-logiciel {
  68. display: flex;
  69. align-items: center;
  70. font-weight: 600;
  71. font-size: 1.5rem;
  72. line-height: 18px;
  73. color: #ffffff;
  74. margin-left: 5rem;
  75. margin-right: 15rem;
  76. margin-top: 4rem;
  77. top: 10rem;
  78. }
  79. .icon-logiciel {
  80. margin-right: 1rem;
  81. }
  82. .container-green {
  83. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  84. rgba(7, 27, 31, 0.3);
  85. height: 40rem;
  86. }
  87. </style>