Skip to content

Commit

Permalink
Change toolbar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Oct 13, 2024
1 parent 3cd0f41 commit 936aa7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Binary file removed public/repl/synced_2.png
Binary file not shown.
Binary file removed public/repl/unsynced_2.png
Binary file not shown.
12 changes: 7 additions & 5 deletions src/content/components/landing-page/repl/ReplEvaluator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,7 @@ export const ReplEvaluator = () => {
{formattedResult}
</div>}
<div className="replLine" id="editor">
<input type="text" className="replExpression" placeholder="Escribí una expresión como 2.even() o [1, 2].size()" onKeyDown={keyDown} onChange={expressionChanged} value={expression}></input>
<div className="botoneraReplExpression">
<button className="replEvaluate" onClick={() => evaluate()} title="Evaluar la expresión">
{/* https://github.com/feathericons/feather/blob/main/icons */}
<img src="/repl/evaluate.svg"/>
</button>
<button className="replRefresh" onClick={() => reload()} title="Recarga el editor e inicia una nueva sesión del REPL">
<img src="/repl/refresh.svg"/>
</button>
Expand All @@ -140,6 +135,13 @@ export const ReplEvaluator = () => {
</button>
<button id="validateEditor" onClick={() => buildInterpreter()}/>
</div>
<input type="text" className="replExpression" placeholder="Escribí una expresión como 2.even() o [1, 2].size()" onKeyDown={keyDown} onChange={expressionChanged} value={expression}></input>
<div className="botoneraReplExpression">
<button className="replEvaluate" onClick={() => evaluate()} title="Evaluar la expresión">
{/* https://github.com/feathericons/feather/blob/main/icons */}
<img src="/repl/evaluate.svg"/>
</button>
</div>
</div>
</section>
}
Expand Down

0 comments on commit 936aa7b

Please sign in to comment.