mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +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:
@@ -33,7 +33,6 @@
|
||||
"@radix-ui/react-avatar": "1.1.11",
|
||||
"@radix-ui/react-dropdown-menu": "2.1.16",
|
||||
"@react-hook/window-size": "3.1.1",
|
||||
"@remixicon/react": "4.7.0",
|
||||
"@t3-oss/env-core": "catalog:",
|
||||
"@tanstack/react-query": "5.90.11",
|
||||
"@use-gesture/react": "10.3.1",
|
||||
|
||||
Reference in New Issue
Block a user