{"size": 2138, "ext": "js", "max_stars_repo_path": "asset/js/js.js", "max_stars_repo_name": "sumans88/mjm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "asset/js/js.js", "max_issues_repo_name": "sumans88/mjm", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "asset/js/js.js", "max_forks_repo_name": "sumans88/mjm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8604651163, "max_line_length": 67, "alphanum_fraction": 0.4658559401}
$(window).scroll(function() {    
    if ($(window).scrollTop()) {
        $(".top-header").addClass("h-0");
        $(".c-navbar").addClass("h-60");
    } else {
        $(".top-header").removeClass("h-0");
        $(".c-navbar").removeClass("h-60");
    };
});

var swiper = new Swiper(".swiper-certifications", {
    effect: "coverflow",
    grabCursor: true,
    centeredSlides: true,
    slidesPerView: "3",
    spaceBetween: 35,
    autoplay: {
        delay: 2500,
        disableOnInteraction: false,
    },
    coverflowEffect: {
      rotate: 50,
      stretch: 0,
      depth: 100,
      modifier: 1,
      slideShadows: true,
    },
    pagination: {
      el: ".swiper-pagination",
    },
    breakpoints: {
        // when window width is >= 320px
        320: {
          slidesPerView: 1,
          spaceBetween: 10
        },
        // when window width is >= 640px
        640: {
          spaceBetween: 20
        },
    },
});

var x = document.getElementsByClassName("slider-pt");

for(var i = 0; i < x.length; i++) {

    var el = x[i];
  
    var swiper = el.getElementsByClassName("swiper-container")[0];
    var nx = el.getElementsByClassName("swiper-next")[0];
    var pr = el.getElementsByClassName("swiper-prev")[0];

    new Swiper(swiper, {
        slidesPerView: 3,  
        spaceBetween: 30,
        autoHeight: false,
        loop: true,
        loopFillGroupWithBlank: true,
        navigation: {
          nextEl: nx,
          prevEl: pr
        },
        autoplay: {
            delay: 2500,
            disableOnInteraction: false,
        },
        breakpoints: {
            // when window width is >= 320px
            320: {
              slidesPerView: 1,
              spaceBetween: 10
            },
            // when window width is >= 480px
            480: {
              slidesPerView: 1,
              spaceBetween: 10
            },
            // when window width is >= 640px
            640: {
              slidesPerView: 2,
              spaceBetween: 20
            },
        },
    });
}