Skip to content

Commit e54ba68

Browse files
committed
chore: patches from homepage review
1 parent df87cb8 commit e54ba68

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

src/components/StatsBoxGrid/useStatsBoxGrid.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const formatSmallUSD = (value: number, locale: string): string => {
2525
currency: "USD",
2626
notation: "compact",
2727
minimumSignificantDigits: 2,
28-
maximumSignificantDigits: 3,
28+
maximumSignificantDigits: 2,
2929
}).format(value)
3030
}
3131

@@ -101,10 +101,10 @@ export const useStatsBoxGrid = ({
101101
state: valueLocked,
102102
},
103103
{
104-
apiProvider: "GrowThePie",
105-
apiUrl: "https://growthepie.xyz/",
106-
label: t("page-index-network-stats-tx-day-description"),
107-
state: txs,
104+
apiProvider: "Dune Analytics",
105+
apiUrl: "https://dune.com/",
106+
label: t("page-index-network-stats-total-eth-staked"),
107+
state: totalEtherStaked,
108108
},
109109
{
110110
apiProvider: "GrowThePie",
@@ -113,10 +113,10 @@ export const useStatsBoxGrid = ({
113113
state: medianTxCost,
114114
},
115115
{
116-
apiProvider: "Dune Analytics",
117-
apiUrl: "https://dune.com/",
118-
label: t("page-index-network-stats-total-eth-staked"),
119-
state: totalEtherStaked,
116+
apiProvider: "GrowThePie",
117+
apiUrl: "https://growthepie.xyz/",
118+
label: t("page-index-network-stats-tx-day-description"),
119+
state: txs,
120120
},
121121
]
122122

src/intl/en/page-index.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"page-index-bento-networks-content": "Ethereum is the hub for blockchain innovation. The best project are built on Ethereum.",
8080
"page-index-bento-networks-title": "The network of networks",
8181
"page-index-bento-stablecoins-action": "Learn more",
82-
"page-index-bento-stablecoins-content": "Stablecoins are currencies that maintain stable value. Their price matches the U.S. dollar or other steady asset.",
82+
"page-index-bento-stablecoins-content": "Stablecoins are currencies that maintain stable value. Their price matches the U.S. dollar or other steady assets.",
8383
"page-index-bento-stablecoins-title": "Crypto without volatility",
8484
"page-index-builders-action-primary": "Builder's Portal",
8585
"page-index-builders-action-secondary": "Documentation",
@@ -95,15 +95,15 @@
9595
"page-index-community-description-3": "Ethereum.org community is the perfect place to start and learn.",
9696
"page-index-community-tag": "Ethereum.org Community",
9797
"page-index-community-header": "Built by the community",
98-
"page-index-cta-dapps-description": "See what Ethereum can do",
98+
"page-index-cta-dapps-description": "Finance, gaming, social",
9999
"page-index-cta-dapps-label": "Try apps",
100100
"page-index-cta-get-eth-description": "The currency of Ethereum",
101101
"page-index-cta-get-eth-label": "Get ETH",
102102
"page-index-cta-networks-description": "Enjoy minimal fees",
103103
"page-index-cta-networks-label": "Choose a network",
104-
"page-index-cta-wallet-description": "Create accounts, manage assets",
104+
"page-index-cta-wallet-description": "Create accounts & manage assets",
105105
"page-index-cta-wallet-label": "Pick a wallet",
106-
"page-index-description": "The leading platform for innovative apps and Ethereum-backed blockchain networks",
106+
"page-index-description": "The leading platform for innovative apps and blockchain networks",
107107
"page-index-developers-code-example-description-0": "Build a bank powered by logic you've programmed",
108108
"page-index-developers-code-example-description-1": "Create tokens that you can transfer and use across applications",
109109
"page-index-developers-code-example-description-2": "Use existing languages to interact with Ethereum and other applications",
@@ -136,7 +136,7 @@
136136
"page-index-network-stats-tx-cost-description": "Average transaction cost",
137137
"page-index-network-stats-tx-day-description": "Transactions in the last 24h",
138138
"page-index-network-stats-tx-day-explainer": "The number of transactions successfully processed on the network in the last 24 hours.",
139-
"page-index-network-stats-value-defi-description": "Value locked in DeFi (USD)",
139+
"page-index-network-stats-value-defi-description": "Value locked in DeFi",
140140
"page-index-network-stats-value-defi-explainer": "The amount of money in decentralized finance (DeFi) applications, the Ethereum digital economy.",
141141
"page-index-popular-topics-ethereum": "What is Ethereum?",
142142
"page-index-popular-topics-header": "Popular topics",

src/pages/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,13 @@ const HomePage = ({
329329
</SvgButtonLink>
330330
))}
331331
</div>
332-
<div className="flex justify-center py-8 md:justify-start">
332+
<div className="flex py-8 sm:justify-center">
333333
<ButtonLink
334334
href="/learn/"
335335
size="lg"
336336
variant="outline"
337337
isSecondary
338+
className="max-sm:self-start"
338339
>
339340
{t("page-index:page-index-popular-topics-action")}{" "}
340341
<ChevronNext />
@@ -632,7 +633,7 @@ const HomePage = ({
632633
)}
633634
</div>
634635
</div>
635-
<div className="flex justify-center py-8 md:justify-start">
636+
<div className="flex justify-start py-8">
636637
<ButtonLink href="/community/events/" size="lg" className="mx-auto">
637638
{t("page-index:page-index-events-action")} <ChevronNext />
638639
</ButtonLink>

0 commit comments

Comments
 (0)