diff --git a/_src/_assets/javascripts/bigchain.js b/_src/_assets/javascripts/bigchain.js index c158224..f1aa88b 100644 --- a/_src/_assets/javascripts/bigchain.js +++ b/_src/_assets/javascripts/bigchain.js @@ -2,19 +2,12 @@ //=include ../../../node_modules/svg4everybody/dist/svg4everybody.js //=include ../../../node_modules/jquery/dist/jquery.js -//=include ../../../node_modules/foundation-sites/js/foundation.core.js -//=include ../../../node_modules/foundation-sites/js/foundation.util.keyboard.js -//=include ../../../node_modules/foundation-sites/js/foundation.tabs.js - //=include bigchain/analytics.js //=include bigchain/forms.js //=include bigchain/dnt.js -//=include bigchain/tab.js -//=include bigchain/form-earlyaccess.js //=include bigchain/form-contact.js -//=include bigchain/form-cla.js -//=include bigchain/hero-video.js + jQuery(function($) { @@ -22,23 +15,11 @@ jQuery(function($) { // init modules // Forms.init(); - FormEarlyAccess.init(); - FormCla.init(); - - if ($('.hero-video').length > 0) { - HeroVideo.init(); - } if (!_dntEnabled()) { GoogleAnalytics.init(); } - $('.hero .logo').on('animationend webkitAnimationEnd oAnimationEnd', - function(e) { - $('.hero').addClass('is-ready'); - } - ); - // // Open all external links in new window diff --git a/_src/_assets/javascripts/page-cla.js b/_src/_assets/javascripts/page-cla.js new file mode 100644 index 0000000..aad73fc --- /dev/null +++ b/_src/_assets/javascripts/page-cla.js @@ -0,0 +1,9 @@ + +//=include bigchain/tab.js +//=include bigchain/form-cla.js + +jQuery(function($) { + + // init form + FormCla.init(); +}); diff --git a/_src/_assets/javascripts/page-front.js b/_src/_assets/javascripts/page-front.js index 848da87..8345338 100644 --- a/_src/_assets/javascripts/page-front.js +++ b/_src/_assets/javascripts/page-front.js @@ -1,10 +1,20 @@ +//=include bigchain/hero-video.js //=include bigchain/smoothscroll.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', diff --git a/_src/cla/index.md b/_src/cla/index.md index 1cbb1f5..f012124 100644 --- a/_src/cla/index.md +++ b/_src/cla/index.md @@ -2,6 +2,8 @@ layout: page title: Contributor License Agreement + +js: page-cla.min.js --- Before we can accept any contributions from you or the organization you represent, you or your organization must agree to license the contributions to others under some non-exclusive open licenses (as listed in the contributor license agreement ["Agreement"]).