@php $communityPresenter = $community->present(); $themeAsset = $themeAsset ?? Theme::asset(); $isLoggedIn = $isLoggedIn ?? \Auth::check(); $loggedInUser = $loggedInUser ?? ($isLoggedIn ? \Auth::user() : null); $loggedInUserPresenter = $loggedInUserPresenter ?? ($loggedInUser ? $loggedInUser->present() : null); $communityPresenter = $communityPresenter ?? (isset($community) && $community ? $communityPresenter : null); @endphp