templates/layouts/footerjs.html.twig line 1

Open in your IDE?
  1. <script src="{{ asset('assets/js/vendor/modernizr-3.5.0.min.js') }}"></script>
  2. <script src="{{ asset('assets/js/vendor/jquery-3.6.0.min.js') }}"></script>
  3. <script src="{{ asset('assets/js/popper.min.js') }}"></script>
  4. <script src="{{ asset('assets/js/bootstrap.min.js') }}"></script>
  5. <script src="{{ asset('assets/js/isotope.pkgd.min.js') }}"></script>
  6. <script src="{{ asset('assets/js/slick.min.js') }}"></script>
  7. <script src="{{ asset('assets/js/jquery.meanmenu.min.js') }}"></script>
  8. <script src="{{ asset('assets/js/ajax-form.js') }}"></script>
  9. <script src="{{ asset('assets/js/wow.min.js') }}"></script>
  10. <script src="{{ asset('assets/js/jquery.scrollUp.min.js') }}"></script>
  11. <script src="{{ asset('assets/js/imagesloaded.pkgd.min.js') }}"></script>
  12. <script src="{{ asset('assets/js/jquery.magnific-popup.min.js') }}"></script>
  13. <script src="{{ asset('assets/js/waypoints.min.js') }}"></script>
  14. <script src="{{ asset('assets/js/jquery.counterup.min.js') }}"></script>
  15. <script src="{{ asset('assets/js/plugins.js') }}"></script>
  16. <script src="{{ asset('assets/js/swiper-bundle.min.js') }}"></script>
  17. <script src="{{ asset('assets/js/main.js') }}"></script>
  18. <script>
  19.     // On page load or when changing themes, best to add inline in `head` to avoid FOUC
  20.     if (localStorage.getItem("theme-color") === "dark" || (!("theme-color" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
  21.         document.getElementById("light--to-dark-button")?.classList.add("dark--mode");
  22.     } 
  23.     if (localStorage.getItem("theme-color") === "light") {
  24.         document.getElementById("light--to-dark-button")?.classList.remove("dark--mode");
  25.     } 
  26. </script>