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 = ( + + Frame SVG + + + + +); 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 = ( + + Identity SVG + + +); 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 = ( + + Swap SVG + + + +); 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 = ( + + Tokens SVG + + + +); 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 = ( + + Transaction SVG + + + +); 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 = ( + + Wallet SVG + + + +); diff --git a/site/docs/components/landing/NavigationList.tsx b/site/docs/components/landing/NavigationList.tsx index 4fcc2892e3..dc7fad272e 100644 --- a/site/docs/components/landing/NavigationList.tsx +++ b/site/docs/components/landing/NavigationList.tsx @@ -1,165 +1,40 @@ -const identitySvg = ( - - Identity SVG - - -); - -const walletSvg = ( - - Wallet SVG - - - -); - -const tokensSvg = ( - - Tokens SVG - - - -); - -const swapSvg = ( - - Swap SVG - - - -); - -const transactionSvg = ( - - Transaction SVG - - - -); - -const frameSvg = ( - - Frame SVG - - - - -); +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 = [ { - href: '#identity', + href: "#identity", svg: identitySvg, - label: 'Identity', + label: "Identity", }, { - href: '#wallet', + href: "#wallet", svg: walletSvg, - label: 'Wallet', + label: "Wallet", }, { - href: '#tokens', + href: "#tokens", svg: tokensSvg, - label: 'Tokens', + label: "Tokens", }, { - href: '#swap', + href: "#swap", svg: swapSvg, - label: 'Swap', + label: "Swap", }, { - href: '#transaction', + href: "#transaction", svg: transactionSvg, - label: 'Transaction', + label: "Transaction", }, { - href: '#frame', + href: "#frame", svg: frameSvg, - label: 'Frame', + label: "Frame", }, ]; diff --git a/site/docs/pages/index.mdx b/site/docs/pages/index.mdx index d7b3fdb6be..8b19ebe5c2 100644 --- a/site/docs/pages/index.mdx +++ b/site/docs/pages/index.mdx @@ -382,7 +382,7 @@ setFilteredTokens(filteredTokens); { address: CONTRACT_ADDRESS, abi: CONTRACT_ABI, - functionName: 'mint', + functionName: CONTRACT_FUNCTION_NAME, args: [], }, ]}