podcastartgenerator/site/resources/views/home/hero/slider/slide.blade.php

44 lines
2.4 KiB
PHP

<div class="explore-style-one">
<div class="thumb">
<a href="product-details.html"> <img src="{{ 'http://' . config('app.static_asset_url') . '/thumbnails/' . $recentEpisode->artwork->filename ?? '#'}}"
alt="nft live auction thumbnail"></a>
<!-- End .reaction-count -->
</div>
<!-- End .thumb -->
<div class="content">
<div class="header d-flex-between pt-4 pb-1">
<h3 class="title">
<a href="product-details.html">"{{ $recentEpisode->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="#">View Episode</a></li>
<li><a class="dropdown-item" href="#">View Podcast</a></li>
<li><a class="dropdown-item" href="#">View Show Notes</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">View Selected Artist</a></li>
</ul>
</div>
</div>
<!-- .header -->
<div class="product-owner py-1 d-flex-between">
<span class="bid-owner">Artwork Selected For<br>
<strong><a href="#">{{ $recentEpisode->podcast->name }}</a></strong>
<br>
<a href="#">Episode {{ number_format($recentEpisode->episode_number + 0) }}<br>
{{ $recentEpisode->episode_date->format('D, M j') }}<sup>{{ $recentEpisode->episode_date->format('S') }}</sup>{{ $recentEpisode->episode_date->format(', Y') }}</a></span>
</div>
<div class="product-owner py-1 d-flex-between">
<span class="bid-owner">Artwork By<br><strong><a
href="author-profile.html">{{ $recentEpisode->artwork->artist->name ?? 'Unknown' }}</a></strong></span>
<span class="profile-share d-flex-center"><a href="author-profile.html" class="avatar" data-bs-toggle="tooltip" data-bs-placement="top"
title="{{ $recentEpisode->artwork->artist->name }}"><img src="{{ Vite::asset($recentEpisode->artwork->artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
alt="{{ $recentEpisode->artwork->artist->name }}"></a></span>
</div>
<!-- End .product-owner -->
</div>
<!-- End .content -->
</div>