fix: cleanup artwork and episode template
This commit is contained in:
parent
a37789ff8a
commit
ebd803282c
@ -58,31 +58,35 @@
|
|||||||
<h4 class="mb-1">Description</h4>
|
<h4 class="mb-1">Description</h4>
|
||||||
<p class="subtitle">{{ $artwork->description }}</p>
|
<p class="subtitle">{{ $artwork->description }}</p>
|
||||||
@endif
|
@endif
|
||||||
<div class="d-flex-between mb-5">
|
|
||||||
<ul class="nav custom-tabs">
|
|
||||||
<li>
|
|
||||||
<a href="{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}">Download 3k px Image</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="{{ config('app.static_asset_url') }}/thumbnails/{{ $artwork->filename }}"">Download 512 px Image</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
<a class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"
|
||||||
|
href="{{ config('app.static_asset_url') }}/artworks/{{ $artwork->filename }}">
|
||||||
|
<span>Download 3k px Image</span></a>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<a class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"
|
||||||
|
href="{{ config('app.static_asset_url') }}/thumbnails/{{ $artwork->filename }}">
|
||||||
|
<span>Download 512 px Image</span></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
@if ($artwork->episode->artwork)
|
||||||
<a href="/podcast/{{ $artwork->episode->podcast->slug }}/episode/{{ $artwork->episode->slug }}"
|
<a href="/podcast/{{ $artwork->episode->podcast->slug }}/episode/{{ $artwork->episode->slug }}"
|
||||||
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
||||||
class="ri-headphone-fill"></i>
|
class="ri-headphone-fill"></i>
|
||||||
View Episode
|
View Episode
|
||||||
</span></a>
|
</span></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a href="/podcasts/{{ $artwork->podcast->slug }}"
|
@endif
|
||||||
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
<a href="/podcasts/{{ $artwork->podcast->slug }}"
|
||||||
class="ri-broadcast-line"></i>
|
class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"><span><i
|
||||||
{{ $artwork->podcast->name }} Podcast
|
class="ri-broadcast-line"></i>
|
||||||
</span></a>
|
{{ $artwork->podcast->name }} Podcast
|
||||||
|
</span></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -42,17 +42,19 @@
|
|||||||
<p class="subtitle">
|
<p class="subtitle">
|
||||||
{{ number_format($episode->artworks->count()) }} Artworks Submitted.
|
{{ number_format($episode->artworks->count()) }} Artworks Submitted.
|
||||||
</p>
|
</p>
|
||||||
<div class="d-flex-between mb-5">
|
|
||||||
<ul class="nav custom-tabs">
|
|
||||||
<li>
|
|
||||||
<a href="{{ config('app.static_asset_url') }}/artworks/{{ $episode->artwork->filename }}">Download 3k px Image</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="{{ config('app.static_asset_url') }}/thumbnails/{{ $episode->artwork->filename }}"">Download 512 px Image</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<a class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"
|
||||||
|
href="{{ config('app.static_asset_url') }}/artworks/{{ $episode->artwork->filename }}">
|
||||||
|
<span>Download 3,000 px Image</span></a>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<a class="btn btn-medium btn-gradient w-100 justify-content-center mt-5"
|
||||||
|
href="{{ config('app.static_asset_url') }}/thumbnails/{{ $episode->artwork->filename }}">
|
||||||
|
<span>Download 512px Image</span></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a href="{{ $episode->mp3 }}"
|
<a href="{{ $episode->mp3 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user