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>
This commit is contained in:
Innei
2025-06-13 01:15:41 +08:00
parent 9bc692998a
commit 8b57c878e8
8 changed files with 16 additions and 28 deletions

View File

@@ -111,8 +111,8 @@ export async function generateFavicons() {
// 生成 site.webmanifest
const manifest = {
name: 'Photo Gallery',
short_name: 'Gallery',
name: 'Afilmory',
short_name: 'Afilmory',
icons: [
{
src: '/android-chrome-192x192.png',

View File

@@ -388,15 +388,3 @@ export async function generateOGImage(options: OGImageOptions) {
throw error
}
}
// 如果直接运行此脚本
if (import.meta.url === `file://${process.argv[1]}`) {
const timestamp = Date.now()
generateOGImage({
title: 'Photo Gallery',
description: 'Beautiful photo collection and gallery',
outputPath: `og-image-${timestamp}.png`,
includePhotos: true,
photoCount: 4,
}).catch(console.error)
}

View File

@@ -15,8 +15,8 @@ async function generateTestImages() {
// 测试文本
const testTexts = [
'Photo Gallery',
'Beautiful photo collection and gallery',
'Afilmory',
'Capturing beautiful moments in life, documenting daily warmth and emotions through my lens.',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'abcdefghijklmnopqrstuvwxyz',
'0123456789',
@@ -82,7 +82,7 @@ async function generateTestImages() {
</text>
<text x="60" y="128" font-family="Arial, sans-serif" font-size="48" font-weight="bold" fill="white">
Photo Gallery
Afilmory
</text>
<text x="60" y="198" font-family="Arial, sans-serif" font-size="32" fill="rgba(255,255,255,0.9)">