1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-23 01:30:09 +01:00
wp-theme/template-header.php

41 lines
1.2 KiB
PHP
Raw Normal View History

2015-09-25 07:55:31 +02:00
<?php
/**
* Created by PhpStorm.
* User: sarahetter
* Date: 15-09-24
* Time: 5:32 PM
*/
2015-10-15 03:41:36 +02:00
require 'controller/init.php';
2015-11-03 14:59:46 +01:00
// FIXME:
$signInLink = '/app/login';
$signUpLink = '/app/signup';
2015-09-25 07:55:31 +02:00
?>
<header>
2015-10-17 02:32:29 +02:00
<div class="sticky">
<div class="centered-header">
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-black.png" class="logo phone-and-up"></a>
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-black.svg" class="logo phone-only"></a>
2015-09-25 07:55:31 +02:00
<div class="app-links">
2015-11-03 14:50:24 +01:00
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
2015-10-17 02:32:29 +02:00
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
2015-09-25 07:55:31 +02:00
</div>
2015-10-16 05:27:03 +02:00
<nav class="tour-switcher"><?php wp_nav_menu( array(
'theme_location' => 'landing-menu',
'container' => false
)); ?>
</nav>
2015-10-17 02:32:29 +02:00
</div>
</div>
<div class="centered-header">
<div class="mobile-nav">
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
</div>
2015-09-25 07:55:31 +02:00
</div>
</header>
<div class="chevron-divider"></div>