@if(file_exists(base_path(findAvatar(Auth::user()->id))))
@elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
@else
@endif
@if(file_exists(base_path(findAvatar(Auth::user()->id))))
@endif
@if($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@foreach($pages as $page)