@if ($this->smartAlbums->isEmpty() && $this->albums->isEmpty() && $this->sharedAlbums->isEmpty())
{{ __('lychee.VIEW_NO_PUBLIC_ALBUMS') }}
@else
@if ($this->smartAlbums->count() > 0)
@foreach ($this->smartAlbums as $album)
@endforeach
@if ($this->albums->count() > 0)
@endif
@endif
@if ($this->albums->count() > 0)
@foreach ($this->albums as $album)
@endforeach
@endif
@php
$oldUsername = '';
@endphp
@if ($this->sharedAlbums->count() > 0)
@foreach ($this->sharedAlbums as $album)
@if ($oldUsername !== $album->owner->username)
@php
$oldUsername = $album->owner->username;
@endphp
@endif
@endforeach
@endif
@endif
@guest