feat/factory_creation (#1)

Prepping for launch.

Reviewed-on: #1
Co-authored-by: Paul Couture <paul@paulcouture.com>
Co-committed-by: Paul Couture <paul@paulcouture.com>
This commit was merged in pull request #1.
This commit is contained in:
2023-12-14 11:33:03 -06:00
committed by Paul Couture
parent 8eb4d14909
commit c4398c641e
342 changed files with 60893 additions and 2557 deletions

View File

@@ -0,0 +1,24 @@
<div class="single-author profile flex-stretch">
<div class="thumb">
<img src="{{ Vite::asset($artist->header ?? 'resources/img/artist-dark-banner-default.png') }}" alt="{{ $artist->name }}'s Cover Photo" />
</div>
<div class="content">
<a href="/artist/{{ $artist->slug }}"><img class="author-thumb" src="{{ Vite::asset($artist->avatar ?? 'resources/img/default_avatars/default_avatar_male.svg') }}"
alt="{{ $artist->name }}" /></a>
<h4 class="title"><a href="/artists/{{ $artist->slug }}">{{ $artist->name }}</a></h4>
<p class="title">{{ $artist->location ?? 'No Agenda Nation' }}</p>
<p class="title">Artist for {{ $artist->created_at->diffForHumans() }}</p>
@if ($artist->bio)
<h4>Bio:</h4>
<p>{{ nl2br($artist->bio) }}</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>