@extends('layouts.site') @section('content')
@if($production->client_name)
{{ $production->translate('client_name') }}
@endif

{{ $production->translate('title') }}

@if($production->production_date)

{{ $production->production_date->format('d.m.Y') }}

@endif
@php $videoId = null; if ($production->youtube_video_id) { $videoId = $production->youtube_video_id; } elseif ($production->youtube_url) { if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $production->youtube_url, $match)) { $videoId = $match[1]; } } @endphp {{-- Vinyl Player Mockup --}} @if($production->cover_image_url)
{{ $production->translate('client_name') ?: __('music_productions.card_category_default') }}
@if($production->production_date) {{ $production->production_date->format('Y') }} @else   @endif
{{ $production->translate('title') }}
@if($prev) @else
@endif
@if($next) @else
@endif
@endif {{-- YouTube Lightbox Modal --}} @if($videoId)
@endif {{-- Content & Meta --}}

{{ __('music_productions.project_details') }}

{{-- Content column --}}
{!! $production->translate('content') !!}
{{-- Sidebar - Date & Client --}}
{{ __('music_productions.back_to_list') }}
{{-- Gallery --}} @php $gallery = $production->gallery; @endphp @if(!empty($gallery) && is_array($gallery) && count($gallery) > 0)
@foreach($gallery as $galleryImage) @endforeach
@endif
{{-- Post Navigation (Prev / Next) --}}
@push('styles') @endpush @push('scripts') @endpush @endsection