@extends('layouts.site') @section('content') {{-- demo28.html: hero + itemgrid --}} {{ __('music_productions.meta-index-title') }} {{ __('music_productions.meta-index-description') }} @if($productions->count() > 0) @php $variants = [ [ 'filter' => 'workshop', 'tooltip' => 'itooltip-aqua', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#54a8c7] !mb-2 !text-[#54a8c7]", ], [ 'filter' => 'product', 'tooltip' => 'itooltip-purple', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#747ed1] !mb-2 !text-[#747ed1]", ], [ 'filter' => 'product', 'tooltip' => 'itooltip-yellow', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#fab758] !mb-2 !text-[#fab758]", ], [ 'filter' => 'workshop', 'tooltip' => 'itooltip-red', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#e2626b] !mb-2 !text-[#e2626b]", ], [ 'filter' => 'still-life', 'tooltip' => 'itooltip-orange', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#f78b77] !mb-2 !text-[#f78b77]", ], [ 'filter' => 'product', 'tooltip' => 'itooltip-leaf', 'label_class' => "inline-flex uppercase !tracking-[0.02rem] text-[0.7rem] font-semibold text-line relative align-top !pl-[1.4rem] before:content-[''] before:absolute before:inline-block before:translate-y-[-60%] before:w-3 before:h-[0.05rem] before:left-0 before:top-2/4 before:bg-[#7cb798] !mb-2 !text-[#7cb798]", ], ]; @endphp @foreach($productions as $index => $production) @php $variant = $variants[$index % count($variants)]; $categoryLabel = $production->translate('client_name') ?: __('music_productions.card_category_default'); $detailUrl = route('music-productions.show', $production->slug); @endphp {{ $production->translate('client_name') ?: __('music_productions.card_category_default') }} @if($production->production_date) {{ $production->production_date->format('Y') }} @else @endif {{ $production->translate('title') }} @if($production->cover_image_url) @else @endif @endforeach @if($productions->hasPages()) {{ $productions->links() }} @endif @else @if(!empty($search)) {{ __('music_productions.search_no_results', ['query' => $search]) }} @else {{ __('music_productions.empty') }} @endif @endif @endsection @push('styles') @endpush
{{ __('music_productions.meta-index-description') }}
@if(!empty($search)) {{ __('music_productions.search_no_results', ['query' => $search]) }} @else {{ __('music_productions.empty') }} @endif