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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user