header.blade.php 1.2 KB

12345678910111213141516171819202122
  1. <header class="border-b border-jlg-light-white py-4 h-1/12 shadow-xlg fixed top-0 w-full bg-jlg-dark-blue flex flex-row justify-between items-center z-10">
  2. <div class="text-sm">
  3. <button class="bg-jlg-xlight-white hover:bg-jlg-hxlight-white active:bg-jlg-axlight-white px-4 py-2 rounded-full border-jlg-hxlight-white border ml-6 transition-colors">MES CONTRIBUTIONS</button>
  4. <button class="bg-jlg-xlight-white hover:bg-jlg-hxlight-white active:bg-jlg-axlight-white px-4 py-2 rounded-full border-jlg-hxlight-white border ml-6 transition-colors">EXPORT</button>
  5. </div>
  6. <a class="brand text-center text-2xl leading-none" href="{{ home_url('/') }}">
  7. <!-- {!! $siteName !!} -->
  8. <span class="font-caslon uppercase">Partition<br></span>
  9. <span class="font-caslon italic">Le Livre d'Image</span>
  10. </a>
  11. <div class="mr-6">
  12. <input type="search" class="px-4 py-2 rounded bg-jlg-xlight-white text-sm" placeholder="RECHERCHER">
  13. </div>
  14. @if (has_nav_menu('primary_navigation'))
  15. <nav class="nav-primary" aria-label="{{ wp_get_nav_menu_name('primary_navigation') }}">
  16. {!! wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'nav', 'echo' => false]) !!}
  17. </nav>
  18. @endif
  19. </header>