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.
This commit is contained in:
1 parent
3de4f2501d
commit
37971056c2
74 files changed
+563
-41337
No files matched your search
@@ -0,0 +1,20 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user