Blame view
resources/views/catalogs/new.blade.php
907 Bytes
d2e0d4fcb Добавление миграц... |
1 2 |
<div class="swiper-slide"> <div class="card-news"> |
8634eac35 Картинки обновлен... |
3 4 5 6 7 8 |
<div class="card-news__top"> <? if (empty($new->foto)) {?> <?} else {?> <img src="{{ asset(Storage::url($new->foto)) }}" alt="{{ $new->title }}" loading="lazy"> <? } ?> |
d2e0d4fcb Добавление миграц... |
9 10 11 12 13 14 15 16 17 18 |
<div class="card-news__date"><span>{{ $new->created_at->format('d') }}</span><span>{{ \App\Classes\RusDate::russian_month($new->created_at->format('m')) }} {{$new->created_at->format('Y')}}</span></div> </div> <div class="card-news__cnt"> <p class="card-news__descr">{{ $new->title }}</p><a class="card-news__link" href="{{ route('new', ['news' => $new->id]) }}">Подробнее <svg width="17" height="12"> <use xlink:href="{{ asset('images/sprite.svg#card-news-link-arrow') }}"></use> </svg></a> </div> </div> </div> |