1
0
Fork 0
This repository has been archived on 2023-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
chellaris-galaxy-political-.../app/page.tsx

15 lines
386 B
TypeScript
Raw Normal View History

import '@/app/globals.css';
import { Game, GameGroup } from '@/types/stellaris';
import { GameView } from '@/components/gui/game-view';
import { generateUrl } from '@/components/server/fetchers';
export default async function Home() {
const games = await fetch(generateUrl('/games')).then((res) => res.json())
2023-05-31 22:10:59 +00:00
return (
<main>
<GameView games={games}/>
2023-05-31 22:10:59 +00:00
</main>
)
}