Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrchelani authored Apr 18, 2021
1 parent 24afeb5 commit c6ba389
Show file tree
Hide file tree
Showing 18 changed files with 2,732 additions and 0 deletions.
Binary file added ucp/assets/fonts/FontAwesome.otf
Binary file not shown.
Binary file added ucp/assets/fonts/fa-solid-900.woff2
Binary file not shown.
4 changes: 4 additions & 0 deletions ucp/assets/fonts/font-awesome.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions ucp/assets/fonts/fontawesome-all.min.css

Large diffs are not rendered by default.

Binary file added ucp/assets/fonts/fontawesome-webfont.eot
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions ucp/assets/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file added ucp/assets/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file added ucp/assets/fonts/fontawesome-webfont.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions ucp/assets/fonts/fontawesome5-overrides.min.css

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

Binary file added ucp/assets/img/avatars/avatar1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/img/avatars/avatar2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/img/avatars/avatar3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/img/avatars/avatar4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/img/avatars/avatar5.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ucp/assets/img/dogs/image2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions ucp/assets/js/jquery.min.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions ucp/assets/js/theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
(function($) {
"use strict"; // Start of use strict

// Toggle the side navigation
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
$("body").toggleClass("sidebar-toggled");
$(".sidebar").toggleClass("toggled");
if ($(".sidebar").hasClass("toggled")) {
$('.sidebar .collapse').collapse('hide');
};
});

// Close any open menu accordions when window is resized below 768px
$(window).resize(function() {
if ($(window).width() < 768) {
$('.sidebar .collapse').collapse('hide');
};
});

// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
if ($(window).width() > 768) {
var e0 = e.originalEvent,
delta = e0.wheelDelta || -e0.detail;
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
e.preventDefault();
}
});

// Scroll to top button appear
$(document).on('scroll', function() {
var scrollDistance = $(this).scrollTop();
if (scrollDistance > 100) {
$('.scroll-to-top').fadeIn();
} else {
$('.scroll-to-top').fadeOut();
}
});

// Smooth scrolling using jQuery easing
$(document).on('click', 'a.scroll-to-top', function(e) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: ($($anchor.attr('href')).offset().top)
}, 1000, 'easeInOutExpo');
e.preventDefault();
});

})(jQuery); // End of use strict

0 comments on commit c6ba389

Please sign in to comment.