diff --git a/assets/js/main.js b/assets/js/main.js index 762724b..cd942ed 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -164,74 +164,6 @@ } }); - /** - * Skills animation - */ - let skilsContent = select('.skills-content'); - if (skilsContent) { - new Waypoint({ - element: skilsContent, - offset: '80%', - handler: function(direction) { - let progress = select('.progress .progress-bar', true); - progress.forEach((el) => { - el.style.width = el.getAttribute('aria-valuenow') + '%' - }); - } - }) - } - - /** - * Porfolio isotope and filter - */ - window.addEventListener('load', () => { - let portfolioContainer = select('.portfolio-container'); - if (portfolioContainer) { - let portfolioIsotope = new Isotope(portfolioContainer, { - itemSelector: '.portfolio-item', - layoutMode: 'fitRows' - }); - - let portfolioFilters = select('#portfolio-flters li', true); - - on('click', '#portfolio-flters li', function(e) { - e.preventDefault(); - portfolioFilters.forEach(function(el) { - el.classList.remove('filter-active'); - }); - this.classList.add('filter-active'); - - portfolioIsotope.arrange({ - filter: this.getAttribute('data-filter') - }); - }, true); - } - - }); - - /** - * Initiate portfolio lightbox - */ - const portfolioLightbox = GLightbox({ - selector: '.portfolio-lightbox' - }); - - /** - * Portfolio details slider - */ - new Swiper('.portfolio-details-slider', { - speed: 400, - autoplay: { - delay: 5000, - disableOnInteraction: false - }, - pagination: { - el: '.swiper-pagination', - type: 'bullets', - clickable: true - } - }); - /** * Initiate Pure Counter */ diff --git a/index.html b/index.html index e1b90a8..8a1093d 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@
- @@ -67,7 +67,7 @@