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

added disclaimer (for Algorithimic stablecoins) to stablecoin page #12229

Merged
merged 4 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions src/intl/en/page-stablecoins.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"page-stablecoins-algorithmic-con-1": "You need to trust (or be able to read) the algorithm.",
"page-stablecoins-algorithmic-con-2": "Your balance of coins will change based on total supply.",
"page-stablecoins-algorithmic-description": "These stablecoins aren't backed by any other asset. Instead an algorithm will sell tokens if the price falls below the desired value and supply tokens if the value goes beyond the desired amount. Because the number of these tokens in circulation changes regularly, the number of tokens you own will change, but will always reflect your share.",
"page-stablecoins-algorithmic-disclaimer": "Algorithmic stablecoins are experimental technology. You should be aware of the risks before using them.",
"page-stablecoins-algorithmic-pro-1": "No collateral needed.",
"page-stablecoins-algorithmic-pro-2": "Controlled by a public algorithm.",
"page-stablecoins-bank-apy": "0.05%",
Expand Down
16 changes: 10 additions & 6 deletions src/pages/stablecoins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
{
title: t("page-stablecoins-algorithmic"),
description: t("page-stablecoins-algorithmic-description"),
disclaimer: t("page-stablecoins-algorithmic-disclaimer"),
emoji: ":chart_with_downwards_trend:",
pros: [
t("page-stablecoins-algorithmic-pro-1"),
Expand Down Expand Up @@ -599,6 +600,9 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
<Icon ms={2} fill="'text" name="info" boxSize={4} />
</Tooltip>
</H3>
<InfoBanner emoji="⚠️" isWarning>
{t("page-stablecoins-algorithmic-disclaimer")}
</InfoBanner>
<Text>
{t("page-stablecoins-top-coins-intro")}{" "}
{t("page-stablecoins-top-coins-intro-code")}
Expand Down Expand Up @@ -712,16 +716,16 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
/>
))}
</Grid>
<InfoBanner isWarning shouldCenter>
<H3 mt={0} mb={4}>
{t("page-stablecoins-research-warning-title")}
</H3>
{t("page-stablecoins-research-warning")}
</InfoBanner>
</Content>
<Divider />
<Content id="how">
<H2 mt={0}>{t("page-stablecoins-types-of-stablecoin")}</H2>
<InfoBanner emoji="⚠️" isWarning>
<H3 mt={0} mb={4}>
{t("page-stablecoins-research-warning-title")}
</H3>
{t("page-stablecoins-algorithmic-disclaimer")}
</InfoBanner>
<StablecoinBoxGrid items={features} />
</Content>
<Box id="tools" py={12} px={8} w="full">
Expand Down
Loading