fix: fixing issues found at launch

This commit is contained in:
2023-12-17 21:43:00 +00:00
parent 3d3029ceb6
commit ebdc50a697
11 changed files with 26 additions and 19 deletions

View File

@@ -31,11 +31,6 @@ class ArtistController extends Controller
]);
}
public function avatar() {
$user = auth()->user();
return view('')
}
/**
* Show the form for creating a new resource.
*

View File

@@ -30,7 +30,7 @@ class ArtworkController extends Controller
->with('artist')
->orderBy('episode_id', 'desc')
->orderBy('created_at', 'desc')
->paginate($perPage = 92, $columns = ['*'], $pageName = 'artworks');
->paginate($perPage = 54, $columns = ['*'], $pageName = 'artworks');
$podcasts = Podcast::where('published', true)->with('episodes')->get();
return view('explore.artworks', [
'user' => $user,

View File

@@ -38,7 +38,7 @@ class PageController extends Controller
->with('episode')
->with('podcast')
->orderBy('created_at', 'desc')
->limit(50)
->limit(10)
->get();
});
return $artworks;
@@ -53,7 +53,7 @@ class PageController extends Controller
->with('artwork')
->with('artwork.artist')
->orderBy('episode_date', 'desc')
->limit(10)
->limit(5)
->get();
});
return $episodes;