{$currentPage = !app('auth')->isLoggedin() ? 'my-account?redirectTo='.urlencode(func()->urlpath()) : 'account';} @if ($currentPage == 'account') @else @endif My account