|
| 1 | +import { APIHeader } from "@/components/blocks/APIHeader"; |
| 2 | +import { |
| 3 | + AccountAddressBasic, |
| 4 | + AccountAddressFormat, |
| 5 | + AccountBalanceBasic, |
| 6 | + AccountBalanceCustomToken, |
| 7 | + AccountBalanceFormat, |
| 8 | + AccountBalanceUSD, |
| 9 | + AccountBalanceUSDFormatted, |
| 10 | +} from "@/components/headless-ui/account-examples"; |
| 11 | +import ThirdwebProvider from "@/components/thirdweb-provider"; |
| 12 | +import { metadataBase } from "@/lib/constants"; |
| 13 | +import type { Metadata } from "next"; |
| 14 | + |
| 15 | +export const metadata: Metadata = { |
| 16 | + metadataBase, |
| 17 | + title: "Integrate Fiat & Cross-Chain Crypto Payments | thirdweb Pay", |
| 18 | + description: |
| 19 | + "The easiest way for users to transact in your app. Onramp users in clicks and generate revenue for each user transaction. Integrate for free.", |
| 20 | +}; |
| 21 | + |
| 22 | +export default function Page() { |
| 23 | + return ( |
| 24 | + <ThirdwebProvider> |
| 25 | + <main className="container px-0 pb-20"> |
| 26 | + <APIHeader |
| 27 | + title="Lorem ipsum" |
| 28 | + description={ |
| 29 | + <> |
| 30 | + Lorem ipsum, dolor sit amet consectetur adipisicing elit. |
| 31 | + Accusantium reprehenderit corrupti sapiente nobis impedit, beatae |
| 32 | + sit unde nihil, facilis vitae sunt. Aperiam sed vero repudiandae |
| 33 | + nisi maiores repellat molestiae illum. |
| 34 | + </> |
| 35 | + } |
| 36 | + docsLink="https://portal.thirdweb.com/react/v5/connecting-wallets/ui-components" |
| 37 | + heroLink="/pay.png" |
| 38 | + /> |
| 39 | + |
| 40 | + <section className="space-y-8"> |
| 41 | + <AccountAddressBasic /> |
| 42 | + </section> |
| 43 | + <section className="space-y-8"> |
| 44 | + <AccountAddressFormat /> |
| 45 | + </section> |
| 46 | + <section className="space-y-8"> |
| 47 | + <AccountBalanceBasic /> |
| 48 | + </section> |
| 49 | + <section className="space-y-8"> |
| 50 | + <AccountBalanceCustomToken /> |
| 51 | + </section> |
| 52 | + <section className="space-y-8"> |
| 53 | + <AccountBalanceFormat /> |
| 54 | + </section> |
| 55 | + <section className="space-y-8"> |
| 56 | + <AccountBalanceUSD /> |
| 57 | + </section> |
| 58 | + <section className="space-y-8"> |
| 59 | + <AccountBalanceUSDFormatted /> |
| 60 | + </section> |
| 61 | + </main> |
| 62 | + </ThirdwebProvider> |
| 63 | + ); |
| 64 | +} |
0 commit comments