HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/wingssprayer.komma.pro/resources/views/components/person.blade.php
@php
    //If no image is set, use a placeholder image
    $personImage = $personImage ?? "/img/placeholders/person.svg";
@endphp

<div class="c-person">
    <figure class="c-person__figure">
        <img class="c-person__image" src="{{$personImage}}">
    </figure>

    <div class="c-person__name">
        @if(isset($personName) && (!isset($vacancy) || $vacancy === false))
            <p class="c-person__name">{{$personName}}</p>
        @endif
        @if(isset($personFunction) && (!isset($vacancy) || $vacancy === false))
            <p class="c-person__function">{{$personFunction}}</p>
        @endif
        @if(isset($vacancy) && $vacancy === true && isset($personName))
            <p class="c-person__desc">
                Vragen over deze vacature? <br/>
                <span>Bel naar +31 (0)495 69 74 11
                en vraag naar {{$personName}}</span></p>
        @endif
    </div>

</div>