114 Commits

Author SHA1 Message Date
Innei
ccfb313038 feat: add avatar support and update dependencies
- Added avatar configuration to the author section in config.example.json and README.md.
- Integrated @radix-ui/react-avatar package for avatar rendering in the MasonryHeaderMasonryItem component.
- Updated pnpm-lock.yaml and package.json to include @radix-ui/react-avatar dependency.
- Removed loading text from index.html for a cleaner UI.
- Adjusted photo-loader.ts to use the workdir for manifest path.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 01:11:56 +08:00
Innei
491e8ddb6e fix: type error
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:44:54 +08:00
Innei
c62f8b1628 refactor: extract builder as a package
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:37:01 +08:00
Innei
a7e4bce1b5 feat(builder): enhance configuration logging and update dependencies
- Added logging for the builder configuration using consola for better visibility.
- Updated the merge function to improve user configuration handling.
- Introduced new dependencies: es-toolkit for merging configurations and consola for logging.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:18:43 +08:00
Innei
898bd18c44 Refactor code structure for improved readability and maintainability
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 14:45:38 +08:00
Innei
bfeb0685ea feat(web): update HTML template and integrate vite-plugin-html for dynamic content injection
- Refactored the HTML template in `index.html` to use EJS-style placeholders for dynamic title and description.
- Added `vite-plugin-html` to the project for improved HTML handling and dynamic content injection during the build process.
- Updated `vite.config.ts` to configure the HTML plugin for minification and data injection.
- Adjusted `package.json` to include the new `vite-plugin-html` dependency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 22:53:20 +08:00
Innei
caa09110dd feat: add SlidingNumber component and integrate scale indicator in ProgressiveImage
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 00:52:26 +08:00
Innei
2eb3020daa release: v0.1.0 2025-06-09 00:39:15 +08:00
Innei
67a948ddeb feat: introduce @photo-gallery/data package for centralized photo management
- Added a new package `@photo-gallery/data` to manage photo data and metadata.
- Updated various components to utilize the new photoLoader from the data package.
- Adjusted dependencies in `pnpm-lock.yaml` and `package.json` files to include the new package.
- Refactored imports across the application to streamline photo data access.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-08 20:46:19 +08:00
Innei
588c9ab5ea feat: cf pages
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-08 15:41:38 +08:00
Innei
c03fdc7391 feat: add ssr for og gerenation
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-08 15:36:07 +08:00
Innei
e5597cdbe7 feat: integrate react-freeze for improved UI performance
- Added react-freeze package to manage component rendering during state changes.
- Wrapped ScrollArea in Freeze component to prevent unnecessary re-renders when the gallery is closed.
- Updated package.json and pnpm-lock.yaml to include react-freeze version 1.0.4.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 23:08:06 +08:00
Innei
b51d81bd47 chore: update package dependencies and versions
- Upgraded `eslint-config-hyoban` from 4.0.7 to 4.0.8.
- Updated AWS SDK packages `@aws-sdk/client-s3` and `@aws-sdk/s3-request-presigner` from 3.823.0 to 3.824.0.
- Bumped `@tanstack/react-query` from 5.80.2 to 5.80.5.
- Updated `@types/react-dom` from 19.1.5 to 19.1.6.
- Incremented `tsdown` version from 0.12.6 to 0.12.7.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 18:43:36 +08:00
Innei
f841d2ada2 feat: init 2025-06-05 13:27:09 +08:00