
<header class="main-header main-header__two">
  <div class="topbar-two">
    <div class="container">
      <div class="topbar-two__left">
        <div class="topbar__social">
          <a target="_new" href="https://www.facebook.com/CapitaniaMachareti" class="fab fa-facebook-square"></a>
          <a target="_new" href="https://www.youtube.com/channel/UC1wHU52oLAqfrC8eHO4xkpQ/videos" class="fab fa-youtube"></a>
          <a href="#" class="fab fa-instagram"></a>
        </div><!-- /.topbar__social -->
      </div><!-- /.topbar-two__left -->
      <div class="topbar-two__right">
        <div class="main-menu__login">
          @if(Auth::user())
            <a href="#">
              <i class="organik-icon-user"></i>
              {{Auth::user()->name}}
            </a>
            <a href="{{ url('/logout') }}">
              <i class="organik-icon-close"></i>
              Cerrar sesión
            </a>
            @else
            <a href="{{ url('/login') }}">
              <i class="organik-icon-user"></i>
              Inicio de sesión
            </a>
          @endif
        </div><!-- /.main-menu__login -->
      </div><!-- /.topbar-two__right -->
    </div><!-- /.container -->
  </div><!-- /.topbar -->
  <nav class="main-menu main-menu__two">
    <div class="container">
      <div class="main-logo">
        <a href="{{url('/')}}" class="logo">
          <img src="{{asset('assets/images/logo/logo-white.png')}}" width="105" alt="">
        </a>
        <div class="mobile-nav__buttons">
          <!-- <a href="#" class="search-toggler"><i class="organik-icon-magnifying-glass"></i></a> -->
        </div><!-- /.mobile__buttons -->
        <span class="fa fa-bars mobile-nav__toggler"></span>
      </div><!-- /.main-logo -->
      <ul class="main-menu__list">
        <!-- <li>
          <a href="{{url('/')}}">Inicio </a>
          <small class="text-small">Inicio</small>
        </li> -->
        <li>
          <a href="{{url('nuestra-historia/blog/resena-historica-de-la-capitania-zona-machareti')}}">Historia </a>
          <small class="text-small">Arakae ndaye</small>
        </li>
        <li>
          <a href="{{url('autoridades/blog/autoridades')}}">Autoridades</a>
          <small class="text-small">Mburuvichareta</small>
        </li>
        <li>
          <a href="{{url('noticias/blog')}}">
            <span class="badge badge-danger mr-1">
              <i class="fas fa-bullhorn"></i>
            </span>
            @php
              $nuevos = DB::table('contents')->where('publish_up', date('Y-m-d') )->count();
              if( $nuevos ){ echo ''; } @endphp 
            Noticias
          </a>
          <small class="text-small">Momarandu </small>
        </li>
        <li>
          <a href="{{url('hermanos/blog/tentaras')}}">Hermanos</a>
          <small class="text-small">Tentara </small>
        </li>
        <li class="dropdown">
          <a href="#">Archivo</a>
          <small class="text-small">Ñee Georata </small>
          <ul>
            <li><a href="{{url('multimedia')}}">Multimedia</a></li>
            <li><a href="{{url('documentos')}}">Documentos</a></li>
          </ul>
        </li> 
      </ul>

      <!-- <div class="topbar__buttons">
          <a href="#" class="search-toggler"><i class="organik-icon-magnifying-glass"></i></a>
      </div> -->

    </div>
  </nav>
  <!-- /.main-menu -->
</header><!-- /.main-header -->


<div class="mobile-nav__wrapper">
  <div class="mobile-nav__overlay mobile-nav__toggler"></div>
  <!-- /.mobile-nav__overlay -->
  <div class="mobile-nav__content">
    <span class="mobile-nav__close mobile-nav__toggler"
      ><i class="organik-icon-close"></i
    ></span>

    <div class="logo-box">
      <a href="{{url('/')}}" aria-label="logo image"
        ><img src="{{asset('assets/images/logo/logo-white.png')}}" width="155" alt=""
      /></a>
    </div>
    <!-- /.logo-box -->
    <div class="mobile-nav__container"></div>
    <!-- /.mobile-nav__container -->

    <ul class="mobile-nav__contact list-unstyled">
      <li>
        <i class="organik-icon-email"></i>
        <a href="mailto:macharetieivo@gmail.com">macharetieivo@gmail.com</a>
      </li>
      <li>
        <i class="organik-icon-calling"></i>
        <a target="_new" href="https://api.whatsapp.com/send?phone=59167356066&text=Hola%2C%20acabo%20de%20visitar%20tu%20sitio%20web">(+ 591) 673 56066</a>
      </li>
    </ul>
    <!-- /.mobile-nav__contact -->
    <div class="mobile-nav__top"> 
      <!-- /.mobile-nav__language -->
      <div class="main-menu__login">
        @if(Auth::user())
          <a href="#">
            <i class="organik-icon-user"></i>
            {{Auth::user()->name}}
          </a>
          <a href="{{ url('/logout') }}">
            <i class="organik-icon-close"></i>
            Cerrar sesión
          </a>
          @else
          <a href="{{ url('/login') }}">
            <i class="organik-icon-user"></i>
            Inicio de sesión
          </a>
        @endif
      </div>
      <!-- /.main-menu__login -->
    </div>
    <!-- /.mobile-nav__top -->
  </div>
  <!-- /.mobile-nav__content -->
</div>
<!-- /.mobile-nav__wrapper -->

 