Skip to content

Commit 05d1c3d

Browse files
committed
Cleanup
1 parent 2432c3b commit 05d1c3d

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

src/components/StablecoinBoxGrid.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,7 @@ const GridItem = ({
206206
}}
207207
>
208208
{isOpen ? (
209-
<>
210-
<Box display={'flex'} alignItems={'center'} justifyContent={'space-between'} gap={48}>
211-
<Emoji mb={8} text={emoji} fontSize="8xl" />
212-
{title === t("page-stablecoins-algorithmic") && (
213-
214-
<Disclaimer disclaimer={t("page-stablecoins-algorithmic-disclaimer")} />
215-
216-
)}
217-
</Box>
218-
219-
220-
</>
209+
<Emoji mb={8} text={emoji} fontSize="8xl" />
221210
) : (
222211
<>
223212
<StyledEmoji emoji={emoji} />
@@ -228,7 +217,6 @@ const GridItem = ({
228217
{isOpen && (
229218
<div>
230219
<OpenTitle title={title} />
231-
232220
<Body>{description}</Body>
233221
<Row>
234222
{pros && (

src/pages/stablecoins.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,9 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
600600
<Icon ms={2} fill="'text" name="info" boxSize={4} />
601601
</Tooltip>
602602
</H3>
603+
<InfoBanner emoji="⚠️" isWarning>
604+
{t("page-stablecoins-algorithmic-disclaimer")}
605+
</InfoBanner>
603606
<Text>
604607
{t("page-stablecoins-top-coins-intro")}{" "}
605608
{t("page-stablecoins-top-coins-intro-code")}
@@ -713,16 +716,16 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
713716
/>
714717
))}
715718
</Grid>
716-
<InfoBanner isWarning shouldCenter>
717-
<H3 mt={0} mb={4}>
718-
{t("page-stablecoins-research-warning-title")}
719-
</H3>
720-
{t("page-stablecoins-research-warning")}
721-
</InfoBanner>
722719
</Content>
723720
<Divider />
724721
<Content id="how">
725722
<H2 mt={0}>{t("page-stablecoins-types-of-stablecoin")}</H2>
723+
<InfoBanner emoji="⚠️" isWarning>
724+
<H3 mt={0} mb={4}>
725+
{t("page-stablecoins-research-warning-title")}
726+
</H3>
727+
{t("page-stablecoins-algorithmic-disclaimer")}
728+
</InfoBanner>
726729
<StablecoinBoxGrid items={features} />
727730
</Content>
728731
<Box id="tools" py={12} px={8} w="full">

0 commit comments

Comments
 (0)