diff --git a/dist/js/main.min.js b/dist/js/main.min.js index 7321f38..bfd57cc 100644 --- a/dist/js/main.min.js +++ b/dist/js/main.min.js @@ -1 +1 @@ -!function(){const e=document,t=e.documentElement,i=e.body,n=window.sr=ScrollReveal({mobile:!1});t.classList.remove("no-js"),t.classList.add("js"),window.addEventListener("load",function(){i.classList.add("is-loaded")}),i.classList.contains("has-animations")&&window.addEventListener("load",function(){n.reveal(".features .section-title, .features-illustration, .feature",{delay:300,duration:600,distance:"60px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"bottom",viewFactor:.2,interval:150}),n.reveal(".feature-extended:nth-child(odd) .feature-extended-body, .feature-extended:nth-child(even) .feature-extended-image",{duration:600,distance:"40px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"right",viewFactor:.5}),n.reveal(".feature-extended:nth-child(even) .feature-extended-body, .feature-extended:nth-child(odd) .feature-extended-image",{duration:600,distance:"40px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"left",viewFactor:.5}),n.reveal(".pricing-table, .testimonial, .cta-inner",{duration:600,distance:"60px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"bottom",viewFactor:.5,interval:150})})}(); \ No newline at end of file +var ctx=document.getElementById("gdpChart"),gdpChart=new Chart(ctx,{type:"line",data:{labels:["1970","1980","1990","2000","2010","2020"],datasets:[{label:"Percent of U.S. GDP involving Giving",data:[2,4,1,6,4,2],backgroundColor:["rgba(255, 99, 132, 0.2)","rgba(54, 162, 235, 0.2)","rgba(255, 206, 86, 0.2)","rgba(75, 192, 192, 0.2)","rgba(153, 102, 255, 0.2)","rgba(255, 159, 64, 0.2)"],borderColor:["rgba(255,99,132,1)","rgba(54, 162, 235, 1)","rgba(255, 206, 86, 1)","rgba(75, 192, 192, 1)","rgba(153, 102, 255, 1)","rgba(255, 159, 64, 1)"],borderWidth:1}]},options:{scales:{yAxes:[{ticks:{beginAtZero:!0,min:0,max:100}}]},legend:{labels:{defaultFontSize:200}}}}),ctx_doughnut=document.getElementById("distributionChart"),data_doughnut={datasets:[{label:"Spending in sectors (billions)",data:[40,20,30],backgroundColor:["#3e95cd","#8e5ea2","#3cba9f","#e8c3b9","#c45850"]}],labels:["Hunger","Education","Disaster"]},myDoughnutChart=new Chart(ctx_doughnut,{type:"doughnut",data:data_doughnut,options:{title:{display:!0,text:"Spending in different sectors (billions)"}}});!function(){const e=document,t=e.documentElement,a=e.body,n=window.sr=ScrollReveal({mobile:!1});t.classList.remove("no-js"),t.classList.add("js"),window.addEventListener("load",function(){a.classList.add("is-loaded")}),a.classList.contains("has-animations")&&window.addEventListener("load",function(){n.reveal(".features .section-title, .features-illustration, .feature",{delay:300,duration:600,distance:"60px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"bottom",viewFactor:.2,interval:150}),n.reveal(".feature-extended:nth-child(odd) .feature-extended-body, .feature-extended:nth-child(even) .feature-extended-image",{duration:600,distance:"40px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"right",viewFactor:.5}),n.reveal(".feature-extended:nth-child(even) .feature-extended-body, .feature-extended:nth-child(odd) .feature-extended-image",{duration:600,distance:"40px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"left",viewFactor:.5}),n.reveal(".pricing-table, .testimonial, .cta-inner",{duration:600,distance:"60px",easing:"cubic-bezier(0.215, 0.61, 0.355, 1)",origin:"bottom",viewFactor:.5,interval:150})})}(); \ No newline at end of file