put conclusion text inside info-box for now

pull/54/head
Jon Eugster 3 years ago
parent a4d1130487
commit 0fc992e330

@ -205,7 +205,9 @@ function PlayableLevel({worldId, levelId}) {
</EditorContext.Provider> </EditorContext.Provider>
{completed && <div className="conclusion"> {completed && <div className="conclusion">
<Markdown>{level?.data?.conclusion}</Markdown> <Alert severity="info" sx={{ mt: 1 }}>
<Markdown>{level?.data?.conclusion}</Markdown>
</Alert>
{levelId >= gameInfo.data?.worldSize[worldId] ? {levelId >= gameInfo.data?.worldSize[worldId] ?
<Button to={`/`}><FontAwesomeIcon icon={faHome} /></Button> : <Button to={`/`}><FontAwesomeIcon icon={faHome} /></Button> :
<Button to={`/world/${worldId}/level/${levelId + 1}`}> <Button to={`/world/${worldId}/level/${levelId + 1}`}>

Loading…
Cancel
Save