@if(Auth::user()->userTypeId==1)
@include('user-web.layouts.sidebar')
@else
@include('business.layouts.sidebar')
@endif
@if(Auth::user()->userTypeId==1) @include('user-web.layouts.head') @include('user-web.layouts.header') @else @include('business.layouts.head') @include('business.layouts.header') @endif @php if(Auth::user()->userTypeId==1){ $user=Auth::user(); $userDetail=$user->getUserDetail ?? ''; $images=$userDetail->postImages; $userIntrest=$user->getUserDetail->userIntrests ?? ''; $profileImage=$userDetail->getUserDetail->profileImageUrl ?? ""; } else{ $userDetail=Auth::user()->getBusinessDetail ?? ''; $images=$userDetail->postImages ?? ''; $userIntrest=$user->getBuinessDetail->userIntrests ?? ''; $profileImage=$userDetail->getBuinessDetail->profileImageUrl ?? ""; } @endphp