fix(gallery): fill tall portrait cards to full block width with object-cover crop
- ArtworkCard: add w-full to nova-card-media, use absolute inset-0 on img so object-cover fills the max-height capped box instead of collapsing the width - MasonryGallery.css: add width:100% to media container, position img absolutely so top/bottom is cropped rather than leaving dark gaps - Add React MasonryGallery + ArtworkCard components and entry point - Add recommendation system: UserRecoProfile model/DTO/migration, SuggestedCreatorsController, SuggestedTagsController, Recommendation services, config/recommendations.php - SimilarArtworksController, DiscoverController, HomepageService updates - Update routes (api + web) and discover/for-you views - Refresh favicon assets, update vite.config.js
This commit is contained in:
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
'resources/js/nova.js',
|
||||
'resources/js/entry-topbar.jsx',
|
||||
'resources/js/entry-search.jsx',
|
||||
'resources/js/entry-masonry-gallery.jsx',
|
||||
'resources/js/upload.jsx',
|
||||
'resources/js/Pages/ArtworkPage.jsx',
|
||||
'resources/js/Pages/Home/HomePage.jsx',
|
||||
|
||||
Reference in New Issue
Block a user