@props([ 'hover_effect' => config('bladewind.contact_card.hover_effect', false), 'has_shadow' => config('bladewind.contact_card.has_shadow', true), 'hasShadow' => true, 'image' => asset('vendor/bladewind/images/avatar.png'), 'name' => null, 'mobile' => null, 'email' => null, 'department' => null, 'position' => null, 'birthday' => null, 'class' => '', 'has_border' => true, ]) @php $has_shadow = parseBladewindVariable($has_shadow); $hover_effect = parseBladewindVariable($hover_effect); $hasShadow = parseBladewindVariable($hasShadow); $has_border = parseBladewindVariable($has_border); if(!$hasShadow) $has_shadow = $hasShadow; @endphp
{{ $name }}
{{ $department }} @if($department && $position) @endif {!! $position !!}
@if($mobile)
{{ $mobile }}
@endif @if($email)
{!! $email !!}
@endif @if($birthday)
{{ $birthday }}
@endif
{{ $slot }}