ContainerVideo.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <LayoutContainer>
  3. <div 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. </LayoutContainer>
  24. </template>
  25. <script setup lang="ts">
  26. import { useDisplay } from "vuetify";
  27. const { lgAndUp } = useDisplay()
  28. const props = defineProps({
  29. title: {
  30. type: String,
  31. required: true
  32. },
  33. quote: {
  34. type: String,
  35. required: true
  36. }
  37. })
  38. </script>
  39. <style scoped lang="scss">
  40. .v-container {
  41. padding: 0 !important;
  42. }
  43. .v-row {
  44. width: 90% !important;
  45. margin-left: auto !important;
  46. margin-right: auto !important;
  47. }
  48. .play-icon-container {
  49. position: absolute;
  50. top: 50%;
  51. left: 50%;
  52. transform: translate(-50%, -50%);
  53. font-size: 3rem;
  54. color: #ffffff;
  55. cursor: pointer;
  56. }
  57. .screen-img-3 {
  58. background-image: url("/images/logiciels/school/screen2.png");
  59. background-size: cover;
  60. background-position: center;
  61. width: 650px;
  62. height: 650px;
  63. @media (max-width: 1240px) {
  64. width: 400px;
  65. height: 400px;
  66. }
  67. }
  68. .quote {
  69. font-style: italic;
  70. font-weight: 300;
  71. font-size: 2rem;
  72. width: 35rem;
  73. line-height: 40px;
  74. color: #ffffff;
  75. margin-top: 27rem;
  76. margin-left: 2rem;
  77. }
  78. .icon-logiciel {
  79. margin-right: 1rem;
  80. }
  81. .container-green {
  82. background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
  83. rgba(7, 27, 31, 0.3);
  84. height: 40rem;
  85. @media (max-width: 1240px) {
  86. height: 400px;
  87. }
  88. }
  89. </style>