nng levels

This commit is contained in:
Jon Eugster
2023-04-17 14:59:44 +02:00
parent 8d395d56e7
commit f48f639190
10 changed files with 88 additions and 64 deletions
+1 -3
View File
@@ -249,13 +249,11 @@ function Introduction({worldId}) {
<LevelAppBar isLoading={gameInfo.isLoading} levelTitle="Einführung" worldId={worldId} levelId={0} />
<div style={gameInfo.isLoading ? {display: "none"} : null} className="exercise-panel">
<div className="introduction-panel">
{ gameInfo.data?.worlds.nodes[worldId].introduction &&
<div className="message info">
<div className="message info">
<Markdown>
{gameInfo.data?.worlds.nodes[worldId].introduction}
</Markdown>
</div>
}
</div>
<div className="conclusion">
{0 == gameInfo.data?.worldSize[worldId] ?