# Sasquatch Nations
> Sasquatch Nations is an open world supernatural survival RPG where you play as Sasquatch. Hunt, survive, and walk the legend across the wilds of North America.
The site is a pre-release marketing site for the game. It introduces the concept, characters, gameplay pillars, modes, storylines, trailer, and lets visitors join the mailing list and answer a short community survey.
## Pages
- [Home](/): Concept, characters (Toma'quon, Rae'Nok, Dogman, Skinwalker), gameplay pillars, game modes, regional storylines (Pacific Northwest, Arizona), trailer, survey, and mailing list signup.
- [Trust & Privacy](/trust): How the site handles submitted data, security controls, hosting, retention, and contact.
*** Add File: src/routes/sitemap[.]xml.ts
import { createFileRoute } from "@tanstack/react-router";
import type {} from "@tanstack/react-start";
const BASE_URL = "https://sasquatch-nations.com";
interface SitemapEntry {
path: string;
changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
priority?: string;
}
export const Route = createFileRoute("/sitemap.xml")({
server: {
handlers: {
GET: async () => {
const entries: SitemapEntry[] = [
{ path: "/", changefreq: "weekly", priority: "1.0" },
{ path: "/trust", changefreq: "monthly", priority: "0.3" },
];
const urls = entries.map((e) =>
[
` `,
` ${BASE_URL}${e.path}`,
e.changefreq ? ` ${e.changefreq}` : null,
e.priority ? ` ${e.priority}` : null,
` `,
]
.filter(Boolean)
.join("\n"),
);
const xml = [
``,
``,
...urls,
``,
].join("\n");
return new Response(xml, {
headers: {
"Content-Type": "application/xml",
"Cache-Control": "public, max-age=3600",
},
});
},
},
},
});