fixed show page vendor image styling..

This commit is contained in:
Cüneyt Şentürk 2023-05-31 14:51:56 +03:00
parent acf002f35d
commit 3c015fcc54

View File

@ -8,9 +8,9 @@
<x-slot name="avatar"> <x-slot name="avatar">
@if ($contact->logo) @if ($contact->logo)
@if (is_object($contact->logo)) @if (is_object($contact->logo))
<img src="{{ Storage::url($contact->logo->id) }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}" title="{{ $contact->name }}"> <img src="{{ Storage::url($contact->logo->id) }}" class="absolute w-12 h-12 rounded-full hidden lg:block" alt="{{ $contact->name }}" title="{{ $contact->name }}">
@else @else
<img src="{{ asset('public/img/user.svg') }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}"/> <img src="{{ asset('public/img/user.svg') }}" class="absolute w-12 h-12 rounded-full hidden lg:block" alt="{{ $contact->name }}"/>
@endif @endif
{{ $contact->initials }} {{ $contact->initials }}