Adding press section to resume
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user