1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 09:13:38 +01:00

remove login and main menus

This commit is contained in:
Matthias Kretschmann 2018-09-03 11:16:53 +02:00
parent da5b11a5d2
commit 00dadcd6e0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 0 additions and 79 deletions

View File

@ -11,7 +11,6 @@ $(document).ready(function(){
slider(); slider();
marketplaces(); marketplaces();
tourNav(); tourNav();
mobileNav();
stickyNav(); stickyNav();
function tourNav() { function tourNav() {
@ -74,35 +73,3 @@ function stickyNav() {
} }
}); });
} }
function mobileNav() {
var hamburger = $('.hamburger'),
popup = $('.mobile-nav');
hamburger.click(function(e) {
e.preventDefault();
// toggle popup
popup.toggleClass('active');
hamburger.toggleClass('open');
// bind the hide controls
$(document).bind('click.hidepopup', function() {
// hide popup
popup.removeClass('active');
hamburger.removeClass('open');
// unbind the hide controls
$(document).unbind('click.hidepopup');
});
// dont close thepop when you click on thepop
popup.on('click', function(e) {
e.stopPropagation();
});
// and dont close thepop now
e.stopPropagation();
});
}

View File

@ -24,18 +24,6 @@ require 'controller/init.php';
alt="ascribe logo" alt="ascribe logo"
class="logo phone-only"> class="logo phone-only">
</a> </a>
<div class="app-links">
<a href="<?php echo $signInLink; ?>">Log In</a>
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
</div>
<nav class="tour-switcher"><?php wp_nav_menu( array(
'theme_location' => 'landing-menu',
'container' => false
)); ?>
</nav>
<div class="mobile-nav">
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
</div>
</div> </div>
<div class="chevron-divider"></div> <div class="chevron-divider"></div>

View File

@ -25,24 +25,6 @@ require 'controller/init.php';
alt="ascribe logo" alt="ascribe logo"
class="logo phone-only"> class="logo phone-only">
</a> </a>
<div class="app-links">
<a href="<?php echo $signInLink; ?>">Log In</a>
<button class="hamburger phone-only">
<span></span>
</button>
</div>
<nav class="tour-switcher"><?php wp_nav_menu( array(
'theme_location' => 'landing-menu',
'container' => false
)); ?>
</nav>
</div>
</div>
<div class="row">
<div class="mobile-nav">
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
</div> </div>
</div> </div>
</header> </header>

View File

@ -31,28 +31,12 @@ $controller = new Controller();
class="logo phone-only"> class="logo phone-only">
</a> </a>
<div class="app-links">
<a href="<?php echo $signInLink; ?>">Log In</a>
<button class="hamburger phone-only">
<span></span>
</button>
</div>
<nav class="tour-switcher"><?php wp_nav_menu( array(
'theme_location' => 'landing-menu',
'container' => false
)); ?>
</nav>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<section class="description"> <section class="description">
<h1><?php echo $headerTagline; ?></h1> <h1><?php echo $headerTagline; ?></h1>
</section> </section>
<div class="mobile-nav">
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
</div>
</div> </div>
<div class="chevron-divider"></div> <div class="chevron-divider"></div>
</header> </header>