diff --git a/docs/FAVICON_GUIDE.md b/docs/FAVICON_GUIDE.md index 28afc20..95e5215 100644 --- a/docs/FAVICON_GUIDE.md +++ b/docs/FAVICON_GUIDE.md @@ -4,7 +4,7 @@ ## 当前图标文件 -- `favicon.svg` - 主图标(SVG 格式,带粉紫渐变) +- `logo.svg` - 主图标(SVG 格式,带粉紫渐变) - `gamepad-solid.svg` - 原始 Font Awesome 图标 - `favicon-32x32.png` - 32x32 PNG 图标(需要生成) - `favicon-16x16.png` - 16x16 PNG 图标(需要生成) @@ -15,7 +15,7 @@ ### 方法 1: 使用在线工具 1. 访问 [RealFaviconGenerator](https://realfavicongenerator.net/) -2. 上传 `favicon.svg` +2. 上传 `logo.svg` 3. 自定义设置(建议使用粉紫渐变背景) 4. 生成并下载所有尺寸的图标 5. 将文件放到 `public/` 目录 @@ -29,9 +29,9 @@ brew install imagemagick # macOS sudo apt-get install imagemagick # Linux # 生成 PNG 图标 -convert -background none favicon.svg -resize 32x32 favicon-32x32.png -convert -background none favicon.svg -resize 16x16 favicon-16x16.png -convert -background none favicon.svg -resize 180x180 apple-touch-icon.png +convert -background none logo.svg -resize 32x32 favicon-32x32.png +convert -background none logo.svg -resize 16x16 favicon-16x16.png +convert -background none logo.svg -resize 180x180 apple-touch-icon.png ``` ### 方法 3: 使用 Inkscape @@ -41,9 +41,9 @@ convert -background none favicon.svg -resize 180x180 apple-touch-icon.png brew install inkscape # macOS # 生成 PNG 图标 -inkscape favicon.svg --export-filename=favicon-32x32.png --export-width=32 --export-height=32 -inkscape favicon.svg --export-filename=favicon-16x16.png --export-width=16 --export-height=16 -inkscape favicon.svg --export-filename=apple-touch-icon.png --export-width=180 --export-height=180 +inkscape logo.svg --export-filename=favicon-32x32.png --export-width=32 --export-height=32 +inkscape logo.svg --export-filename=favicon-16x16.png --export-width=16 --export-height=16 +inkscape logo.svg --export-filename=apple-touch-icon.png --export-width=180 --export-height=180 ``` ## 图标说明 diff --git a/index.html b/index.html index a0e7191..29dc311 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ property="og:description" content="Galgame 资源聚合搜索引擎,支持多站点搜索、游戏信息查询、补丁下载。一站式搜索体验,快速找到你想要的 Galgame 资源。" /> - + @@ -65,14 +65,14 @@ /> - - - - + + + + diff --git a/public/browserconfig.xml b/public/browserconfig.xml index 5e5f277..9800394 100644 --- a/public/browserconfig.xml +++ b/public/browserconfig.xml @@ -2,8 +2,8 @@ - - + + #ff1493 diff --git a/public/favicon.svg b/public/favicon.svg deleted file mode 100644 index 5d9c717..0000000 --- a/public/favicon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/feed.xml b/public/feed.xml index 29910aa..5e0c2f7 100644 --- a/public/feed.xml +++ b/public/feed.xml @@ -9,7 +9,7 @@ SearchGal Frontend - https://searchgal.homes/favicon.svg + https://searchgal.homes/logo.svg SearchGal https://searchgal.homes diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 0000000..3abbb2c --- /dev/null +++ b/public/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index 8bcfaf3..9e63e89 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -12,19 +12,19 @@ "dir": "ltr", "icons": [ { - "src": "/favicon.svg", + "src": "/logo.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any maskable" }, { - "src": "/favicon-192x192.png", + "src": "/logo.svg", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { - "src": "/favicon-512x512.png", + "src": "/logo.svg", "sizes": "512x512", "type": "image/png", "purpose": "any" @@ -33,13 +33,13 @@ "categories": ["entertainment", "games", "utilities"], "screenshots": [ { - "src": "/screenshot-desktop.png", + "src": "/logo.svg", "sizes": "1920x1080", "type": "image/png", "form_factor": "wide" }, { - "src": "/screenshot-mobile.png", + "src": "/logo.svg", "sizes": "750x1334", "type": "image/png", "form_factor": "narrow" @@ -53,7 +53,7 @@ "url": "/?mode=game", "icons": [ { - "src": "/favicon.svg", + "src": "/logo.svg", "sizes": "any" } ] @@ -65,7 +65,7 @@ "url": "/?mode=advanced", "icons": [ { - "src": "/favicon.svg", + "src": "/logo.svg", "sizes": "any" } ] diff --git a/public/sitemap.xml b/public/sitemap.xml index f4b9f58..5b485ac 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -10,7 +10,7 @@ daily 1.0 - https://searchgal.homes/og-image.png + https://searchgal.homes/logo.svg SearchGal - Galgame 聚合搜索 Galgame 资源聚合搜索引擎 diff --git a/public/sw.js b/public/sw.js index 91f6df7..f8a0e05 100644 --- a/public/sw.js +++ b/public/sw.js @@ -8,7 +8,7 @@ const CORE_ASSETS = [ '/', '/index.html', '/manifest.json', - '/favicon.svg', + '/logo.svg', ]; // 缓存策略配置