mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
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:
@@ -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',
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)">
|
||||
|
||||
Reference in New Issue
Block a user