Migrate documentation site to Astro
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---
|
||||
import ManualLayout from '../layouts/ManualLayout.astro';
|
||||
---
|
||||
<ManualLayout title="Decodal Playground" playground>
|
||||
<section class="playground-page">
|
||||
<div class="playground-header">
|
||||
<div>
|
||||
<h1>Playground</h1>
|
||||
<p>Evaluate Decodal directly in your browser through WebAssembly.</p>
|
||||
</div>
|
||||
<button id="run" disabled>Run</button>
|
||||
</div>
|
||||
<p id="status" class="status">Loading WASM...</p>
|
||||
<div class="playground-grid">
|
||||
<label class="pane">
|
||||
<span>Input</span>
|
||||
<textarea id="source" spellcheck="false"></textarea>
|
||||
</label>
|
||||
<section class="pane output-pane">
|
||||
<span>Output</span>
|
||||
<pre id="output"></pre>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<script type="module" src="../scripts/playground.js"></script>
|
||||
</ManualLayout>
|
||||
Reference in New Issue
Block a user