Banner.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <template>
  2. <LayoutContainer>
  3. <LayoutUITitlePage title="Formation" subtitle="Prise en main ou piqûre de rappel,on est toujours à vos côtés. " />
  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>