Commit Graph

6 Commits

Author SHA1 Message Date
Innei
d6ad6d17ab refactor: component move to monorepo (#128)
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 00:59:25 +08:00
Innei
18791ccd75 chore: disable specific react-hooks rules in ESLint configuration
- Temporarily turned off various react-hooks rules in the ESLint configuration to address current development needs.
- Updated the usePhotoViewerTransitions hook to encapsulate visibility handling in a new hideTriggerElement function for improved code clarity and reusability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:50:15 +08:00
Innei
29caf0f553 fix: update ExifPanel to calculate and display megapixels
- Removed the dependency on formatted EXIF data for megapixels and implemented a direct calculation based on image dimensions.
- Cleaned up the code by removing unnecessary comments and ensuring clarity in the rendering logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 18:35:57 +08:00
Innei
91897b6032 feat: enhance SSR and web applications with manifest injection and configuration updates
- Introduced a Vite plugin to inject the photos manifest into the HTML, enabling dynamic updates and hot reloading.
- Updated ESLint configuration to ignore build errors during SSR.
- Modified package.json scripts for concurrent development of SSR and web applications.
- Adjusted paths and imports for better module resolution and consistency across the codebase.
- Added type definitions for the global __MANIFEST__ variable to ensure type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 22:03:04 +08:00
Innei
c775f82153 feat(i18n): integrate i18next for internationalization support
- Added i18next and react-i18next for multi-language support in the application.
- Created localization files for English, Japanese, Korean, Traditional Chinese, and Simplified Chinese.
- Implemented translation hooks in various components to replace hardcoded strings with translatable keys.
- Updated ESLint configuration to include new i18n JSON validation rules.
- Introduced a new event bus for handling i18n updates during development.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 17:56:11 +08:00
Innei
f841d2ada2 feat: init 2025-06-05 13:27:09 +08:00