diff --git a/site/docs/components/landing/NavigationList.tsx b/site/docs/components/landing/NavigationList.tsx index 188a62d360..343b9b301d 100644 --- a/site/docs/components/landing/NavigationList.tsx +++ b/site/docs/components/landing/NavigationList.tsx @@ -1,112 +1,9 @@ -const identitySvg = ( - -); - -const walletSvg = ( - -); - -const tokensSvg = ( - -); - -const swapSvg = ( - -); - -const frameSvg = ( - -); +import { frameSvg } from '../svg/frameSvg.tsx'; +import { identitySvg } from '../svg/identitySvg.tsx'; +import { swapSvg } from '../svg/swapSvg.tsx'; +import { tokensSvg } from '../svg/tokensSvg.tsx'; +import { transactionSvg } from '../svg/transactionSvg.tsx'; +import { walletSvg } from '../svg/walletSvg.tsx'; const navItems = [ { @@ -129,6 +26,11 @@ const navItems = [ svg: swapSvg, label: 'Swap', }, + { + href: '#transaction', + svg: transactionSvg, + label: 'Transaction', + }, { href: '#frame', svg: frameSvg, @@ -138,18 +40,18 @@ const navItems = [ export default function NavigationList() { return ( -
+
{item.label}
diff --git a/site/docs/components/svg/frameSvg.tsx b/site/docs/components/svg/frameSvg.tsx new file mode 100644 index 0000000000..a4a774628b --- /dev/null +++ b/site/docs/components/svg/frameSvg.tsx @@ -0,0 +1,26 @@ +export const frameSvg = ( + +); diff --git a/site/docs/components/svg/identitySvg.tsx b/site/docs/components/svg/identitySvg.tsx new file mode 100644 index 0000000000..f09d21d7b9 --- /dev/null +++ b/site/docs/components/svg/identitySvg.tsx @@ -0,0 +1,16 @@ +export const identitySvg = ( + +); diff --git a/site/docs/components/svg/swapSvg.tsx b/site/docs/components/svg/swapSvg.tsx new file mode 100644 index 0000000000..059c79f664 --- /dev/null +++ b/site/docs/components/svg/swapSvg.tsx @@ -0,0 +1,21 @@ +export const swapSvg = ( + +); diff --git a/site/docs/components/svg/tokensSvg.tsx b/site/docs/components/svg/tokensSvg.tsx new file mode 100644 index 0000000000..3312652178 --- /dev/null +++ b/site/docs/components/svg/tokensSvg.tsx @@ -0,0 +1,21 @@ +export const tokensSvg = ( + +); diff --git a/site/docs/components/svg/transactionSvg.tsx b/site/docs/components/svg/transactionSvg.tsx new file mode 100644 index 0000000000..8c883678dd --- /dev/null +++ b/site/docs/components/svg/transactionSvg.tsx @@ -0,0 +1,21 @@ +export const transactionSvg = ( + +); diff --git a/site/docs/components/svg/walletSvg.tsx b/site/docs/components/svg/walletSvg.tsx new file mode 100644 index 0000000000..9af9c85324 --- /dev/null +++ b/site/docs/components/svg/walletSvg.tsx @@ -0,0 +1,21 @@ +export const walletSvg = ( + +); diff --git a/site/docs/pages/index.mdx b/site/docs/pages/index.mdx index 67dada690f..d119ce3d5a 100644 --- a/site/docs/pages/index.mdx +++ b/site/docs/pages/index.mdx @@ -24,6 +24,15 @@ import NavigationList from '../components/landing/NavigationList'; import SwapWrapper from '../components/SwapWrapper'; import TokenSelector from '../components/TokenSelector'; import WalletComponents from '../components/WalletComponents'; +import TransactionWrapper from '../components/TransactionWrapper'; +import { + Transaction, + TransactionButton, + TransactionSponsor, + TransactionStatus, + TransactionStatusAction, + TransactionStatusLabel, +} from '@coinbase/onchainkit/transaction';Display ENS [avatars](/identity/avatar), Attestation [badges](/identity/badge), ENS [names](/identity/name) and account [addresses](/identity/address).
- + Start with IdentityCreate or connect your wallet with [Connect Wallet](/wallet/wallet), powered by [Smart Wallet](https://www.smartwallet.dev/why).
- + Start with WalletSearch [Tokens](/token/types#token) using [getTokens](/token/get-tokens) and display them with [TokenSearch](/token/token-search), [TokenChip](/token/token-chip), and [TokenRow](/token/token-row).
- + Start with TokensSwap [Tokens](/token/types#token) using the [Swap](/swap/swap) components.
- + Start with SwapTest, build, and ship your Farcaster frames with [FrameMetadata](/frame/frame-metadata).
- + Start with FrameBuild your onchain apps with ready-to-use React components and Typescript utilities.
- + Get started