feat: 支持 seo 优化

This commit is contained in:
2026-01-31 21:13:39 +08:00
parent a44a3f6a0d
commit 6ee608d678
9 changed files with 100 additions and 133 deletions

View File

@@ -50,3 +50,37 @@ All shared types in `types/index.ts` including file types, processing configs, A
- Current (Phase 1-4): Basic tools with mock API implementations
- Phase 5: AI services integration (Replicate, OpenAI)
- Phase 6: Authentication, database (PostgreSQL), payment processing (Stripe), cloud storage (Cloudflare R2)
## Branding & SEO
### Website Identity
- **Project Name**: mini-game-ai (internal repository name)
- **Website Domain**: https://kymr.top
- **Brand Name**: KYMR.TOP
- **Tagline**: Image & Video Converter | Game Development Tools
**IMPORTANT**: When updating SEO metadata, always use "KYMR.TOP" as the brand name, NOT "Mini Game AI". The project name "mini-game-ai" is only used for the repository and should not appear in user-facing content.
### SEO Keywords
The website targets both English and Chinese search engines (Google, Baidu) with the following focus areas:
**English Keywords:**
- Primary: image compression, image converter, WebP converter, PNG optimizer
- Secondary: video converter, video to frames, audio compression
- Tertiary: texture atlas, sprite sheet generator, game development tools
**Chinese Keywords:**
- Primary: 图片压缩, 图片转换, WebP转换, PNG优化
- Secondary: 视频转换, 视频抽帧, 音频压缩, 音频转换
- Tertiary: 纹理图集, 精灵图生成, 游戏开发工具, 游戏素材工具
### SEO Configuration Files
- `src/app/layout.tsx` - Main metadata (title, description, keywords, Open Graph, Twitter Card)
- `src/app/sitemap.ts` - XML sitemap for search engines
- `src/app/robots.ts` - Robots.txt configuration
- `public/manifest.json` - PWA manifest
- `src/components/seo/StructuredData.tsx` - Schema.org structured data
### Environment Variables
- `NEXT_PUBLIC_SITE_URL` - Production URL (default: https://kymr.top)
- `NEXT_PUBLIC_APP_URL` - App URL (may differ for development)