feat: integrate Spotify API for syncing music productions with new command and UI components
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
<div class="card !shadow-[0_0.25rem_1.75rem_rgba(30,34,40,0.07)] transition-all duration-300 hover:!shadow-[0_0.5rem_2.5rem_rgba(30,34,40,0.12)] hover:translate-y-[-0.15rem]">
|
||||
<figure class="card-img-top overflow-hidden rounded-t group {{ $color['tooltip'] }}" title='<h5 class="!mb-0">{!! t("Detayları Görüntüle") !!}</h5>'>
|
||||
<a href="{{ route('music-productions.show', $production->slug) }}">
|
||||
@if($production->cover_image)
|
||||
<img class="transition-all duration-[0.35s] ease-in-out group-hover:scale-105" src="{{ asset('storage/' . $production->cover_image) }}" alt="{{ $production->translate('title') }}">
|
||||
@if($production->cover_image_url)
|
||||
<img class="transition-all duration-[0.35s] ease-in-out group-hover:scale-105" src="{{ $production->cover_image_url }}" alt="{{ $production->translate('title') }}">
|
||||
@else
|
||||
<div class="bg-gradient-to-br from-gray-200 to-gray-300 flex items-center justify-center" style="height: 250px;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-16 h-16 text-gray-400">
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
<div class="w-full flex-[0_0_auto] !px-[15px] max-w-full">
|
||||
<article class="!mt-[-12.5rem]">
|
||||
{{-- Cover Image --}}
|
||||
@if($production->cover_image)
|
||||
@if($production->cover_image_url)
|
||||
<figure class="!rounded-[.4rem] !mb-8 xl:!mb-[3.5rem] lg:!mb-[3.5rem] md:!mb-[3.5rem] overflow-hidden shadow-lg">
|
||||
<img class="!rounded-[.4rem] w-full" src="{{ asset('storage/' . $production->cover_image) }}" alt="{{ $production->translate('title') }}">
|
||||
<img class="!rounded-[.4rem] w-full" src="{{ $production->cover_image_url }}" alt="{{ $production->translate('title') }}">
|
||||
</figure>
|
||||
@endif
|
||||
|
||||
@@ -63,6 +63,16 @@
|
||||
<p>{{ $production->translate('client_name') }}</p>
|
||||
</li>
|
||||
@endif
|
||||
@if($production->spotify_url)
|
||||
<li>
|
||||
<h5 class="!mb-1">Spotify</h5>
|
||||
<p>
|
||||
<a href="{{ $production->spotify_url }}" target="_blank" rel="noopener noreferrer" class="btn btn-sm btn-soft-primary !rounded-[50rem]">
|
||||
{{ __('music_productions.spotify_listen_on_spotify') }}
|
||||
</a>
|
||||
</p>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
<a href="{{ route('music-productions.index') }}" class="more hover">
|
||||
<i class="uil uil-arrow-left before:content-['\e949'] !mr-1"></i>
|
||||
|
||||
Reference in New Issue
Block a user