update landing page

cleanup_stuff
Jon Eugster 3 years ago
parent 8c84d3fae7
commit 0a057913be

@ -20,6 +20,7 @@ const flag = {
'French': '🇫🇷', 'French': '🇫🇷',
'German': '🇩🇪', 'German': '🇩🇪',
'Italian': '🇮🇹', 'Italian': '🇮🇹',
'Spanish': '🇪🇸',
} }
function GithubIcon({url='https://github.com'}) { function GithubIcon({url='https://github.com'}) {
@ -131,8 +132,10 @@ function LandingPage() {
// //
let allGames = [ let allGames = [
"leanprover-community/nng4", "leanprover-community/nng4",
"hhu-adam/robo",
"djvelleman/stg4", "djvelleman/stg4",
"hhu-adam/robo"] "miguelmarco/STG4",
]
let allTiles = allGames.map((gameId) => (useGetGameInfoQuery({game: `g/${gameId}`}).data?.tile)) let allTiles = allGames.map((gameId) => (useGetGameInfoQuery({game: `g/${gameId}`}).data?.tile))
return <div className="landing-page"> return <div className="landing-page">
@ -162,38 +165,14 @@ function LandingPage() {
/> />
)) ))
} }
{/* <GameTile
title="Natural Number Game"
gameId="g/hhu-adam/NNG4"
intro="The classical introduction game for Lean."
description="In this game you recreate the natural numbers $\mathbb{N}$ from the Peano axioms,
learning the basics about theorem proving in Lean.
This is a good first introduction to Lean!"
worlds="8"
levels="67"
image={coverNNG}
language="English"
/>
<GameTile
title="Set Theory Game"
gameId="g/djvelleman/STG4"
intro="A game about set theory"
description=""
worlds="5"
levels="30"
language="English"
/>
*/}
</div> </div>
<section> <section>
<div className="wrapper"> <div className="wrapper">
<h2>Development notes</h2> <h2>Development notes</h2>
<p> <p>
As this server runs lean on our university machines, it has a limited capacity. As this server runs lean on our university machines, it has a limited capacity.
Our current estimate is about 55 copies of the NNG or 25 copies of games importing Our current estimate is about 70 simultaneous games.
mathlib. We hope to address this limitation in the future. We hope to address and test this limitation better in the future.
</p> </p>
<p> <p>
Most aspects of the games and the infrastructure are still in development. Feel free to Most aspects of the games and the infrastructure are still in development. Feel free to
@ -207,18 +186,19 @@ This is a good first introduction to Lean!"
<h2>Adding new games</h2> <h2>Adding new games</h2>
<p> <p>
If you are considering writing your own game, you should use If you are considering writing your own game, you should use
the <a target="_blank" href="https://github.com/hhu-adam/NNG4">NNG Github Repo</a> as the <a target="_blank" href="https://github.com/hhu-adam/GameSkeleton">GameSkeleton Github Repo</a> as
a template. a template and read <a target="_blank" href="https://github.com/leanprover-community/lean4game/">How to Create a Game</a>.
</p> </p>
<p> <p>
There is an option to load and run your own games directly on the server, You can directly load your games into the server and play it using
instructions are in the NNG repo. Since this is still in development we'd like to the correct URL. The <a target="_blank" href="https://github.com/leanprover-community/lean4game/">instructions above</a> also
encourage you to contact us for support creating your own game. The documentation is explain the details for how to load your game to the server.
not polished yet.
We'd like to encourage you to contact us if you have any questions.
</p> </p>
<p> <p>
To add games to this main page, you should get in contact as Featured games on this page are added manually.
games will need to be added manually. Please get in contact and we-ll happily add yours.
</p> </p>
</div> </div>
</section> </section>
@ -236,9 +216,6 @@ This is a good first introduction to Lean!"
<a className="link" onClick={openImpressum}>Impressum</a> <a className="link" onClick={openImpressum}>Impressum</a>
{impressum? <PrivacyPolicyPopup handleClose={closeImpressum} />: null} {impressum? <PrivacyPolicyPopup handleClose={closeImpressum} />: null}
</footer> </footer>
{/* <PrivacyPolicy/> */}
</div> </div>
} }

Loading…
Cancel
Save