finish web demo

main
Ziyang Hu 2 years ago
parent abe6866065
commit fb94fcd1c5

@ -131,7 +131,7 @@ function App() {
</div> </div>
<div/> <div/>
<div style={{paddingTop: 10, display: 'flex', flexDirection: 'row'}}> <div style={{paddingTop: 10, display: 'flex', flexDirection: 'row'}}>
<Button text={db ? "Run script" : "Loading Cozo library, please wait ..."} <Button text={db ? "Run script" : "Loading WASM ..."}
onClick={() => handleQuery()} onClick={() => handleQuery()}
disabled={!db || inProgress} disabled={!db || inProgress}
intent={Intent.PRIMARY} intent={Intent.PRIMARY}
@ -173,7 +173,7 @@ function App() {
{!(queryResults || errorMessage.length) && <div id="welcome"> {!(queryResults || errorMessage.length) && <div id="welcome">
<p> <p>
This is the demo page for Cozo running in your browser as This is the demo page for Cozo running in your browser as
an <a href="https://webassembly.org/">Web assembly</a> module. a <a href="https://webassembly.org/">Web assembly</a> module.
</p> </p>
<p> <p>
All computation is done within your browser. There is no backend, nor any outgoing requests. All computation is done within your browser. There is no backend, nor any outgoing requests.

Loading…
Cancel
Save