@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 = filter_var($has_shadow, FILTER_VALIDATE_BOOLEAN); $hover_effect = filter_var($hover_effect, FILTER_VALIDATE_BOOLEAN); $hasShadow = filter_var($hasShadow, FILTER_VALIDATE_BOOLEAN); $has_border = filter_var($has_border, FILTER_VALIDATE_BOOLEAN); 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 }}