Blame view

resources/views/catalogs/new.blade.php 792 Bytes
d2e0d4fcb   Андрей Ларионов   Добавление миграц...
1
2
3
4
5
6
7
8
9
10
11
12
13
  <div class="swiper-slide">
      <div class="card-news">
          <div class="card-news__top"><img src="{{ asset($new->foto) }}" alt="{{ $new->title }}" loading="lazy">
              <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>