companies2.blade.php
1.47 KB
@if ($emps->count())
<div class="main__employers-two">
@foreach($emps as $emp)
<div class="main__employers-item">
<span class="main__employers-item-inner">
<img src="{{ asset(Storage::url($emp->logo)) }}" alt="{{ $emp->name_company }}" class="main__employers-item-pic">
<span class="main__employers-item-body">
<b>{{ $emp->name_company }}</b>
<i>{{ $emp->ads->count() }} вакансия(ий)</i>
</span>
</span>
<a href="{{ route('info_company', ['company' => $emp->id]) }}" class="button button_light main__employers-item-more">Подробнее</a>
@if ($emp->oficial_status == 1)
<span class="main__employers-item-label">
<svg>
<use xlink:href="{{ asset('images/sprite.svg#v') }}"></use>
</svg>
<span>Компания одобрена сервисом rekamore.su</span>
</span>
@endif
</div>
@endforeach
</div>
{{ $emps->appends($_GET)->links('paginate') }}
@else
<H2>Нет данных</H2>
@endif