Commit Graph

11 Commits

Author SHA1 Message Date
Innei
b18bb76451 chore: update favicon images and enhance favicon generation script
- Replaced existing favicon images with updated versions for better visual quality.
- Modified the favicon generation script to add rounded corners to the generated images, improving aesthetics.
- Ensured the script checks for the presence of the logo file before generating favicons.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-24 12:41:46 +08:00
Ryogi Mutsuki
ed82daa5a0 Fix: photo data parsing to access 'data' property from JSON manifest (#17) 2025-06-19 14:38:55 +08:00
Innei
604ea15ce6 fix: update build script to use new builder CLI
- Changed the build command in the remote repository update script to utilize the new builder CLI instead of the previous manifest build command.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 17:23:50 +08:00
Innei
8b57c878e8 chore: rename project to Afilmory and update related configurations
- Changed project name and title from "Photo Gallery" to "Afilmory" across multiple files including configuration, README, and web manifest.
- Updated descriptions and URLs to reflect the new branding.
- Adjusted OG image plugin and favicon generation scripts to align with the new project name.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 01:15:41 +08:00
Innei
8f28d75266 chore: change namespace
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:51:25 +08:00
Innei
09e6f439d7 fix(generate-og-image): handle missing EXIF date values to prevent sorting errors
- Added a check to ensure that both photos have valid EXIF DateTimeOriginal values before sorting, preventing potential errors when the data is missing.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 01:39:55 +08:00
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
9630aa9a85 feat(og): enhance image generation with new font and layout adjustments
- Added SF Pro Display font for improved typography in OG images.
- Increased padding and dimensions for better visual presentation.
- Updated font sizes and margins for titles, descriptions, and tags to enhance readability.
- Adjusted layout properties for image containers and text alignment.

Signed-off-by: Innei <tukon479@gmail.com>

fix(og): update typography and layout for OG images

- Changed letter spacing from 2px to 1px for improved text clarity.
- Updated font family to include Geist for enhanced visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>

feat(og): enhance OG image styling with new background and decorative elements

Signed-off-by: Innei <tukon479@gmail.com>

update og
2025-06-10 16:53:04 +08:00
Innei
7e1600c7e8 fix: optimize photo processing in generateOGImage function
- Changed the iteration logic to process photos in reverse order, improving the handling of the latest photos.
- Introduced a variable to store the minimum length for cleaner and more readable code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 17:59:49 +08:00
Innei
0fb4cd4c8e feat: enhance font glyph extraction and SVG text rendering
- Added additional characters ('\', '~', '`', "'", '{', '}') to the CHARACTERS array in extract-font-glyphs.ts.
- Updated the font path in extract-font-glyphs.ts to use SF-Pro-Display-Medium.ttf.
- Made adjustments to the character paths and dimensions in svg-text-renderer.ts for improved rendering accuracy.

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