ContainerVideo.vue 1.6 KB

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