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