Se tunea Redmine para tener una página de inicio solo para usuarios anónimos
This commit is contained in:
parent
d2fc48bda8
commit
3c31ac4771
26 changed files with 3910 additions and 15 deletions
53
public/themes/circlepro/javascripts/frontpage/main.js
Normal file
53
public/themes/circlepro/javascripts/frontpage/main.js
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
Spectral by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
var $window = $(window),
|
||||
$body = $('body'),
|
||||
$wrapper = $('#fp'),
|
||||
$banner = $('#fp-banner'),
|
||||
$header = $('#header');
|
||||
|
||||
// Breakpoints.
|
||||
breakpoints({
|
||||
xlarge: [ '1281px', '1680px' ],
|
||||
large: [ '981px', '1280px' ],
|
||||
medium: [ '737px', '980px' ],
|
||||
small: [ '481px', '736px' ],
|
||||
xsmall: [ null, '480px' ]
|
||||
});
|
||||
|
||||
// Play initial animations on page load.
|
||||
$window.on('load', function() {
|
||||
window.setTimeout(function() {
|
||||
$body.removeClass('is-preload');
|
||||
}, 100);
|
||||
});
|
||||
|
||||
// Mobile?
|
||||
if (browser.mobile)
|
||||
$body.addClass('is-mobile');
|
||||
else {
|
||||
|
||||
breakpoints.on('>medium', function() {
|
||||
$body.removeClass('is-mobile');
|
||||
});
|
||||
|
||||
breakpoints.on('<=medium', function() {
|
||||
$body.addClass('is-mobile');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// Scrolly.
|
||||
$('.scrolly')
|
||||
.scrolly({
|
||||
speed: 1500,
|
||||
offset: $header.outerHeight() + 31
|
||||
});
|
||||
|
||||
})(jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue