<div class="top-menu">
  @if (!is_null($res['userinfo']) && (isset($res['userinfo']['me']) && !is_null($res['userinfo']['me'])))
    @include('layout.component.menu.top.loggedin')
    @include('layout.component.menu.top.inmylibrary')
  @else
    @include('layout.component.menu.top.loginmenu')
  @endif
  @include('layout.component.menu.top.oninstance')
</div>
