Add data into the homepage

This commit is contained in:
yflory
2017-01-18 18:02:32 +01:00
parent b9c4ceccd4
commit 69bee7d79a
19 changed files with 462 additions and 106 deletions

View File

@@ -181,6 +181,20 @@ define([
$('button.nologin').click(function (e) {
document.location.href = '/drive';
});
$('button.knowmore').click(function (e) {
e.preventDefault();
$('html, body').animate({
scrollTop: $('#knowmore').offset().top
}, 500);
});
$('button.tryit').click(function (e) {
e.preventDefault();
$('html, body').animate({
scrollTop: $('#tryit').offset().top
}, 500);
});
};
displayCreateButtons();