podcastartgenerator/site/resources/views/home/recents/card.blade.php

36 lines
2.4 KiB
PHP

<div class="explore-style-one podcast--{{ $recent->podcast->slug }} {{ $recent->episode->artwork_id == $recent->id ? 'selected' : '' }}">
<div class="thumb">
<a href="product-details.html"><img src="http://{{ config('app.static_asset_url') }}/thumbnails/{{ $recent->filename }}" alt="{{ $recent->title }} by {{ $recent->artist->name }} for {{ $recent->podcast->title }}"></a>
</div>
{{-- End .thumb --}}
<div class="content">
<div class="header d-flex-between pt-4 pb-3">
<h3 class="title"><a href="product-details.html">"{{ $recent->title }}"</a></h3>
<div class="more-dropdown "><i class="ri-more-fill" data-bs-toggle="dropdown"></i>
<ul class="dropdown-menu dropdown-menu-dark">
<li><a class="dropdown-item" href="#">Artist Profile</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Episode Submissions</a></li>
<li><a class="dropdown-item" href="#">Episode Details</a></li>
<li><a class="dropdown-item" href="#">Report</a></li>
</ul>
</div>
</div>
{{-- .header --}}
<div class="product-owner py-4 d-flex-between">
<span class="bid-owner">Artwork By<br><strong><a href="/artist/{{ $recent->artist->id }}">{{ $recent->artist->name }}</a></strong></span>
<span class="profile-share d-flex-center"><a href="/artist/{{ $recent->artist->id }}" class="avatar" data-bs-toggle="tooltip" data-bs-placement="top"
title="{{ $recent->artist->name }}"><img src="{{ Vite::asset($recent->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}" style="width:100%;height:auto;" alt="{{ $recent->artist->name }}"></a></span>
</div>
{{-- End .product-owner --}}
<div class="action-wrapper d-flex-between pt-4">
<span class="bid-owner">{{ $recent->id == $recent->episode->artwork_id ? 'Selected' : 'Submitted' }} for<br><strong><a href="/artist/{{ $recent->artist->id }}">{{ $recent->podcast->name }}<br>Episode {{ number_format($recent->episode->episode_number) }}</a></strong></span>
</div>
{{-- action-wrapper --}}
</div>
{{-- End .content --}}
</div>
{{-- End .explore-style-one --}}