mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-24 18:36:11 +01:00
33 lines
660 B
JavaScript
33 lines
660 B
JavaScript
|
|
//=include bigchain/hero-video.js
|
|
//=include bigchain/smoothscroll.js
|
|
//=include bigchain/testimonials.js
|
|
//=include ../../../node_modules/vivus/dist/vivus.js
|
|
|
|
|
|
jQuery(function($) {
|
|
|
|
// hero stuff
|
|
HeroVideo.init();
|
|
|
|
$('.hero .logo').on('animationend webkitAnimationEnd oAnimationEnd',
|
|
function(e) {
|
|
$('.hero').addClass('is-ready');
|
|
}
|
|
);
|
|
|
|
// graph animation
|
|
var iconOptions = {
|
|
type: 'async',
|
|
start: 'inViewport',
|
|
duration: 200,
|
|
animTimingFunction: Vivus.EASE_OUT,
|
|
selfDestroy: true
|
|
};
|
|
|
|
new Vivus('bigchain-graph', iconOptions);
|
|
|
|
Testimonials.init();
|
|
|
|
});
|