Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update onboarding network selection buttons #8538

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,17 @@
</div>
<div slot="leftpane__action" class="flex flex-col space-y-4">
{#each Object.values(NetworkId) as networkId}
<OnboardingButton
primaryText={localize(`views.onboarding.networkSetup.chooseNetwork.${networkId}.title`)}
secondaryText={localize(`views.onboarding.networkSetup.chooseNetwork.${networkId}.body`)}
icon={NETWORK_ICON[networkId]}
iconColor={getIconColor(networkId)}
hidden={features?.onboarding?.[networkId]?.hidden}
disabled={!features?.onboarding?.[networkId]?.enabled}
onClick={() => onNetworkSelectionClick(networkId)}
/>
{#if features?.onboarding?.[networkId]?.enabled}
begonaalvarezd marked this conversation as resolved.
Show resolved Hide resolved
<OnboardingButton
primaryText={localize(`views.onboarding.networkSetup.chooseNetwork.${networkId}.title`)}
secondaryText={localize(`views.onboarding.networkSetup.chooseNetwork.${networkId}.body`)}
icon={NETWORK_ICON[networkId]}
iconColor={getIconColor(networkId)}
hidden={features?.onboarding?.[networkId]?.hidden}
disabled={!features?.onboarding?.[networkId]?.enabled}
onClick={() => onNetworkSelectionClick(networkId)}
/>
{/if}
{/each}
</div>
<div slot="rightpane" class="w-full h-full flex justify-center bg-pastel-yellow dark:bg-gray-900">
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"body": "Staging network for IOTA"
},
"testnet": {
"title": "Testnet",
"body": "Public beta network for Shimmer"
"title": "IOTA 2.0 Testnet",
"body": "Public Testnet running the IOTA 2.0 protocol"
},
"iota": {
"title": "IOTA",
Expand Down
Loading