Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shrudra authored Jul 27, 2024
1 parent 8c5df97 commit 90d2a7f
Show file tree
Hide file tree
Showing 7 changed files with 681 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/breakpoints.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/browser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.dropotron.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/js/jquery.scrollex.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
Alpha 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'),
$header = $('#header'),
$banner = $('#banner');

// Breakpoints.
breakpoints({
wide: ( '1281px', '1680px' ),
normal: ( '981px', '1280px' ),
narrow: ( '737px', '980px' ),
narrower: ( '737px', '840px' ),
mobile: ( '481px', '736px' ),
mobilep: ( null, '480px' )
});

// Play initial animations on page load.
$window.on('load', function() {
window.setTimeout(function() {
$body.removeClass('is-preload');
}, 100);
});

// Dropdowns.
$('#nav > ul').dropotron({
alignment: 'right'
});

// NavPanel.

// Button.
$(
'<div id="navButton">' +
'<a href="#navPanel" class="toggle"></a>' +
'</div>'
)
.appendTo($body);

// Panel.
$(
'<div id="navPanel">' +
'<nav>' +
$('#nav').navList() +
'</nav>' +
'</div>'
)
.appendTo($body)
.panel({
delay: 500,
hideOnClick: true,
hideOnSwipe: true,
resetScroll: true,
resetForms: true,
side: 'left',
target: $body,
visibleClass: 'navPanel-visible'
});

// Header.
if (!browser.mobile
&& $header.hasClass('alt')
&& $banner.length > 0) {

$window.on('load', function() {

$banner.scrollex({
bottom: $header.outerHeight(),
terminate: function() { $header.removeClass('alt'); },
enter: function() { $header.addClass('alt reveal'); },
leave: function() { $header.removeClass('alt'); }
});

});

}

})(jQuery);
Loading

0 comments on commit 90d2a7f

Please sign in to comment.