mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
feat: implement gallery view modes and enhance layout
- Added ListView and MasonryView components for displaying photos in different layouts. - Introduced a new GalleryViewMode type to manage view settings. - Updated PhotosRoot to conditionally render ListView or MasonryView based on the selected view mode. - Created a PageHeader component with a ViewModeSegment for toggling between view modes. - Removed the deprecated MasonryRoot component and adjusted imports accordingly. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
"migrate:manifest": "tsx scripts/migrate-manifest.ts",
|
||||
"preinstall": "sh scripts/preinstall.sh",
|
||||
"prepare": "simple-git-hooks",
|
||||
"reinstall": "rm -rf **/*/node_modules && rm -rf node_modules && pnpm install",
|
||||
"update:lastmodified": "tsx scripts/update-lastmodified.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user