image for world intro
This commit is contained in:
@@ -101,7 +101,7 @@ function Game() {
|
|||||||
{<>
|
{<>
|
||||||
<ChatPanel visible={worldId ? (levelId == 0 && page == 1) :(page == 0)} />
|
<ChatPanel visible={worldId ? (levelId == 0 && page == 1) :(page == 0)} />
|
||||||
{ worldId ?
|
{ worldId ?
|
||||||
(levelId > 0 && <LevelWrapper visible={page == 1} />) :
|
<LevelWrapper visible={page == 1} /> :
|
||||||
<WorldTreePanel visible={page == 1} />
|
<WorldTreePanel visible={page == 1} />
|
||||||
}
|
}
|
||||||
<InventoryPanel visible={page == 2} />
|
<InventoryPanel visible={page == 2} />
|
||||||
@@ -113,7 +113,7 @@ function Game() {
|
|||||||
<ChatPanel />
|
<ChatPanel />
|
||||||
<div className="column">
|
<div className="column">
|
||||||
{/* Note: apparently without this `div` the split panel bugs out. */}
|
{/* Note: apparently without this `div` the split panel bugs out. */}
|
||||||
{worldId ? (levelId > 0 && <LevelWrapper />) : <WorldTreePanel /> }
|
{worldId ? <LevelWrapper /> : <WorldTreePanel /> }
|
||||||
</div>
|
</div>
|
||||||
<InventoryPanel />
|
<InventoryPanel />
|
||||||
</Split>
|
</Split>
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ import { ChatContext, InputModeContext, PreferencesContext, MonacoEditorContext,
|
|||||||
ProofContext, PageContext } from './infoview/context'
|
ProofContext, PageContext } from './infoview/context'
|
||||||
import { DualEditor, ExerciseStatement } from './infoview/main'
|
import { DualEditor, ExerciseStatement } from './infoview/main'
|
||||||
import { GameHint, InteractiveGoalsWithHints, ProofState } from './infoview/rpc_api'
|
import { GameHint, InteractiveGoalsWithHints, ProofState } from './infoview/rpc_api'
|
||||||
import { DeletedHints, Hints, MoreHelpButton } from './hints'
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
import '@fontsource/roboto/300.css'
|
import '@fontsource/roboto/300.css'
|
||||||
|
|||||||
Reference in New Issue
Block a user