1
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
ssww23
2026-03-17 01:59:00 +03:00
parent 93a655235a
commit 0ee9f05416
48 changed files with 1193 additions and 413 deletions

View File

@@ -4,17 +4,17 @@
<section class="pc-section">
<div class="pc-section-title">
<h2>{{ $title ?? 'Товары' }}</h2>
<h2>{{ __($title ?? 'Товары') }}</h2>
@if (!empty($description))
<p>{{ $description }}</p>
<p>{{ __($description) }}</p>
@endif
</div>
@if ($items->isEmpty())
<div class="pc-card">{{ $emptyText ?? 'Пока нет товаров.' }}</div>
<div class="pc-card">{{ __($emptyText ?? 'Пока нет товаров.') }}</div>
@else
<div class="pc-product-carousel" data-product-carousel>
<button class="pc-product-carousel-btn is-prev" type="button" data-product-carousel-prev aria-label="Предыдущие товары"></button>
<button class="pc-product-carousel-btn is-prev" type="button" data-product-carousel-prev aria-label="{{ __('Предыдущие товары') }}"></button>
<div class="pc-product-carousel-track" data-product-carousel-track>
@foreach ($items as $product)
<div class="pc-product-carousel-item">
@@ -22,7 +22,7 @@
</div>
@endforeach
</div>
<button class="pc-product-carousel-btn is-next" type="button" data-product-carousel-next aria-label="Следующие товары"></button>
<button class="pc-product-carousel-btn is-next" type="button" data-product-carousel-next aria-label="{{ __('Следующие товары') }}"></button>
</div>
@endif
</section>