feat: Add comprehensive SEO improvements

- Enhanced metadata with Open Graph and Twitter Card tags
- Added robots.ts for search engine crawling directives
- Added sitemap.ts for site structure
- Improved image alt text for better accessibility and SEO
- Added JSON-LD structured data (Schema.org SoftwareApplication)
- Configured proper meta tags including keywords, authors, and robots settings
- Set metadataBase for proper URL resolution
This commit is contained in:
dayuan.jiang
2025-11-16 08:36:13 +09:00
parent 8084905711
commit 533b3ccace
5 changed files with 93 additions and 4 deletions

12
app/robots.ts Normal file
View File

@@ -0,0 +1,12 @@
import { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
disallow: '/api/',
},
sitemap: 'https://next-ai-draw-io.vercel.app/sitemap.xml',
}
}