Commit 4c17f889d32cb1f99567c5e4c623cf6325f96881
1 parent
689548bec3
Exists in
master
правки
Showing 1 changed file with 6 additions and 2 deletions Side-by-side Diff
resources/views/info_company_new.blade.php
... | ... | @@ -202,9 +202,13 @@ |
202 | 202 | @foreach ($company[0]->flots as $flot) |
203 | 203 | <div class="main__employer-page-one-item flot-one-ship"> |
204 | 204 | @if (!empty($flot->image)) |
205 | - <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> | |
205 | + <a href="{{ asset(Storage::url($flot->image)) }}" data-fancybox="gallery" class="review-image-modal"> | |
206 | + <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> | |
207 | + </a> | |
206 | 208 | @else |
207 | - <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> | |
209 | + <a href="{{ asset('images/default_ship.jpg') }}" data-fancybox="gallery" class="review-image-modal"> | |
210 | + <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> | |
211 | + </a> | |
208 | 212 | @endif |
209 | 213 | |
210 | 214 | <div class="bold font20">{{ $flot->name }}</div> |