move landing page tiles to the games

This commit is contained in:
joneugster
2023-12-06 18:21:37 +01:00
parent 121b36b542
commit 7a03c4fe0d
5 changed files with 165 additions and 38 deletions
+13
View File
@@ -3,6 +3,18 @@
*/
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'
export interface GameTile {
title: string
short: string
long: string
languages: Array<string>
prerequisites: Array<string>
worlds: number
levels: number
image: string
}
export interface GameInfo {
title: null|string,
introduction: null|string,
@@ -11,6 +23,7 @@ export interface GameInfo {
worldSize: null|{[key: string]: number},
authors: null|string[],
conclusion: null|string,
tile: null|GameTile
}
export interface InventoryTile {