README / app /(arena) /play /[nodeId] /page.tsx
kaigiii's picture
Deploy Learn8 Demo Space
5c920e9
import ArenaClient from "./ArenaClient";
export function generateStaticParams() {
const nodeIds = [
...Array.from({ length: 15 }, (_, i) => `med-n${i + 1}`),
...Array.from({ length: 15 }, (_, i) => `calc-n${i + 1}`),
...Array.from({ length: 15 }, (_, i) => `demo-n${i + 1}`),
];
return nodeIds.map((nodeId) => ({ nodeId }));
}
export default function PlayPage() {
return <ArenaClient />;
}