feat: full studio build -- light theme, canvas thumbnails, i18n (fa/en)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
const siteUrl =
|
||||
process.env.NEXT_PUBLIC_SITE_URL ?? "http://localhost:3000";
|
||||
|
||||
const PUBLIC_ROUTES = [
|
||||
"/",
|
||||
"/video-maker",
|
||||
"/image-maker",
|
||||
"/templates",
|
||||
"/pricing",
|
||||
] as const;
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const lastModified = new Date();
|
||||
|
||||
return PUBLIC_ROUTES.map((path) => ({
|
||||
url: new URL(path, siteUrl).toString(),
|
||||
lastModified,
|
||||
}));
|
||||
}
|
||||
Reference in New Issue
Block a user