diff --git a/app.vue b/app.vue index 90bf6605..37dc7310 100644 --- a/app.vue +++ b/app.vue @@ -15,17 +15,17 @@ useHead({ }, }); +const seoDescription = + 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.'; + useSeoMeta({ titleTemplate: `%s - ${seo?.siteName}`, ogSiteName: seo?.siteName, ogUrl: 'https://code.zksync.io', - description: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', - ogDescription: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', + description: seoDescription, + ogDescription: seoDescription, twitterTitle: `%s`, - twitterDescription: - 'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.', + twitterDescription: seoDescription, twitterCard: 'summary_large_image', twitterSite: '@zksync', twitterCreator: '@ZKsyncDevs', diff --git a/bun.lockb b/bun.lockb index c16d1f9b..07d02c3e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/content/tutorials/cross-chain-governance/30.cross-chain-transactions.md b/content/tutorials/cross-chain-governance/30.cross-chain-transactions.md index 9d14eed9..e71f73f7 100644 --- a/content/tutorials/cross-chain-governance/30.cross-chain-transactions.md +++ b/content/tutorials/cross-chain-governance/30.cross-chain-transactions.md @@ -213,6 +213,6 @@ Now, let's call the `increment` method on Layer 2 from Layer 1. - To learn more about L1->L2 interaction on ZKsync, check out the [documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability). - To learn more about the `zksync-ethers` SDK, check out its - [documentation](https://docs.zksync.io/sdk/js/ethers). + [documentation](https://sdk.zksync.io/js/ethers). - To learn more about the ZKsync hardhat plugins, check out their [documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started). diff --git a/content/tutorials/daily-spend-limit-account/10.index.md b/content/tutorials/daily-spend-limit-account/10.index.md index acad7921..6dfaa166 100644 --- a/content/tutorials/daily-spend-limit-account/10.index.md +++ b/content/tutorials/daily-spend-limit-account/10.index.md @@ -1118,7 +1118,7 @@ Let's test the `SpendLimit` contract works to make it refuse ETH transfers that - To learn more about L1->L2 interaction on ZKsync, check out the [documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability). - To learn more about the `zksync-ethers` SDK, check out its - [documentation](https://docs.zksync.io/sdk/js/ethers). + [documentation](https://sdk.zksync.io/js/ethers). - To learn more about the ZKsync hardhat plugins, check out their [documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started). diff --git a/content/tutorials/erc20-paymaster/10.index.md b/content/tutorials/erc20-paymaster/10.index.md index 11ba1af4..65b8fc44 100644 --- a/content/tutorials/erc20-paymaster/10.index.md +++ b/content/tutorials/erc20-paymaster/10.index.md @@ -659,6 +659,6 @@ As a workaround, try including a specific `gasLimit` value in the transaction. - To learn more about L1->L2 interaction on ZKsync, check out the [documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability). - To learn more about the `zksync-ethers` SDK, check out its - [documentation](https://docs.zksync.io/sdk/js/ethers). + [documentation](https://sdk.zksync.io/js/ethers). - To learn more about the ZKsync hardhat plugins, check out their [documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started). diff --git a/content/tutorials/frontend-paymaster/10.index.md b/content/tutorials/frontend-paymaster/10.index.md index f3a2381b..4dea3195 100644 --- a/content/tutorials/frontend-paymaster/10.index.md +++ b/content/tutorials/frontend-paymaster/10.index.md @@ -543,7 +543,7 @@ Now you should be able to update the greeting message with ETH or any of the ava - For an overview of security and best practices for developing on ZKsync Era, refer to the [Security and best practices page](https://docs.zksync.io/build/developer-reference/best-practices). - To learn more about the `zksync-ethers` SDK, check out its - [documentation](https://docs.zksync.io/sdk/js/ethers). + [documentation](https://sdk.zksync.io/js/ethers). - To learn more about the ZKsync hardhat plugins, check out their [documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started). - If you have a project, check out our [migration guide](https://docs.zksync.io/build/tooling/hardhat/migrating-to-zksync). diff --git a/content/tutorials/native-aa-multisig/10.index.md b/content/tutorials/native-aa-multisig/10.index.md index cffe0eff..baedc3a9 100644 --- a/content/tutorials/native-aa-multisig/10.index.md +++ b/content/tutorials/native-aa-multisig/10.index.md @@ -964,8 +964,8 @@ export default async function (hre: HardhatRuntimeEnvironment) { ::callout{icon="i-heroicons-light-bulb"} ZKsync has different address derivation rules from Ethereum. -Always use the [`createAddress`](https://docs.zksync.io/sdk/js/ethers/api/v6/utilities/utils#createaddress) -and [`create2Address`](https://docs.zksync.io/sdk/js/ethers/api/v6/utilities/utils#create2address) utility functions of the `zksync-ethers` SDK. +Always use the [`createAddress`](https://sdk.zksync.io/js/ethers/api/v6/utilities/utils#createaddress) +and [`create2Address`](https://sdk.zksync.io/js/ethers/api/v6/utilities/utils#create2address) utility functions of the `zksync-ethers` SDK. Read the documentation for more information on [address derivation differences between Ethereum and ZKsync](https://docs.zksync.io/build/developer-reference/ethereum-differences/evm-instructions#address-derivation). :: @@ -1206,6 +1206,6 @@ so it has enough funds to pay for the transaction fees. - To learn more about L1->L2 interaction on ZKsync, check out the [documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability). - To learn more about the `zksync-ethers` SDK, check out its - [documentation](https://docs.zksync.io/sdk/js/ethers). + [documentation](https://sdk.zksync.io/js/ethers). - To learn more about the ZKsync hardhat plugins, check out their [documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started). diff --git a/package.json b/package.json index 0d1a40d7..cfe52e03 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "release": "semantic-release" }, "dependencies": { - "@matterlabs/docs-nuxt-template": "2.3.0", + "@matterlabs/docs-nuxt-template": "2.4.0", "@nuxt/content": "^2.12.1", "@nuxt/eslint": "^0.3.10", "@nuxt/fonts": "^0.5.1", diff --git a/pages/index.vue b/pages/index.vue index 62dedc37..346ff808 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -39,7 +39,7 @@ useSeoMeta({