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

@@ -57,7 +57,7 @@ class BrowseController extends Controller
// Shape data for the legacy Blade while using authoritative tables only.
$artworks->getCollection()->transform(fn (Artwork $artwork) => $this->mapArtwork($artwork));
$rootCategories = ContentType::orderBy('id')
$rootCategories = ContentType::ordered()
->get(['name', 'slug'])
->map(fn (ContentType $type) => (object) [
'name' => $type->name,