podcastartgenerator/site/resources/views/profile/partials/single-artist-card.blade.php

28 lines
1.3 KiB
PHP
Raw Normal View History

<div class="single-author profile flex-stretch">
<div class="thumb">
<img src="{{ $artist->header() }}" alt="{{ $artist->name }}'s Cover Photo" />
</div>
<div class="content">
2023-12-17 17:31:07 -05:00
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb avatar_img" src="{{ $artist->avatar() }}"
alt="{{ $artist->name }}" /></a>
2024-01-06 10:59:04 -05:00
<h4 class="title"><a href="/artist/{{ $artist->slug }}">{{ $artist->name }}</a></h4>
<p class="title">{{ $artist->location ?? 'No Agenda Nation' }}</p>
<p class="title">Artist For {{ $artist->artworks->sortBy('created_at')->first()->created_at->diffForHumans(now(), Carbon\CarbonInterface::DIFF_ABSOLUTE) }}</p>
@if ($artist->bio)
<h4>Bio:</h4>
<p>{{ nl2br($artist->bio) }}</p>
@endif
2023-12-21 11:49:18 -05:00
@if ($artist->alby)
<p>Value4Value:<br>{{ strtolower($artist->alby) }}</p>
@endif
<div class="social size-small justify-content-center mb-4">
@if ($artist->website)
<a href="{{ $artist->website }}" title="website"><i class="ri-pages-line"></i></a>
@endif
</div>
<div class="size-small justify-content-center mb-4">
{{ number_format($artist->artworks->count()) }} Submitted Artworks
</div>
</div>
</div>