Add footer

This commit is contained in:
Moe Poi ~ 2021-11-10 12:02:21 +07:00
parent 7201ce6be6
commit ba893baadf

40
views/layouts/footer.ejs Normal file
View file

@ -0,0 +1,40 @@
<!-- AOS -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
<!-- JQUERY -->
<script crossorigin="anonymous" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<!-- Bootstrap -->
<script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
<!-- Lottie Player -->
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<!-- Feather -->
<script>
feather.replace()
</script>
<!-- State -->
<% if(state == "index") { %>
<!-- Popper js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<!-- Plugins -->
<script src="js/plugins/Isotope/isotope.pkgd.min.js"></script>
<script src="js/plugins/OwlCarousel2-2.2.1/owl.carousel.js"></script>
<script type="text/javascript" src="index.js"></script>
<% } else if(state == "bag") { %>
<script type="text/javascript" src="/js/bag.js"></script>
<% } else if(state == "login") { %>
<script type="text/javascript" src="/js/login.js"></script>
<% } else if(state == "register") { %>
<script type="text/javascript" src="/js/register.js"></script>
<% } else if(state == "otp") { %>
<script type="text/javascript" src="/js/otp.js"></script>
<% } %>