Skip to content

Commit

Permalink
feat(CoinSection): remove tooltip content and add it to description
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Jul 30, 2024
1 parent 29d30d9 commit f2fc5a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
13 changes: 11 additions & 2 deletions components/sections/CoinSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
</client-only>
<p class="text text-wit-blue-500 mt-md">
{{ release.platform }} • x86_64 • {{ size }} MB
<TooltipBase
<!-- TODO: uncomment if tooltip is needed -->
<!-- <TooltipBase
bg-color="bg-white-50"
text-color="text-black-950"
:tooltip-text="t('coin.learn_more')"
Expand All @@ -70,13 +71,21 @@
<template #main>
<span class="text-xs ml-xs">ⓘ</span>
</template>
</TooltipBase>
</TooltipBase> -->
</p>

<p
class="text-large text-white-50 text-center section-description-max-w mb-xl"
>
{{ t('coin.participate-alt-1') }}
<i18n-t keypath="coin.learn_more" tag="span" scope="global">
<a
href="https://docs.witnet.io/node-operators/requirements"
target="_blanc"
class="underline"
>{{ t('coin.learn-more-link') }}</a
>
</i18n-t>
<!--TODO: uncomment when public testnet is live
{{ t('coin.participate2') }}
TODO: uncomment when wit/2 is live
Expand Down
2 changes: 1 addition & 1 deletion constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const URLS: Record<string, string> = {
'https://witnet.notion.site/The-Witnet-Advocate-Program-f572baff6b1d49a69d4db785a924fc61',
bitmart: 'https://www.bitmart.com/trade/en-US?symbol=WIT_USDT',
block_explorer: 'https://witnet.network/',
changelly: 'https://changelly.com/es/buy/wit',
changelly: 'https://changelly.com/buy/wit',
data_feeds_explorer: 'https://feeds.witnet.io',
discord: 'https://discord.gg/witnet',
docker_node: 'https://hub.docker.com/r/witnet/witnet-rust/tags',
Expand Down
4 changes: 2 additions & 2 deletions locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"main": "Stake{0}",
"mark": "!"
},
"learn-more-link": "Learn more",
"learn_more": "{0} about running a Witnet Node, including system requirements and setup instructions.",
"learn-more-link": "running a Witnet Node",
"learn_more": "Learn more about {0}, including system requirements and setup instructions.",
"description1": "Secure the Network,{0}{1}",
"description1-1": "Earn Rewards!",
"description2": "Secure the network, earn rewards, and be part of a censorship-resistant oracle.",
Expand Down

0 comments on commit f2fc5a3

Please sign in to comment.