@if(Auth::guard('web')->check())
@php $bookmark_exists = App\Models\Bookmark::where('user_id',Auth::guard('web')->user()->id)->where('identity',$identity)->exists() @endphp
@if($bookmark_exists)
@else
user()->user_type == 1) data-route = "{{ route('client.bookmark') }}" @else data-route = "{{ route('freelancer.bookmark') }}" @endif>
@endif
@else
@endif