diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts new file mode 100644 index 0000000..6434bce --- /dev/null +++ b/src/app/sitemap.ts @@ -0,0 +1,13 @@ +import { BASE_URL } from "@/lib/constants"; +import { type MetadataRoute } from "next"; + +export default function sitemap(): MetadataRoute.Sitemap { + return [ + { + url: BASE_URL, + lastModified: new Date(), + changeFrequency: "yearly", + priority: 1, + }, + ]; +} diff --git a/src/lib/constants.ts b/src/lib/constants.ts new file mode 100644 index 0000000..1e11df1 --- /dev/null +++ b/src/lib/constants.ts @@ -0,0 +1 @@ +export const BASE_URL = "https://investingfire.com/";