diff options
Diffstat (limited to 'src/routes/(static)')
| -rw-r--r-- | src/routes/(static)/+layout.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(static)/docs/+page.svelte | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/routes/(static)/+layout.svelte b/src/routes/(static)/+layout.svelte index 2eb47149..a7a1ab22 100644 --- a/src/routes/(static)/+layout.svelte +++ b/src/routes/(static)/+layout.svelte @@ -1,3 +1,3 @@ <main class="container flex px-10 md:px-40 mx-auto"> -<slot /> + <slot /> </main> diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index 5361c87e..0e11decb 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -1,5 +1,6 @@ <h1>API Examples</h1> -<pre><code class="whitespace-pre-wrap">{` +<pre><code class="whitespace-pre-wrap" + >{` api="https://coinos.io/api" json="Content-Type: application/json" @@ -71,4 +72,5 @@ fee=$(echo $tx | jq -r .tx.fee) curl -s "$api/bitcoin/send" -H "$json" -H "$auth" -d '{"address": "bc1qqc9azhdjjpdxenrndt8cw4tw9del5pyrjn0wln", "tx": { "hex": "'$hex'", "fee": "'$fee'" }}' | jq -r '{ amount, fee, balance: (.account.balance)}' echo "" -`}</code></pre> +`}</code + ></pre> |
