- Add dynamic OG image generation endpoint (/og) adapted from monorepo - Replace favicon with monorepo version, remove unused icon.svg - Add seo.ts config, robots.ts, sitemap.ts for better search indexing - Add per-page metadata (editor, viewer, settings, profile, community) - Remove stale package-lock.json that caused ENOWORKSPACES errors with Next.js - Add OG fonts (Geist Regular, Plus Jakarta Sans SemiBold) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
477 B
TypeScript
23 lines
477 B
TypeScript
import type { MetadataRoute } from 'next'
|
|
import { siteConfig } from './seo'
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
const currentDate = new Date()
|
|
const baseUrl = siteConfig.url
|
|
|
|
return [
|
|
{
|
|
url: baseUrl,
|
|
lastModified: currentDate,
|
|
changeFrequency: 'daily',
|
|
priority: 1,
|
|
},
|
|
{
|
|
url: `${baseUrl}/viewer/demo_1`,
|
|
lastModified: currentDate,
|
|
changeFrequency: 'weekly',
|
|
priority: 0.7,
|
|
},
|
|
]
|
|
}
|