Skip to content

Commit 1b2caec

Browse files
committed
[Dashboard] Feature: Improve chainlist bridge copy (#6714)
Closes: tool-4076 ![Screenshot 2025-04-13 at 17 24 15](https://github.com/user-attachments/assets/1e6a3f04-cf0d-4dfa-9924-b5b611caaa7a) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `BuyFundsSection` component to reflect a shift in terminology from "Buy Funds" to "Bridge Funds," enhancing clarity regarding the functionality offered. ### Detailed summary - Changed the `SectionTitle` from "Buy Funds" to "Bridge". - Updated the heading text from "Buy Funds on {sanitizedChainName} using Universal Bridge" to "Bridge Funds to {sanitizedChainName}". - Modified the paragraph text to clarify the process of obtaining the native currency. - Altered the `PayModalButton` label from "Buy Funds on {sanitizedChainName}" to "Bridge to {sanitizedChainName}". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent e574114 commit 1b2caec

File tree

1 file changed

+5
-5
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server

1 file changed

+5
-5
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/BuyFundsSection.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function BuyFundsSection(props: { chain: ChainMetadata }) {
1111

1212
return (
1313
<section>
14-
<SectionTitle title="Buy Funds" />
14+
<SectionTitle title="Bridge" />
1515
<div className="flex justify-center rounded-lg border border-border bg-card px-4 py-10">
1616
<div className="flex max-w-[520px] flex-col items-center ">
1717
<div className="flex items-center">
@@ -28,21 +28,21 @@ export function BuyFundsSection(props: { chain: ChainMetadata }) {
2828
<div className="h-6" />
2929

3030
<h2 className="px-4 text-center font-semibold text-lg tracking-tight">
31-
Buy Funds on {sanitizedChainName} using Universal Bridge
31+
Bridge Funds to {sanitizedChainName}
3232
</h2>
3333

3434
<div className="h-2" />
3535

3636
<p className="max-w-[520px] px-4 text-center text-muted-foreground text-sm">
37-
Instantly onramp, bridge & swap into {sanitizedChainName} with any
38-
token.
37+
Get {props.chain.nativeCurrency.symbol} on {sanitizedChainName} with
38+
fiat or any token on another chain.
3939
</p>
4040

4141
<div className="h-8" />
4242

4343
<PayModalButton
4444
chainId={props.chain.chainId}
45-
label={`Buy Funds on ${sanitizedChainName}`}
45+
label={`Bridge to ${sanitizedChainName}`}
4646
/>
4747

4848
<div className="h-4" />

0 commit comments

Comments
 (0)