deepsite / app /sitemap.ts
enzostvs's picture
enzostvs HF Staff
improve SEO
8bce833
raw
history blame
689 Bytes
import { MetadataRoute } from 'next';
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://deepsite.hf.co';
return [
{
url: baseUrl,
lastModified: new Date(),
changeFrequency: 'daily',
priority: 1,
},
{
url: `${baseUrl}/new`,
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.8,
},
{
url: `${baseUrl}/auth`,
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 0.5,
},
// Note: Dynamic project routes will be handled by Next.js automatically
// but you can add specific high-priority project pages here if needed
];
}