Olivier Massot 1 anno fa
parent
commit
9af5f75c23
3 ha cambiato i file con 19 aggiunte e 9 eliminazioni
  1. 8 8
      components/Common/MenuScroll.vue
  2. 0 1
      components/Webinaire/Catalogue.vue
  3. 11 0
      plugins/i18n.ts

+ 8 - 8
components/Common/MenuScroll.vue

@@ -10,14 +10,6 @@ Menu de navigation entre les sections d'une page, accrochée au haut de l'écran
           density="compact"
           :class="{ 'sticky-menu': isSticky }"
         >
-          <nuxt-link
-            v-if="isSticky"
-            :to="{ path: '', hash: '#top' }"
-            class="px-3 py-1"
-          >
-            <v-icon icon="fa fa-angle-up" />
-          </nuxt-link>
-
           <div v-for="menu in menus" :key="menu.anchor">
             <nuxt-link :to="{ path: '', hash: '#' + menu.anchor }">
               <v-list-item
@@ -27,6 +19,14 @@ Menu de navigation entre les sections d'une page, accrochée au haut de l'écran
               </v-list-item>
             </nuxt-link>
           </div>
+
+          <nuxt-link
+            v-if="isSticky"
+            :to="{ path: '', hash: '#top' }"
+            class="px-3 py-1"
+          >
+            <v-icon icon="fa fa-angle-up" />
+          </nuxt-link>
         </v-list>
       </v-col>
     </v-row>

+ 0 - 1
components/Webinaire/Catalogue.vue

@@ -103,7 +103,6 @@
 
                 <iframe
                   :src="webinaireCalendars[selectedWebinar]"
-                  width="700"
                   height="700"
                 />
               </v-card-text>

+ 11 - 0
plugins/i18n.ts

@@ -0,0 +1,11 @@
+import { defineNuxtPlugin } from '#app'
+
+export default defineNuxtPlugin((nuxtApp) => {
+  const i18nHead = useLocaleHead()
+
+  useHead({
+    htmlAttrs: {
+      lang: i18nHead.value.htmlAttrs!.lang
+    }
+  })
+})