{{ $artist->name }}
+{{ $artist->name }}
{{ $artist->location ?? 'No Agenda Nation' }}
Artist For {{ $artist->artworks->sortBy('created_at')->first()->created_at->diffForHumans(now(), Carbon\CarbonInterface::DIFF_ABSOLUTE) }}
@if ($artist->bio)diff --git a/site/app/Console/Commands/RefreshLeaderBoardCacheCommand.php b/site/app/Console/Commands/RefreshLeaderBoardCacheCommand.php new file mode 100644 index 0000000..48f9e0d --- /dev/null +++ b/site/app/Console/Commands/RefreshLeaderBoardCacheCommand.php @@ -0,0 +1,38 @@ +line('Clearing Leaderboard Caches...'); + cache()->forget('leaderboardTwelveMonths'); + cache()->forget('leaderboardTwelveMonthsLanding'); + cache()->forget('leaderboardAllTime'); + cache()->forget('leaderboardRollingSixMonth'); + cache()->forget('leaderboardNinetyDays'); + } +} diff --git a/site/app/Http/Controllers/ArtworkController.php b/site/app/Http/Controllers/ArtworkController.php index 762df22..09232cb 100644 --- a/site/app/Http/Controllers/ArtworkController.php +++ b/site/app/Http/Controllers/ArtworkController.php @@ -108,7 +108,8 @@ public function store(Request $request): RedirectResponse 'description' => $request->description, 'overlay_id' => null, 'podcast_id' => $podcast->id, - 'episode_id' => $episode->id, + 'episode_id' => $episode->id, + //'approved_by' => 4, 'filename' => $filename, 'created_at' => now(), 'updated_at' => now(), diff --git a/site/resources/views/artworks/card.blade.php b/site/resources/views/artworks/card.blade.php index 8d5f2c6..db3f255 100644 --- a/site/resources/views/artworks/card.blade.php +++ b/site/resources/views/artworks/card.blade.php @@ -10,6 +10,7 @@ alt="{{ $thisArtwork->title }} by {{ $thisArtwork->artist->name }}"> + {{-- End .thumb --}}
{{ $artist->location ?? 'No Agenda Nation' }}
Artist For {{ $artist->artworks->sortBy('created_at')->first()->created_at->diffForHumans(now(), Carbon\CarbonInterface::DIFF_ABSOLUTE) }}
@if ($artist->bio)