|
|
@@ -31,19 +31,19 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
-import { ref } from "vue";
|
|
|
-import { StickyMenuAction } from "~/types/interface";
|
|
|
+import { MenuScroll, StickyMenuAction } from "~/types/interface";
|
|
|
import { StickyMenuActionType } from "~/types/enum/layout";
|
|
|
|
|
|
-const menus = ref([
|
|
|
- { id: "Presentation", label: "Présentation", element: null },
|
|
|
- { id: "Avantages", label: "Avantages", element: null },
|
|
|
- { id: "Fonctionnalites", label: "Fonctionnalités", element: null },
|
|
|
- { id: "Comparatif", label: "Comparatif", element: null },
|
|
|
- { id: "Contact", label: "Contact", element: null },
|
|
|
- { id: "Formations", label: "Formations", element: null },
|
|
|
- { id: "Temoignages", label: "Temoignages", element: null },
|
|
|
-]).value;
|
|
|
+const menus: Array<MenuScroll> = [
|
|
|
+ { anchor: "presentation", label: "Présentation" },
|
|
|
+ { anchor: "benefits", label: "Avantages" },
|
|
|
+ { anchor: "functionalities", label: "Fonctionnalités" },
|
|
|
+ { anchor: "comparative", label: "Comparatif" },
|
|
|
+ { anchor: "contact", label: "Contact" },
|
|
|
+ { anchor: "webinars", label: "Wébinaires" },
|
|
|
+ { anchor: "testimonials", label: "Témoignages" },
|
|
|
+];
|
|
|
+
|
|
|
|
|
|
|
|
|
const stickyMenuActions: Array<StickyMenuAction> = [
|