mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Livewire UI installed
This commit is contained in:
27
resources/views/vendor/wireui/components/avatar.blade.php
vendored
Normal file
27
resources/views/vendor/wireui/components/avatar.blade.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<div {{ $attributes->class($avatarClasses) }}>
|
||||
@if ($label)
|
||||
<span class="font-medium text-white dark:text-gray-200">
|
||||
{{ $label }}
|
||||
</span>
|
||||
@endif
|
||||
|
||||
@if ($src)
|
||||
<img @class([
|
||||
'shrink-0 object-cover object-center',
|
||||
'rounded-sm' => $squared,
|
||||
'rounded-full' => !$squared,
|
||||
$size,
|
||||
])
|
||||
src="{{ $src }}"
|
||||
/>
|
||||
@endif
|
||||
|
||||
@if (!$src && !$label)
|
||||
<svg
|
||||
class="shrink-0 text-gray-300 bg-gray-100 dark:bg-gray-600"
|
||||
fill="currentColor"
|
||||
viewBox="0 0 24 24">
|
||||
<path d="M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z" />
|
||||
</svg>
|
||||
@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user