@props([
'style',
'anon',
'appendedIcons',
'user',
])
@if ($anon)
@if (auth()->user()->is($user) || auth()->user()->group->is_modo)
class('user-tag fas fa-eye-slash') }}
@if($user->is_donor == 1)
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);'. ($style ?? '')]) }}
@else
{{ $attributes->merge(['style' => 'background-image: ' . $user->group->effect . ';' . ($style ?? '')]) }}
@endif
>
(
{{ $user->username }}
@if($user->icon !== null)
@endif
@if($user->is_lifetime == 1)
@endif
@if($user->is_donor == 1 && $user->is_lifetime == 0)
@endif
{{ $appendedIcons ?? '' }}
)
@else
class('user-tag fas fa-eye-slash') }}>
({{ __('common.anonymous') }})
@endif
@else
class('user-tag') }}
@if($user->is_donor == 1)
{{ $attributes->merge(['style' => 'background-image: url(/img/sparkels.gif);'. ($style ?? '')]) }}
@else
{{ $attributes->merge(['style' => 'background-image: ' . $user->group->effect . ';' . ($style ?? '')]) }}
@endif
>
{{ $user->username }}
@if($user->icon !== null)
@endif
@if($user->is_lifetime == 1)
@endif
@if($user->is_donor == 1 && $user->is_lifetime == 0)
@endif
{{ $appendedIcons ?? '' }}
@endif