diff --git a/app/sitemap.tsx b/app/sitemap.tsx new file mode 100644 index 0000000..97f0622 --- /dev/null +++ b/app/sitemap.tsx @@ -0,0 +1,24 @@ +import { MetadataRoute } from "next"; + +export default function sitemap(): MetadataRoute.Sitemap { + return [ + { + url: `${process.env.NEXT_PUBLIC_FR_DOMAIN}/`, + lastModified: new Date(), + changeFrequency: "monthly", + priority: 1, + }, + { + url: `${process.env.NEXT_PUBLIC_FR_DOMAIN}/receive`, + lastModified: new Date(), + changeFrequency: "monthly", + priority: 0.8, + }, + { + url: `${process.env.NEXT_PUBLIC_FR_DOMAIN}/share`, + lastModified: new Date(), + changeFrequency: "monthly", + priority: 0.5, + }, + ]; +}