Skip to content

Commit

Permalink
docs: nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Aug 9, 2024
1 parent 62b371e commit e662fd0
Showing 1 changed file with 106 additions and 211 deletions.
317 changes: 106 additions & 211 deletions site/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,83 +20,17 @@ export const sidebar = [
text: 'Reporting a bug',
link: '/guides/reporting-bug',
},
],
},
{
text: 'Config',
items: [
{
text: 'Components',
items: [
{
text: 'OnchainKitProvider',
link: '/config/onchainkit-provider',
},
],
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'isBase',
link: '/config/is-base',
},
],
},
{
text: 'Types',
link: '/config/types',
},
],
link: '/config/onchainkit-provider',
},
{
text: 'Frame',
items: [
{
text: 'Components',
items: [
{
text: 'FrameMetadata',
link: '/frame/frame-metadata',
},
],
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'getFrameHtmlResponse',
link: '/frame/get-frame-html-response',
},
{
text: 'getFrameMessage',
link: '/frame/get-frame-message',
},
{
text: 'getFrameMetadata',
link: '/frame/get-frame-metadata',
},
],
},
{
text: 'Framegear',
link: '/frame/framegear',
},
{
text: 'Types',
link: '/frame/types',
},
],
link: '/frame/frame-metadata',
},
{
text: 'Identity',
text: 'Components',
items: [
{
text: 'Components',
text: 'Identity',
items: [
{
text: 'Address',
Expand All @@ -121,75 +55,19 @@ export const sidebar = [
],
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'getAvatar',
link: '/identity/get-avatar',
},
{
text: 'getAttestations',
link: '/identity/get-attestations',
},
{
text: 'getName',
link: '/identity/get-name',
},
{
text: 'useName',
link: '/identity/use-name',
},
{
text: 'useAvatar',
link: '/identity/use-avatar',
},
],
},
{
text: 'Types',
link: '/identity/types',
},
],
},
{
text: 'Swap',
items: [
{
text: 'Components',
items: [
{
text: 'Swap',
link: '/swap/swap',
},
],
text: 'FrameMetadata',
link: '/frame/frame-metadata',
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'getSwapQuote',
link: '/swap/get-swap-quote',
},
{
text: 'buildSwapTransaction',
link: '/swap/build-swap-transaction',
},
],
text: 'OnchainKitProvider',
link: '/config/onchainkit-provider',
},
{
text: 'Types',
link: '/swap/types',
text: 'Swap',
link: '/swap/swap',
},
],
link: '/swap/swap',
},
{
text: 'Token',
items: [
{
text: 'Components',
text: 'Token',
items: [
{
text: 'TokenChip',
Expand All @@ -214,113 +92,130 @@ export const sidebar = [
],
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'formatAmount',
link: '/token/format-amount',
},
{
text: 'getTokens',
link: '/token/get-tokens',
},
],
text: 'Transaction',
link: '/transaction/transaction',
},
{
text: 'Types',
link: '/token/types',
text: 'Wallet',
link: '/wallet/wallet',
},
],
link: '/config/onchainkit-provider',
},
{
text: 'Transaction',
text: 'Utilities',
collapsed: true,
items: [
{
text: 'Components',
items: [
{
text: 'Transaction',
link: '/transaction/transaction',
},
],
text: 'buildSwapTransaction',
link: '/swap/build-swap-transaction',
},
{
text: 'Types',
link: '/transaction/types',
text: 'formatAmount',
link: '/token/format-amount',
},
],
link: '/transaction/transaction',
},
{
text: 'Wallet',
items: [
{
text: 'Components',
items: [
{
text: 'Wallet',
link: '/wallet/wallet',
},
],
text: 'isBase',
link: '/config/is-base',
},
{
text: 'Utilities',
collapsed: true,
items: [
{
text: 'isValidAAEntrypoint',
link: '/wallet/is-valid-aa-entrypoint',
},
{
text: 'isWalletACoinbaseSmartWallet',
link: '/wallet/is-wallet-a-coinbase-smart-wallet',
},
],
text: 'isXmtpFrameRequest',
link: '/xmtp/is-xmtp-frame-request',
},
{
text: 'Types',
link: '/wallet/types',
text: 'isValidAAEntrypoint',
link: '/wallet/is-valid-aa-entrypoint',
},
],
link: '/wallet/wallet',
{
text: 'isWalletACoinbaseSmartWallet',
link: '/wallet/is-wallet-a-coinbase-smart-wallet',
},
{
text: 'getAttestations',
link: '/identity/get-attestations',
},
{
text: 'getAvatar',
link: '/identity/get-avatar',
},
{
text: 'getFarcasterUserAddress',
link: '/farcaster/get-farcaster-user-address',
},
{
text: 'getFrameHtmlResponse',
link: '/frame/get-frame-html-response',
},
{
text: 'getFrameMessage',
link: '/frame/get-frame-message',
},
{
text: 'getFrameMetadata',
link: '/frame/get-frame-metadata',
},
{
text: 'getSwapQuote',
link: '/swap/get-swap-quote',
},
{
text: 'getName',
link: '/identity/get-name',
},
{
text: 'getTokens',
link: '/token/get-tokens',
},
{
text: 'getXmtpFrameMessage',
link: '/xmtp/get-xmtp-frame-message',
},
{
text: 'useAvatar',
link: '/identity/use-avatar',
},
{
text: 'useName',
link: '/identity/use-name',
},
]
},
{
text: 'Farcaster',
text: 'Types',
collapsed: true,
items: [
{
text: 'Utilities',
items: [
{
text: 'getFarcasterUserAddress',
link: '/farcaster/get-farcaster-user-address',
},
],
text: 'Config',
link: '/config/types',
},
{
text: 'Types',
text: 'Farcaster',
link: '/farcaster/types',
},
],
},
{
text: 'XMTP',
collapsed: true,
items: [
{
text: 'Utilities',
items: [
{
text: 'getXmtpFrameMessage',
link: '/xmtp/get-xmtp-frame-message',
},
{
text: 'isXmtpFrameRequest',
link: '/xmtp/is-xmtp-frame-request',
},
],
text: 'Frame',
link: '/frame/types',
},
],
{
text: 'Identity',
link: '/identity/types',
},
{
text: 'Swap',
link: '/swap/types',
},
{
text: 'Token',
link: '/token/types',
},
{
text: 'Transaction',
link: '/transaction/types',
},
{
text: 'Wallet',
link: '/wallet/types',
},
]
},
] as const satisfies Sidebar;

0 comments on commit e662fd0

Please sign in to comment.