ContainerVideo.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <LayoutContainer>
  3. <div v-if="mdAndUp" class="container-green">
  4. <v-row class="mt-12">
  5. <v-row>
  6. <v-col cols="6">
  7. <LayoutUISubTitle class="mt-6">
  8. {{ title }}
  9. </LayoutUISubTitle>
  10. <p v-if="lgAndUp" class="quote">
  11. {{ quote }}
  12. </p>
  13. </v-col>
  14. <v-col cols="6">
  15. <div class="screen-img-3" />
  16. <div class="play-icon-container">
  17. <i class="fas fa-play"></i>
  18. </div>
  19. </v-col>
  20. </v-row>
  21. </v-row>
  22. </div>
  23. <div v-else>
  24. </div>
  25. </LayoutContainer>
  26. </template>
  27. <script setup lang="ts">
  28. import { useDisplay } from "vuetify";
  29. const { mdAndUp, lgAndUp } = useDisplay()
  30. const props = defineProps({
  31. title: {
  32. type: String,
  33. required: true
  34. },
  35. quote: {
  36. type: String,
  37. required: true
  38. }
  39. })
  40. </script>
  41. <style scoped lang="scss">
  42. .v-container {
  43. padding: 0 !important;
  44. }
  45. .v-row {
  46. width: 90% !important;
  47. margin-left: auto !important;
  48. margin-right: auto !important;
  49. }
  50. .play-icon-container {
  51. position: absolute;
  52. top: 50%;
  53. left: 50%;
  54. transform: translate(-50%, -50%);
  55. font-size: 3rem;
  56. color: #ffffff;
  57. cursor: pointer;
  58. }
  59. .screen-img-3 {
  60. background-image: url("/images/components/presentation/Ordinateur_avec_ecran_fiche_adherent_du_logiciel_Opentalent_Artist.png");
  61. background-size: cover;
  62. background-position: center;
  63. width: 650px;
  64. height: 650px;
  65. @media (max-width: 1240px) {
  66. width: 400px;
  67. height: 400px;
  68. }
  69. }
  70. .quote {
  71. font-style: italic;
  72. font-weight: 300;
  73. font-size: 2rem;
  74. width: 35rem;
  75. line-height: 40px;
  76. color: #ffffff;
  77. margin-top: 27rem;
  78. margin-left: 2rem;
  79. }
  80. .icon-logiciel {
  81. margin-right: 1rem;
  82. }
  83. .container-green {
  84. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  85. rgba(7, 27, 31, 0.3);
  86. height: 40rem;
  87. @media (max-width: 1240px) {
  88. height: 400px;
  89. }
  90. }
  91. </style>