enhance(views): Move page section views to a sections directory (#2936)

Co-authored-by: Brandon Nifong <brandon@tendency.me>
This commit is contained in:
Ben Word
2022-01-10 16:00:11 -06:00
committed by GitHub
parent 489fd5af6b
commit 21491ce84f
5 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
<header class="banner">
<a class="brand" href="{{ home_url('/') }}">
{{ $siteName }}
</a>
@if (has_nav_menu('primary_navigation'))
<nav class="nav-primary" aria-label="{{ wp_get_nav_menu_name('primary_navigation') }}">
{!! wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'nav', 'echo' => false]) !!}
</nav>
@endif
</header>