Adding press section to resume

This commit is contained in:
JayWll
2020-05-23 17:08:24 -06:00
parent 174100e0bd
commit 5d19cdc897
9 changed files with 135 additions and 32 deletions

View File

@@ -2,10 +2,12 @@
"use strict"; // Start of use strict
// Apply masonry layout to cards
$('.masonry').masonry({
itemSelector: '.masonry-wrapper'
});
$('.masonry').each(function() {
var opts = { itemSelector: '.masonry-wrapper' }
if ($(this).children().length < 6) opts.horizontalOrder = true
$(this).masonry(opts)
})
// Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {