@php use App\Libraries\FileSystem; use App\Libraries\General; if(str_contains($userData->image,'https://lh3.googleusercontent.com/')) { $profile_image = $userData->image; } else { $profile_image = General::renderProfileImage(FileSystem::getAllSizeImages($userData->image), 'large'); } @endphp @extends('dashboardLayout.frontlayout') @section('content')
@include('user.dashboard.partials.sidebar')
Profile Image
  • image,'https://lh3.googleusercontent.com/') || str_contains($profile_image,'noprofile.png') ? 'class=d-none' : '' }}>
{{ csrf_field() }}
{{--
--}}
@php $extension = pathinfo($userData['upload_cv'], PATHINFO_EXTENSION); @endphp @if(in_array($extension,['docx'])) @elseif(in_array($extension,['pdf'])) @elseif(in_array($extension,['doc'])) @elseif(in_array($extension,['txt'])) @endif
{{-- --}}
@endsection