diff --git a/app/Http/Controllers/MusicProductionController.php b/app/Http/Controllers/MusicProductionController.php index e28093d..e9bfc47 100644 --- a/app/Http/Controllers/MusicProductionController.php +++ b/app/Http/Controllers/MusicProductionController.php @@ -62,9 +62,9 @@ class MusicProductionController extends Controller } $meta = [ - 'title' => __('music_productions.meta-index-title'), + 'title' => __('music_productions.nav-music-productions'), 'description' => __('music_productions.meta-index-description'), - 'image' => null, + 'image' => asset('assets/img/photos/about28.jpg'), ]; return view('front.music-productions.index', compact('productions', 'settings', 'renderedHeader', 'renderedFooter', 'meta')); diff --git a/lang/en/music_productions.php b/lang/en/music_productions.php index 8426fc3..2dcfebc 100644 --- a/lang/en/music_productions.php +++ b/lang/en/music_productions.php @@ -3,8 +3,9 @@ return [ // Navigation & list 'nav-music-productions' => 'Music Productions', - 'meta-index-title' => 'Music Productions', - 'meta-index-description' => 'Our music production, soundtrack and corporate music work.', + 'meta-index-subtitle' => 'Truncgil', + 'meta-index-title' => 'Music production, soundtracks and corporate music projects.', + 'meta-index-description' => 'Explore our albums, singles and production work published on Spotify, YouTube and digital platforms.', 'empty' => 'No music productions registered yet.', 'card_category_default' => 'Production', 'view_details_tooltip' => 'View details', diff --git a/lang/tr/music_productions.php b/lang/tr/music_productions.php index 47401f9..6090a0f 100644 --- a/lang/tr/music_productions.php +++ b/lang/tr/music_productions.php @@ -3,8 +3,9 @@ return [ // Navigation & list 'nav-music-productions' => 'Müzik Prodüksiyonları', - 'meta-index-title' => 'Müzik Prodüksiyonları', - 'meta-index-description' => 'Müzik prodüksiyonu, film müzikleri ve kurumsal müzik çalışmalarımız.', + 'meta-index-subtitle' => 'Truncgil', + 'meta-index-title' => 'Müzik prodüksiyonu, film müzikleri ve kurumsal müzik çalışmalarımız.', + 'meta-index-description' => 'Spotify, YouTube ve dijital platformlarda yayımlanan albüm, single ve prodüksiyon projelerimizi keşfedin.', 'empty' => 'Şu anda kayıtlı müzik prodüksiyonu bulunmuyor.', 'card_category_default' => 'Prodüksiyon', 'view_details_tooltip' => 'Detayları görüntüle', diff --git a/resources/views/front/music-productions/index.blade.php b/resources/views/front/music-productions/index.blade.php index 369a179..dc32d56 100644 --- a/resources/views/front/music-productions/index.blade.php +++ b/resources/views/front/music-productions/index.blade.php @@ -1,61 +1,99 @@ @extends('layouts.site') @section('content') -
-
+{{-- demo28.html: hero + itemgrid --}} +
+
-
-

{{ __('music_productions.meta-index-title') }}

-

{{ __('music_productions.meta-index-description') }}

+
+
+ {{ __('music_productions.meta-index-title') }} +
+ +
+ +
+
+

{{ __('music_productions.meta-index-subtitle') }}

+

{{ __('music_productions.meta-index-title') }}

+

{{ __('music_productions.meta-index-description') }}

+
+ +
+ +
+ +
+
+ + +
+
+ -
-
+
+
@if($productions->count() > 0) -
+
@php - $accentColors = [ - ['border' => '#54a8c7', 'text' => '#54a8c7', 'tooltip' => 'itooltip-aqua', 'filter' => 'workshop'], - ['border' => '#747ed1', 'text' => '#747ed1', 'tooltip' => 'itooltip-purple', 'filter' => 'product'], - ['border' => '#fab758', 'text' => '#fab758', 'tooltip' => 'itooltip-yellow', 'filter' => 'product'], - ['border' => '#e2626b', 'text' => '#e2626b', 'tooltip' => 'itooltip-red', 'filter' => 'workshop'], - ['border' => '#f78b77', 'text' => '#f78b77', 'tooltip' => 'itooltip-orange', 'filter' => 'still-life'], - ['border' => '#7cb798', 'text' => '#7cb798', 'tooltip' => 'itooltip-leaf', 'filter' => 'concept'], - ['border' => '#d16b86', 'text' => '#d16b86', 'tooltip' => 'itooltip-pink', 'filter' => 'product'], - ['border' => '#45c4a0', 'text' => '#45c4a0', 'tooltip' => 'itooltip-green', 'filter' => 'workshop'], - ['border' => '#a07cc5', 'text' => '#a07cc5', 'tooltip' => 'itooltip-violet', 'filter' => 'concept'], + $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 - $color = $accentColors[$index % count($accentColors)]; + $variant = $variants[$index % count($variants)]; $categoryLabel = $production->translate('client_name') ?: __('music_productions.card_category_default'); $detailUrl = route('music-productions.show', $production->slug); @endphp -
+
-
'> +
'> @if($production->cover_image_url) {{ $production->translate('title') }} @else -
- - - -
+ {{ $production->translate('title') }} @endif
-
- {{ $categoryLabel }} -
+
{{ $categoryLabel }}

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

@@ -67,40 +105,42 @@ @endforeach
- +
- + - {{-- Pagination --}} @if($productions->hasPages()) -
- +
+
+ +
@endif @else -
-
- - - -

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

+
+
+
+
+ + + +

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

+
+
@endif
+
+ +@endsection @push('styles') @endpush -@endsection