feat: agregar metadatos y contenido a las páginas de categorías y reservas de turnos, y actualizar el sitemap con nuevas rutas de exploración

This commit is contained in:
2026-09-16 10:09:31 -03:00
parent 8c1089df41
commit 60eb940d3e
4 changed files with 124 additions and 43 deletions
+17 -1
View File
@@ -94,6 +94,22 @@ export async function GET() {
},
];
// Category exploration pages
// /landing/reviews is intentionally omitted: it renders rating lists driven by
// query params (?targetType=&targetId=) — parametric thin pages, not stable URLs.
const explorationRoutes: SitemapRoute[] = [
{
url: `${baseUrl}/landing/categories`,
changeFrequency: "weekly",
priority: 0.8,
},
{
url: `${baseUrl}/landing/get-appointments`,
changeFrequency: "weekly",
priority: 0.6,
},
];
// Legal pages (rarely change, low priority)
const legalRoutes: SitemapRoute[] = [
{
@@ -149,7 +165,7 @@ export async function GET() {
console.error("Error generating sitemap:", error);
}
const allRoutes = [...staticRoutes, ...videoRoutes, ...authRoutes, ...marketingRoutes, ...legalRoutes, ...serviceRoutes];
const allRoutes = [...staticRoutes, ...videoRoutes, ...authRoutes, ...marketingRoutes, ...explorationRoutes, ...legalRoutes, ...serviceRoutes];
const sitemapXml = `<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"