codeplus / core /resources /views /components /author-avatar.blade.php
Softin Trading
Initial commit from Github
52d9fb0
Raw History Blame Contribute Delete
250 Bytes
@php
$image = @$author->avatar ? getImage(getFilePath('authorAvatar') . '/' . @$author->avatar) : siteFavicon();
@endphp
<img src="{{ $image }}" class="author-avatar {{ !@$author->avatar ? 'avatar-from-fav' : '' }}" alt="@lang('Author Image')" >