{"size": 1166, "ext": "js", "max_stars_repo_path": "public/js/welcome.js", "max_stars_repo_name": "Master-and-Commander/laravelproject", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/js/welcome.js", "max_issues_repo_name": "Master-and-Commander/laravelproject", "max_issues_repo_issues_event_min_datetime": "2021-03-10T18:01:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T04:39:57.000Z", "max_forks_repo_path": "public/js/welcome.js", "max_forks_repo_name": "Master-and-Commander/laravelproject", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 41.6428571429, "max_line_length": 216, "alphanum_fraction": 0.6646655232}
let messages = [{title: "trolls exist", content:"they steal your socks"}, {title: "In the news", content:"they are coming for you!"}, {title: "Quote of the day", content:"A scorpion's sting is worse than its bite"}];
let current = 0;

$(document).ready(function() {
    arthropodiacBannerCarouselAnimation();
    setInterval(arthropodiacBannerCarouselAnimation, 9000);    
});

function arthropodiacBannerCarouselAnimation() {
   let messageToShow = messages[current];
   current = (current + 1) % (messages.length);
   $(".arthropodiac-banner-header").html(messageToShow.title);
   $(".arthropodiac-banner-content").html(messageToShow.content);
   // transform: translate(-100%,0); // transform: translate(-100%,0);
   $(".arthropodiac-banner-header").attr("style", "opacity:0;left:-=100");
   $(".arthropodiac-banner-content").attr("style", "opacity:0;" );
   $(".arthropodiac-banner-hr").attr("style", "width:0px;" )
   

   $(".arthropodiac-banner-header").animate({
    opacity: '1',
    left: "+=100"
  }, 1000, "swing");
   $(".arthropodiac-banner-hr").animate({width: '15em' }, 2000);
   $(".arthropodiac-banner-content").animate({opacity: '1'}, 2000);  

}
