Files
xrpl-dev-portal/content/_snippets/interactive-tutorials/connect-step.md
mDuo13 ee8acbbd22 Migrate interactive tutorials (post realm v0.70)
Attempt migrating interactive tutorial again

Migrate interactive tutorial snippet syntax

Interactive tutorials: partially migrate send-xrp, no-freeze to new syntax

Fix Send XRP interactive tutorial

Interactive tutorials: fixes for Redocly incl. localization challenges

Interactive tutorials: switch defaultValue back to value in anticipation of Redocly bugfix

Fix document.ready→window.onRouteChange, cyclers, etc. in interactive
tutorials.
2024-01-31 16:10:32 -08:00

16 lines
565 B
Markdown

<!-- Interactive tutorials are hard-coded to Testnet for now due to Redocly
limitations. They'll be replaced with new-style tutorials next anyway. -->
{% interactive-block label=default($label, "Connect") steps=$frontmatter.steps %}
<button id="connect-button" class="btn btn-primary" data-wsurl="wss://s.altnet.rippletest.net:51233" data-explorer="https://testnet.xrpl.org">Connect to Testnet</button>
<div>
<strong>Connection status: </strong>
<span id="connection-status">Not connected</span>
{% loading-icon /%}
</div>
{% /interactive-block %}