|
@ -11,7 +11,14 @@ const ConnectionType = ({ connectionType, setConnectionType }) => ( |
|
|
> |
|
|
> |
|
|
<div className={`${styles.button}`} onClick={() => setConnectionType('local')}> |
|
|
<div className={`${styles.button}`} onClick={() => setConnectionType('local')}> |
|
|
{connectionType === 'local' ? <FaCircle /> : <FaCircleThin />} |
|
|
{connectionType === 'local' ? <FaCircle /> : <FaCircleThin />} |
|
|
<span className={styles.label}>Default</span> |
|
|
<span className={styles.label}> |
|
|
|
|
|
Default <span className={styles.superscript}>testnet</span> |
|
|
|
|
|
</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div className={`${styles.description}`}> |
|
|
|
|
|
By selecting the defualt mode we will do everything for you. Just click and go! |
|
|
|
|
|
<br /> |
|
|
|
|
|
(testnet only) |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
</section> |
|
|
<section |
|
|
<section |
|
@ -21,12 +28,19 @@ const ConnectionType = ({ connectionType, setConnectionType }) => ( |
|
|
{connectionType === 'custom' ? <FaCircle /> : <FaCircleThin />} |
|
|
{connectionType === 'custom' ? <FaCircle /> : <FaCircleThin />} |
|
|
<span className={styles.label}>Custom</span> |
|
|
<span className={styles.label}>Custom</span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div className={`${styles.description}`}> |
|
|
|
|
|
Connect to your own node. You will need to provide your own connection settings so this is |
|
|
|
|
|
for advanced users only. |
|
|
|
|
|
</div> |
|
|
</section> |
|
|
</section> |
|
|
<section className={`${styles.option} ${connectionType === 'btcpayserver' && styles.active}`}> |
|
|
<section className={`${styles.option} ${connectionType === 'btcpayserver' && styles.active}`}> |
|
|
<div className={`${styles.button}`} onClick={() => setConnectionType('btcpayserver')}> |
|
|
<div className={`${styles.button}`} onClick={() => setConnectionType('btcpayserver')}> |
|
|
{connectionType === 'btcpayserver' ? <FaCircle /> : <FaCircleThin />} |
|
|
{connectionType === 'btcpayserver' ? <FaCircle /> : <FaCircleThin />} |
|
|
<span className={styles.label}>BTCPay Server</span> |
|
|
<span className={styles.label}>BTCPay Server</span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div className={`${styles.description}`}> |
|
|
|
|
|
Connect to your own BTCPay Server instance to access your BTCPay Server wallet. |
|
|
|
|
|
</div> |
|
|
</section> |
|
|
</section> |
|
|
</div> |
|
|
</div> |
|
|
) |
|
|
) |
|
|