Skip to content

Commit

Permalink
combined js, removed video
Browse files Browse the repository at this point in the history
  • Loading branch information
SurendraBattula committed Oct 9, 2020
1 parent 132c197 commit adbb153
Show file tree
Hide file tree
Showing 20 changed files with 116 additions and 2,848 deletions.
11 changes: 10 additions & 1 deletion assets/css/app.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/css/app.min.css.map

This file was deleted.

11 changes: 0 additions & 11 deletions assets/css/fullpage.min.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/fullpage.min.css.map

This file was deleted.

Binary file modified assets/images/Home-img3-link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 19 additions & 15 deletions assets/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,6 @@ jQuery(function ($) {
}
]
});

var element = document.getElementById('causeAndPlayLottie');
lottie.loadAnimation({
container: element, // the dom element that will contain the animation
renderer: 'svg',
loop: true,
autoplay: true,
path: 'assets/json/cause-and-effect.json' // the path to the animation json
});
}
},
career: {
Expand Down Expand Up @@ -635,13 +626,26 @@ jQuery(function ($) {
});

$('#page_loader').fadeOut();

if($(".js-video-button").length) {
$(".js-video-button").modalVideo();
setTimeout(function() {
$(".js-video-button").trigger('click');
}, 500);

if ($('#causeAndPlayLottie').length) {
var causeAndPlayLottie = document.getElementById('causeAndPlayLottie');
lottie.loadAnimation({
container: causeAndPlayLottie, // the dom element that will contain the animation
renderer: 'svg',
loop: true,
autoplay: true,
path: 'assets/json/cause-and-effect.json' // the path to the animation json
});
}

// if($(".js-video-button").length) {
// $(".js-video-button").modalVideo();
// setTimeout(function() {
// $(".js-video-button").trigger('click');
// }, 500);
// }


}
}
},
Expand Down
Loading

0 comments on commit adbb153

Please sign in to comment.