Banner.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <LayoutContainer>
  3. <LayoutUITitlePage title="webinaires" subtitle="Partez à la découverte de vos logiciels Opentalent. " />
  4. <v-row>
  5. <v-col cols="12" style="position: relative">
  6. <img
  7. src="/images/formation/banner.jpg"
  8. alt="line"
  9. class="cover-image"
  10. />
  11. <div class="image-text mt-12">
  12. Et si vous passiez rapidement à la vitesse supérieure...
  13. </div>
  14. </v-col>
  15. </v-row>
  16. <v-row>
  17. <v-col cols="12" class="menu-container">
  18. <div v-for="menu in menus" :key="menu.label">
  19. <v-chip v-if="state.activeMenu === menu.label" class="active-menu">
  20. {{ menu.label }}
  21. </v-chip>
  22. <span v-else>{{ menu.label }}</span>
  23. </div>
  24. </v-col>
  25. </v-row>
  26. </LayoutContainer>
  27. </template>
  28. <script setup>
  29. </script>
  30. <style scoped>
  31. .image-text {
  32. position: absolute;
  33. top: 40px;
  34. left: 20px;
  35. font-family: "Barlow";
  36. color: white;
  37. font-size: 3rem;
  38. width: 30rem;
  39. font-style: italic;
  40. font-weight: 300;
  41. line-height: 40px;
  42. }
  43. :deep().subtitle {
  44. font-size: 1.5rem;
  45. line-height: 2rem;
  46. letter-spacing: .1rem;
  47. margin-bottom: 1rem;
  48. }
  49. .formation {
  50. font-family: "Barlow";
  51. font-style: normal;
  52. font-weight: 600;
  53. font-size: 90px;
  54. line-height: 85px;
  55. text-align: center;
  56. color: #000000;
  57. margin-bottom: 1rem;
  58. }
  59. .menu-container {
  60. display: flex;
  61. justify-content: space-around;
  62. padding: 1rem 10rem;
  63. background: white;
  64. color: #bbb8b8;
  65. font-family: "Barlow";
  66. font-size: 12px;
  67. line-height: 16px;
  68. display: flex;
  69. align-items: center;
  70. text-align: center;
  71. letter-spacing: 0.18em;
  72. text-transform: uppercase;
  73. }
  74. .v-chip.active-menu {
  75. background: black;
  76. color: white;
  77. }
  78. .cover-image {
  79. width: 100%;
  80. height: 35rem;
  81. object-fit: cover;
  82. object-position: center 30%;
  83. margin: 0 auto;
  84. transform: scaleX(-1);
  85. }
  86. </style>