Version 4 with Laravel Mix
This commit is contained in:
parent
0cafd60448
commit
f0198f659b
32 changed files with 13032 additions and 352 deletions
34
header.php
34
header.php
|
@ -20,18 +20,26 @@
|
|||
<body <?php body_class(); ?>>
|
||||
<header class="header" role="banner">
|
||||
<div class="container">
|
||||
<a href="<?php echo get_bloginfo( 'url' ); ?>" class="header__logo">
|
||||
<?php echo is_front_page() ? '<h1>' : ''; ?>
|
||||
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/img/logo.svg" onerror="this.src='<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/img/logo.png'" alt="<?php echo get_bloginfo( 'title' ); ?>" />
|
||||
<?php echo is_front_page() ? '</h1>' : ''; ?>
|
||||
</a>
|
||||
<a href="#" class="nav-burger js-menu-toggle">
|
||||
<span class="nav-burger__line"></span>
|
||||
<span class="nav-burger__line"></span>
|
||||
<span class="nav-burger__line"></span>
|
||||
</a>
|
||||
<nav role="navigation" class="header__navigation">
|
||||
<?php wp_nav_menu(['theme_location' => 'header', 'menu_class' => 'nav nav--header']); ?>
|
||||
</nav>
|
||||
<div class="row row--flex items-center">
|
||||
<div class="col col--lg-3 col--md-3 col--sm-6 col--xs-6">
|
||||
<a href="<?php echo get_bloginfo( 'url' ); ?>" class="header__logo">
|
||||
<?php echo is_front_page() ? '<h1>' : ''; ?>
|
||||
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/img/logo.svg" alt="<?php echo get_bloginfo( 'title' ); ?>" />
|
||||
<?php echo is_front_page() ? '</h1>' : ''; ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col--lg-8 col--lg-offset-1 col--md-8 col--md-offset-1 col--sm-6 col--xs-6">
|
||||
<div class="header__navigation">
|
||||
<nav role="navigation">
|
||||
<?php wp_nav_menu(['theme_location' => 'header', 'menu_class' => 'nav nav--header']); ?>
|
||||
</nav>
|
||||
</div>
|
||||
<a href="#" class="nav-burger js-menu-toggle">
|
||||
<span class="nav-burger__line"></span>
|
||||
<span class="nav-burger__line"></span>
|
||||
<span class="nav-burger__line"></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue