Sample Page


Tamas Majoros













//var site_url = 'https://tamasmajoros.com';
//var page_on_front = 'front-page';
var cityLogicLayoutMode = 'citylogic-layout-mode-multi-page';
var cityLogicLayoutHighlightFirstMenuItem = true;
var cityLogicSliderTransitionSpeed = parseInt(450);
var cityLogicSliderPauseOnHover = false;
var cityLogicSliderTransitionEffect = 'uncover-fade';

var cityLogicSliderSpeed = false;

var cityLogicSolidifyStickerHeaderOnScroll = 0;

var cityLogicSolidifyStickerHeaderSpeed = 0;

var cityLogicStickyHeaderDeactivationBreakpoint = 800;
//var cityLogicSolidifyBreakpoint = 767;

// Early exit if a skip-link target can't be located.
if ( ! skipLinkTarget ) {
return;
}

// Get the site wrapper.
// The skip-link will be injected in the beginning of it.
parentEl = document.querySelector( '.wp-site-blocks' ) || document.body,

// Get the skip-link target's ID, and generate one if it doesn't exist.
skipLinkTargetID = skipLinkTarget.id;
if ( ! skipLinkTargetID ) {
skipLinkTargetID = 'wp--skip-link--target';
skipLinkTarget.id = skipLinkTargetID;
}

// Create the skip link.
skipLink = document.createElement( 'a' );
skipLink.classList.add( 'skip-link', 'screen-reader-text' );
skipLink.href = '#' + skipLinkTargetID;
skipLink.innerHTML = 'Skip to content';

// Inject the skip link.
parentEl.insertAdjacentElement( 'afterbegin', skipLink );
}() );