Profile: store covers in object storage (WebP); add covers config; remember artworks categories content-type preference

This commit is contained in:
2026-03-29 09:22:36 +02:00
parent cab4fbd83e
commit 1da7d3bf88
27 changed files with 703 additions and 448 deletions

View File

@@ -32,7 +32,7 @@ class DashboardGalleryController extends Controller
$artworks->getCollection()->map(fn (Artwork $artwork) => $this->presentArtwork($artwork))
);
$mainCategories = ContentType::orderBy('id')
$mainCategories = ContentType::ordered()
->get(['name', 'slug'])
->map(function (ContentType $type) {
return (object) [