Skip to content

Commit

Permalink
Unify tabs and queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed Jun 4, 2024
1 parent 5cb856b commit 2813086
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion docs/build/_partials/_metamask_buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Networks } from '@theme/constant';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs groupId='network'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>
<AddToMetaMaskButton {...Networks['iota']}/>
</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/_partials/_oracles_contract_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Networks } from '@theme/constant';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs groupId='network'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>

| Contract Type | Contract Address |
Expand Down
2 changes: 1 addition & 1 deletion docs/build/isc/v1.1/docs/_partials/_hardhat_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Networks } from '@theme/constant';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs groupId='network'>
<Tabs groupId='network' queryString>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>

<CodeBlock language="js">
Expand Down
6 changes: 3 additions & 3 deletions docs/build/isc/v1.1/docs/getting-started/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ You can now use your testnet tokens and simulated bridged tokens to deploy and i

Visit the corresponding Testnet Block Explorer to monitor the chain, track transactions, and explore deployed smart contracts.

<Tabs groupId='network'>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<Tabs groupId='network' queryString>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<Link to={Networks['iota_testnet'].evm.blockExplorerUrls[0]}>Explorer</Link>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<Link to={Networks['shimmer_testnet'].evm.blockExplorerUrls[0]}>Explorer</Link>
</TabItem>
</Tabs>
Expand Down
20 changes: 10 additions & 10 deletions docs/build/isc/v1.1/docs/getting-started/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ chain ID after deployment.**

## Network RPCs

<Tabs>
<TabItem value='iotaEVM' label='IOTA EVM'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>
<AddToMetaMaskButton {...Networks['iota']}/>
<NetworkInfo.Evm {...Networks['iota']}/>
</TabItem>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<AddToMetaMaskButton {...Networks['iota_testnet']}/>
<NetworkInfo.Evm {...Networks['iota_testnet']}/>
</TabItem>
<TabItem value='shimmerEVM' label='ShimmerEVM'>
<TabItem value='shimmer' label='ShimmerEVM'>
<AddToMetaMaskButton {...Networks['shimmer']}/>
<NetworkInfo.Evm {...Networks['shimmer']}/>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<AddToMetaMaskButton {...Networks['shimmer_testnet']}/>
<NetworkInfo.Evm {...Networks['shimmer_testnet']}/>
</TabItem>
Expand Down Expand Up @@ -117,20 +117,20 @@ To use your EVM chain with MetaMask, simply open up MetaMask and click on the ne
the bottom of this list, you will see the option `Add network`. On the new page you will see a list of popular network with the option `Add a network manually`.
For example this would be the configs to add our different [EVM chains](/build/networks-endpoints):

<Tabs>
<TabItem value='iotaEVM' label='IOTA EVM'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>
<AddToMetaMaskButton {...Networks['iota']}/>
<NetworkInfo.Evm {...Networks['iota']}/>
</TabItem>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<AddToMetaMaskButton {...Networks['iota_testnet']}/>
<NetworkInfo.Evm {...Networks['iota_testnet']}/>
</TabItem>
<TabItem value='shimmerEVM' label='ShimmerEVM'>
<TabItem value='shimmer' label='ShimmerEVM'>
<AddToMetaMaskButton {...Networks['shimmer']}/>
<NetworkInfo.Evm {...Networks['shimmer']}/>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<AddToMetaMaskButton {...Networks['shimmer_testnet']}/>
<NetworkInfo.Evm {...Networks['shimmer_testnet']}/>
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ the [How to Create a Basic Solidity Contract Guide](create-a-basic-contract.md).

:::

<Tabs>
<Tabs groupId='tool' queryString>
<TabItem value='remix' label='Remix'>

Deploying a Solidity smart contract using Remix is a straightforward process that doesn't require any installation or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you want to fund your EVM Testnet account using the EVM Toolkit, please refer
To send EVM transactions, you need to have an Ethereum address that owns tokens on the ISC chain (L2). These tokens will
be used to cover gas fees.

<Tabs>
<Tabs groupId='wallet' queryString>
<TabItem value='firefly' label='Firefly'>

You can use your [Firefly Wallet](https://firefly.iota.org/) to easily send L1 IOTA or SMR to your L2 IOTA EVM or ShimmerEVM account.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Networks } from '@theme/constant';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs groupId='network'>
<Tabs groupId='network' queryString>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>

<CodeBlock language="js">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ You can now use your testnet tokens and simulated bridged tokens to deploy and i

Visit the corresponding Testnet Block Explorer to monitor the chain, track transactions, and explore deployed smart contracts.

<Tabs groupId='network'>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<Tabs groupId='network' queryString>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<Link to={Networks['iota_testnet'].evm.blockExplorerUrls[0]}>Explorer</Link>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<Link to={Networks['shimmer_testnet'].evm.blockExplorerUrls[0]}>Explorer</Link>
</TabItem>
</Tabs>
Expand Down
20 changes: 10 additions & 10 deletions docs/build/isc/v1.3-alpha/docs/getting-started/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ chain ID after deployment.**

## Network RPCs

<Tabs>
<TabItem value='iotaEVM' label='IOTA EVM'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>
<AddToMetaMaskButton {...Networks['iota']}/>
<NetworkInfo.Evm {...Networks['iota']}/>
</TabItem>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<AddToMetaMaskButton {...Networks['iota_testnet']}/>
<NetworkInfo.Evm {...Networks['iota_testnet']}/>
</TabItem>
<TabItem value='shimmerEVM' label='ShimmerEVM'>
<TabItem value='shimmer' label='ShimmerEVM'>
<AddToMetaMaskButton {...Networks['shimmer']}/>
<NetworkInfo.Evm {...Networks['shimmer']}/>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<AddToMetaMaskButton {...Networks['shimmer_testnet']}/>
<NetworkInfo.Evm {...Networks['shimmer_testnet']}/>
</TabItem>
Expand Down Expand Up @@ -117,20 +117,20 @@ To use your EVM chain with MetaMask, simply open up MetaMask and click on the ne
the bottom of this list, you will see the option `Add network`. On the new page you will see a list of popular network with the option `Add a network manually`.
For example this would be the configs to add our different [EVM chains](/build/networks-endpoints):

<Tabs>
<TabItem value='iotaEVM' label='IOTA EVM'>
<Tabs groupId='network' queryString>
<TabItem value='iota' label='IOTA EVM'>
<AddToMetaMaskButton {...Networks['iota']}/>
<NetworkInfo.Evm {...Networks['iota']}/>
</TabItem>
<TabItem value='iotaEVMTestnet' label='IOTA EVM Testnet'>
<TabItem value='iota_testnet' label='IOTA EVM Testnet'>
<AddToMetaMaskButton {...Networks['iota_testnet']}/>
<NetworkInfo.Evm {...Networks['iota_testnet']}/>
</TabItem>
<TabItem value='shimmerEVM' label='ShimmerEVM'>
<TabItem value='shimmer' label='ShimmerEVM'>
<AddToMetaMaskButton {...Networks['shimmer']}/>
<NetworkInfo.Evm {...Networks['shimmer']}/>
</TabItem>
<TabItem value='shimmerEVMTestnet' label='ShimmerEVM Testnet'>
<TabItem value='shimmer_testnet' label='ShimmerEVM Testnet'>
<AddToMetaMaskButton {...Networks['shimmer_testnet']}/>
<NetworkInfo.Evm {...Networks['shimmer_testnet']}/>
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ the [How to Create a Basic Solidity Contract Guide](create-a-basic-contract.md).

:::

<Tabs>
<Tabs groupId='tool' queryString>
<TabItem value='remix' label='Remix'>

Deploying a Solidity smart contract using Remix is a straightforward process that doesn't require any installation or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you want to fund your EVM Testnet account using the EVM Toolkit, please refer
To send EVM transactions, you need to have an Ethereum address that owns tokens on the ISC chain (L2). These tokens will
be used to cover gas fees.

<Tabs>
<Tabs groupId='wallet' queryString>
<TabItem value='firefly' label='Firefly'>

You can use your [Firefly Wallet](https://firefly.iota.org/) to easily send L1 IOTA or SMR to your L2 IOTA EVM or ShimmerEVM account.
Expand Down

0 comments on commit 2813086

Please sign in to comment.