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