toggle inventory on mobile

This commit is contained in:
Jon Eugster
2023-07-29 12:29:34 +02:00
parent 34009bcc17
commit 3a50b4ab88
4 changed files with 51 additions and 19 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ function Welcome() {
<FontAwesomeIcon icon={faArrowLeft} />&nbsp;<FontAwesomeIcon icon={faGlobe} />
</Button>
<Button className="btn btn-next" to=""
title="show inventory" onClick={() => {setPageNumber(1)}}>
title="world tree" onClick={() => {setPageNumber(1)}}>
Game&nbsp;<FontAwesomeIcon icon={faArrowRight}/>
</Button>
</div>
@@ -237,7 +237,7 @@ function Welcome() {
<div className="inventory-panel">
<div className="mobile-nav">
<Button className="btn btn-previous" to=""
title="back to introduction" onClick={() => {setPageNumber(1)}}>
title="world tree" onClick={() => {setPageNumber(1)}}>
<FontAwesomeIcon icon={faArrowLeft} />&nbsp;Game
</Button>
</div>