mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-24 02:16:10 +01:00
page specific js cleanup
This commit is contained in:
parent
9b2b77a3c5
commit
4c8d879a1b
@ -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
|
||||
|
9
_src/_assets/javascripts/page-cla.js
Normal file
9
_src/_assets/javascripts/page-cla.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
//=include bigchain/tab.js
|
||||
//=include bigchain/form-cla.js
|
||||
|
||||
jQuery(function($) {
|
||||
|
||||
// init form
|
||||
FormCla.init();
|
||||
});
|
@ -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',
|
||||
|
@ -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"]).
|
||||
|
Loading…
Reference in New Issue
Block a user