| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <template>
- <LayoutNavigation />
- <LogicielsArtistBanner />
- <CommonMenuScroll :menus="menus" class="mb-6" />
- <div v-if="shouldShowStickyMenu" id="sticky-menu">
- <CommonStickyMenu
- :shouldShowStickyMenu="shouldShowStickyMenu"
- :squaresData="squaresData"
- />
- </div>
- <LogicielsArtistPresentation />
- <LogicielsArtistAvantages />
- <LogicielsArtistFonctionnalites />
- <LogicielsArtistComparatif />
- <LogicielsArtistAbonnement />
- <LogicielsArtistFormations />
- <LogicielsArtistReviews />
- <LayoutFAQ />
- <LayoutFooterPrefooter />
- <LayoutFooter id="layout-footer" />
- </template>
- <script setup>
- import { ref, onMounted } from "vue";
- 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: "Abonnement", label: "Abonnement", element: null },
- { id: "Webinaires", label: "Wébinaires", element: null },
- { id: "Temoignages", label: "Témoignages", element: null },
- ]).value;
- const shouldShowStickyMenu = ref(true);
- const squaresData = [
- {
- id: 1,
- bgColor: "yellow-square",
- iconClass: "fa-regular fa-comments icon",
- text: "Nous contacter",
- url: "/nous-contacter",
- },
- {
- id: 2,
- bgColor: "yellow-square",
- iconClass: "fa-solid fa-circle-info icon",
- text: "Brochure",
- url: "https://www.opentalent.fr/fileadmin/stockage/commercial/plaquettes_commerciales/Depliant_Opentalent_Artist_23.pdf ",
- }
- ];
- onMounted(() => {
- const stickyMenu = document.getElementById("sticky-menu");
- const footer = document.getElementById("layout-footer");
- const observer = new IntersectionObserver(
- ([entry]) => {
- shouldShowStickyMenu.value = !entry.isIntersecting;
- },
- {
- root: null,
- threshold: 0,
- }
- );
- observer.observe(footer);
- });
- </script>
- <style scoped>
- #sticky-menu {
- position: sticky;
- top: 25rem;
- z-index: 10;
- margin-bottom: -35rem;
- float: right;
- }
- @media (max-width: 1800px) {
- #sticky-menu {
- top: 16rem;
- margin-bottom: -28rem;
- }
- }
- </style>
|