@foreach($directory_list as $listing)
    <a href="{{ $listing->link }}" target="_blank">
        <div class="directory-box">
            <div class="directory-header">
                <h2>{{ $listing->company }}</h2>
            </div>
            <div class="directory-desc">
                <div class="image col-md-3 col-sm-4 no-left-padding">
                        <img src="{{ $listing->logo }}" class="img-full">
                </div>
                <div class="details col-md-9 col-sm-8">
                    @if($listing->address)<p>{{ $listing->address }}</p> @endif
                    @if($listing->emai) <p>Email:{{ $listing->email }}</p> @endif
                    @if($listing->phone) <p>Phone: {{ $listing->phone }}</p> @endif
                    @if($listing->fax) <p>Fax: {{ $listing->fax }}</p> @endif
                    @if($listing->website) {{ $listing->website }} @endif
                </div>
            </div>
        </div>
    </a>
@endforeach
