This commit is contained in:
2026-03-10 18:31:23 +01:00
parent 66225e4662
commit 4455605394
180 changed files with 9005 additions and 0 deletions

20
app/sitemap.ts Normal file
View File

@@ -0,0 +1,20 @@
import type { MetadataRoute } from "next";
import { buildAbsoluteUrl } from "@/lib/seo";
const routes = [
"/",
"/about",
"/products",
"/masonry-supplies",
"/landscaping-supplies",
"/contact",
];
export default function sitemap(): MetadataRoute.Sitemap {
return routes.map((route) => ({
url: buildAbsoluteUrl(route),
lastModified: new Date(),
changeFrequency: route === "/" ? "weekly" : "monthly",
priority: route === "/" ? 1 : 0.8,
}));
}