@php
$filePath = $company->logoFile->file_name;
$fileName = basename($filePath);
$fileExt = pathinfo($fileName, PATHINFO_EXTENSION);
@endphp
Uploaded File: {{ $fileName }}
@if (in_array($fileExt, ['jpg', 'jpeg', 'png', 'svg']))
 }})
@elseif($fileExt === 'pdf')
View PDF Logo
@endif
@endif