Files
Lucas Rayan 37971056c2 feat: add SEO and sitemap functionality
- Implemented robots.txt to guide search engine indexing.
- Created layout components for the selector and series pages to manage metadata.
- Developed a dynamic sitemap generator based on existing series and frameworks data.
- Centralized SEO information in a new lib/seo.js file to maintain consistency across the site.
- Added SVG logos for branding.
2026-08-23 11:16:13 -03:00

21 lines
467 B
JavaScript

import { SITE } from "@/lib/seo";
/**
* robots.txt. O essencial aqui é apontar o sitemap: é assim que o Google
* descobre as páginas de série sem depender de rastrear link por link.
*/
export default function robots() {
return {
rules: [
{
userAgent: "*",
allow: "/",
// A rota de API só serve ao marketplace e não tem conteúdo indexável.
disallow: ["/api/"],
},
],
sitemap: `${SITE.url}/sitemap.xml`,
host: SITE.url,
};
}