| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <template>
- <LayoutNavigation />
- <LogicielsSchoolBanner />
- <LogicielsSchoolMenuScroll class="sticky-scroll" />
- <div v-if="shouldShowStickyMenu" id="sticky-menu">
- <LayoutUIStickyMenu
- :shouldShowStickyMenu="shouldShowStickyMenu"
- :squaresData="squaresData"
- />
- </div>
- <LogicielsSchoolPresentation />
- <LogicielsSchoolAvantages />
- <LogicielsSchoolFonctionnalites />
- <LogicielsSchoolComparatif />
- <LogicielsSchoolProjet />
- <LogicielsSchoolFormations />
- <LayoutCarouselTrustCompanie />
- <LogicielsSchoolReviews />
- <LayoutFAQ id="layout-footer" />
- <LayoutUISolutionsFooter id="layout-footer" />
- <LayoutFooter id="layout-footer" />
- </template>
- <script setup>
- import { ref, onMounted } from "vue";
- const shouldShowStickyMenu = ref(true);
- const squaresData = [
- {
- id: 1,
- bgColor: "blue-square",
- iconClass: "fa-regular fa-comments icon",
- text: "Nous contacter",
- },
- {
- id: 2,
- bgColor: "blue-square",
- iconClass: "fa-solid fa-circle-info icon",
- text: "Demander une demo",
- },
- {
- id: 3,
- bgColor: "blue-square",
- iconClass: "fa-brands fa-readme icon",
- text: "Brochure",
- },
- {
- id: 4,
- bgColor: "darkblue-square",
- iconClass: "fa-solid fa-phone icon",
- text: "Nous Appeler",
- },
- ];
- 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: 20rem;
- z-index: 1;
- margin-bottom: -30rem;
- float: right;
- }
- </style>
|