Skip to content

Commit ab738eb

Browse files
committed
new narrative (#6563)
<!-- ## 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 focuses on updating the `AnnouncementBanner` and `Banner` components to promote the new `Universal Bridge` feature, enhancing the messaging around payment integration, and refining the content in the documentation to reflect these changes. ### Detailed summary - Updated `AnnouncementBanner` with new `href`, `label`, and `trackingLabel`. - Changed `Banner` ID, `text`, and `href` to reflect the `Universal Bridge` launch. - Revised documentation for webhook events to include `Universal Bridge`. - Enhanced content in the overview page for `Universal Bridge`. - Updated descriptions and titles for multiple `FeatureCard` components. - Removed fee-sharing section and added new integration options for `Universal Bridge`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 8e6651e commit ab738eb

File tree

4 files changed

+39
-48
lines changed

4 files changed

+39
-48
lines changed

apps/dashboard/src/components/notices/AnnouncementBanner.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export function AnnouncementBanner(props: {
5656
export function OrganizeContractsToProjectsBanner() {
5757
return (
5858
<AnnouncementBanner
59-
href="https://blog.thirdweb.com/organize-contracts/"
60-
label="Your contracts are now organized into projects. Learn more"
61-
trackingLabel="organize-contracts-to-projects"
59+
href="https://playground.thirdweb.com/connect/pay"
60+
label="Let users pay with whatever they have without leaving your app"
61+
trackingLabel="ub-launch"
6262
/>
6363
);
6464
}
Lines changed: 32 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { createMetadata, DocImage, Grid, SDKCard, FeatureCard } from "@doc";
22
import PayOverviewImage from "../assets/pay-overview.png";
33
import SupportedChains from "../../../_images/supported-chains.png";
4+
import {Rocket, ArrowLeftRight, Wallet, Pencil, ShieldCheck, PiggyBank, Globe, Component} from "lucide-react";
45

56
export const metadata = createMetadata({
67
image: {
@@ -14,7 +15,7 @@ export const metadata = createMetadata({
1415

1516
# Overview
1617

17-
Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencies and execute transactions with any fiat options or tokens via cross-chain routing.
18+
Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencies and execute transactions with any fiat options or tokens via cross-chain routing. It enables users to purchase or complete in-app transactions with any token they hold.
1819

1920
<DocImage src={PayOverviewImage} />
2021

@@ -24,46 +25,46 @@ Universal Bridge allows your users to bridge, swap, and purchase cryptocurrencie
2425
className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-2 "
2526
>
2627
<FeatureCard
27-
title="Earn money"
28-
description="Receive 70% of fees on each crypto-to-crypto transaction"
29-
iconUrl="/icons/feature-cards/earn-money.svg"
28+
title="Avoid chargeback & liability"
29+
description="Automatic screening for sanctioned wallets and regions to ensure application safety."
30+
iconUrl={<Rocket />}
3031
/>
3132

3233
<FeatureCard
33-
title="Onboard users"
34-
description="Fiat on-ramps to enable purchases with traditional payment methods"
35-
iconUrl="/icons/feature-cards/onboard-users.svg"
34+
title="Global Coverage"
35+
description="Bridging support in over 160+ countries to reach a truly global audience."
36+
iconUrl={<Globe/>}
3637
/>
3738
<FeatureCard
38-
title="Enable in-app purchases"
39-
description="Purchase crypto without leaving the application"
40-
iconUrl="/icons/feature-cards/in-app-purchase.svg"
39+
title="Earn revenue"
40+
description="Monetize your application and earn up to 3% of fees on each transaction."
41+
iconUrl={<PiggyBank />}
4142
/>
4243
<FeatureCard
43-
title="Chain Coverage"
44-
description="Support purchases on over 20+ widely used EVM chains"
45-
iconUrl="/icons/feature-cards/chain-coverage.svg"
44+
title="Transact Securely"
45+
description="Strict one-time approvals ensuring funds are not at risk of exploits."
46+
iconUrl={<ShieldCheck />}
4647
/>
4748
<FeatureCard
48-
title="Liquidity Aggregation"
49-
description="Ensure every transaction is possible"
50-
iconUrl="/icons/feature-cards/liquidity-aggregation.svg"
49+
title="Easy-to-integrate Components"
50+
description="Easily integrate components for buying funds, e-commerce checkouts, and more."
51+
iconUrl={<Component />}
5152
/>
5253

5354
<FeatureCard
54-
title="Global Coverage"
55-
description="Support for over 130+ countries"
56-
iconUrl="/icons/feature-cards/global-coverage.svg"
55+
title="Customizable Flows"
56+
description="Create your own customized headless flows using the Universal Bridge SDK or API."
57+
iconUrl={<Pencil/>}
5758
/>
5859
<FeatureCard
59-
title="Integration Options"
60-
description="Use pre-built modals or customize the transaction experience"
61-
iconUrl="/icons/feature-cards/integration-options.svg"
60+
title="Flexible Wallet Payments"
61+
description="Enable payments with any wallet that has funds not just the one connected."
62+
iconUrl= {<Wallet />}
6263
/>
6364
<FeatureCard
64-
title="Secure"
65-
description="Strict one-time approvals mean user funds are not at risk of smart contract allowance exploits"
66-
iconUrl="/icons/feature-cards/security.svg"
65+
title="Multi-hop Routing"
66+
description="Handle multiple swaps at once within one session for a seamless swap experience."
67+
iconUrl={<ArrowLeftRight />}
6768
/>
6869

6970
</div>
@@ -74,30 +75,20 @@ Universal Bridge is supported on select EVM compatible chains. To view the full
7475

7576
<DocImage src={SupportedChains} />
7677

77-
## Fee Sharing
78-
79-
Thirdweb collects a 1% fee per end-user transaction and shares 70% of that fee with you. For example, on a $100 Polygon purchase, a $1.00 fee is charged—of which $0.30 is retained by thirdweb and $0.70 is remitted to you.
80-
81-
Note: Fee sharing applies only to fees from swaps and bridges; fiat purchases are excluded.
82-
83-
To enable fee sharing, simply set a recipient address in your dashboard under Team > Project > Connect > Universal Bridge in the thirdweb dashboard.
84-
85-
## Onramp providers
78+
## Onramp Providers
8679

8780
| Provider | Supported Countries |
8881
| -------- | ------------------------------------------------------------------------------------------------------- |
8982
| Transak | https://transak.notion.site/On-Ramp-Payment-Methods-Fees-Other-Details-b0761634feed4b338a69f4f186d906a5 |
9083
| Kado | https://www.kado.money/supported-countries |
9184
| Stripe | https://docs.stripe.com/crypto/onramp |
92-
93-
Specify a preferred onramp provider by setting the preferredProvider parameter in ConnectButton, PayEmbed, or Headless Integration. For details, refer to
94-
[customization](../pay/customization/connectbutton#preferredProvider) or the [API Reference for preferredProvider](/references/typescript/v5/GetBuyWithFiatQuoteParams).
85+
| Coinbase | https://docs.cdp.coinbase.com/onramp/docs/payment-methods/ |
9586

9687
## Integration Options
9788

9889
| OPTION | BEST FOR |
9990
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
100-
| [ConnectButton](/connect/pay/get-started#option-1-connectbutton) | Developers who want out-of-the-box support complete with wallet and social login. |
101-
| [PayEmbed](/connect/pay/get-started#option-2-embed-pay) | Developers who want onramp and crypto purchase experiences directly in their application. |
102-
| [Transaction Flow (sendTransaction)](/connect/pay/get-started#option-3-send-a-transaction-with-pay) | Developers who want users to onramp or purchase crypto directly into a transaction. Great for minting and NFT purchase flows. |
103-
| [Custom Universal Bridge Experience](/connect/pay/build-a-custom-experience) | Developers who want full customization over every step of the onramp process, from displaying quotes to polling for transaction statuses. |
91+
| [Buy Crypto](https://playground.thirdweb.com/connect/pay/) | Developers who want onramp and crypto purchase experiences directly in their application. |
92+
| [Transactions](https://playground.thirdweb.com/connect/pay/transactions) | Developers who want users to onramp or purchase crypto directly into a transaction. Great for minting and NFT purchase flows. |
93+
| [In-App Purchases](https://playground.thirdweb.com/connect/pay/commerce) | Developers who want to take payments from Fiat or Crypto directly to a seller wallet |
94+
| [Headless](https://playground.thirdweb.com/connect/pay/backend) | Developers who prefer a headless customized flow using APIs. |

apps/portal/src/app/connect/pay/webhooks/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const metadata = createMetadata({
99

1010
# Webhooks
1111

12-
Pay can be configured to send webhook events to notify your application any time an event happens on your transaction. Pay sends a response, via a HTTP request, to any endpoint URLs that you have provided us in your Team > Project > Connect > Pay > Webhooks page in [thirdweb dashboard](https://thirdweb.com/team).
12+
Universal Bridge can be configured to send webhook events to notify your application any time an event happens on your transaction. Universal Bridge sends a response, via a HTTP request, to any endpoint URLs that you have provided us in your Team > Project > Connect > Universal Bridge > Webhooks page in [thirdweb dashboard](https://thirdweb.com/team).
1313

1414
## Events
1515

apps/portal/src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ export default function RootLayout({
6262
<StickyTopContainer>
6363
{/* Note: Please change id as well when changing text or href so that new banner is shown to user even if user dismissed the older one */}
6464
<Banner
65-
id="nebula-alpha"
66-
text="Introducing Nebula - the most powerful AI to interact with the blockchain. Join the waitlist."
67-
href="https://thirdweb.com/nebula"
65+
id="ub-launch"
66+
text="Let users pay with whatever they have without leaving your app"
67+
href="https://thirdweb.com/connect/universal-bridge"
6868
/>
6969
<Header />
7070
</StickyTopContainer>

0 commit comments

Comments
 (0)