From 53bee594c308f67327236b3914eff3bcdc8e6d2b Mon Sep 17 00:00:00 2001 From: Sergey Rodin Date: Wed, 20 Mar 2024 17:41:29 +0700 Subject: [PATCH] feat: add Coinbase, remove Community section --- .../improve-existing-content.yaml | 2 +- .github/ISSUE_TEMPLATE/improve-site.yaml | 2 +- docs/CONTRIBUTING.md | 23 ++++---- docs/apps/ronin-bridge/guides/deposit-nft.md | 2 +- .../apps/ronin-bridge/guides/deposit-token.md | 2 +- docs/apps/ronin-bridge/overview.md | 17 +++--- .../join.md => basics/community.md} | 6 +-- .../contribute/_category_.json | 0 .../contribute/style-guide.md | 0 .../contribute/templates.md | 0 docs/community/bug-bounty.md | 5 -- docs/community/council.md | 5 -- docs/community/governance.md | 5 -- docs/community/grants.md | 5 -- docusaurus.config.js | 5 +- sidebars.js | 52 +++++++------------ src/components/homepage-features/Features.tsx | 9 ---- 17 files changed, 49 insertions(+), 91 deletions(-) rename docs/{community/join.md => basics/community.md} (61%) rename docs/{community => basics}/contribute/_category_.json (100%) rename docs/{community => basics}/contribute/style-guide.md (100%) rename docs/{community => basics}/contribute/templates.md (100%) delete mode 100644 docs/community/bug-bounty.md delete mode 100644 docs/community/council.md delete mode 100644 docs/community/governance.md delete mode 100644 docs/community/grants.md diff --git a/.github/ISSUE_TEMPLATE/improve-existing-content.yaml b/.github/ISSUE_TEMPLATE/improve-existing-content.yaml index fff13f46..40bc2737 100644 --- a/.github/ISSUE_TEMPLATE/improve-existing-content.yaml +++ b/.github/ISSUE_TEMPLATE/improve-existing-content.yaml @@ -6,7 +6,7 @@ body: - type: markdown attributes: value: | - * Before submitting an issue, read the [Contribution guide](https://docs.roninchain.com/docs/community/contribute/guide). + * Before submitting an issue, read the [Contribution guide](https://docs.roninchain.com/docs/basics/contribute/guide). * Check if someone hasn't already opened a similar [issue](https://github.com/axieinfinity/ronin-documentation/issues). - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/improve-site.yaml b/.github/ISSUE_TEMPLATE/improve-site.yaml index 6f959c7e..86ac2309 100644 --- a/.github/ISSUE_TEMPLATE/improve-site.yaml +++ b/.github/ISSUE_TEMPLATE/improve-site.yaml @@ -6,7 +6,7 @@ body: - type: markdown attributes: value: | - * Before submitting an issue, read the [Contribution guide](https://docs.roninchain.com/docs/community/contribute/guide). + * Before submitting an issue, read the [Contribution guide](https://docs.roninchain.com/docs/basics/contribute/guide). * Check if someone hasn't already opened a similar [issue](https://github.com/axieinfinity/ronin-documentation/issues). - type: checkboxes diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index e06cb8a4..f9d985a5 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -3,7 +3,7 @@ title: Contribution guide description: Guidelines for contributing to Ronin documentation. toc_min_heading_level: 2 toc_max_heading_level: 2 -slug: 'community/contribute/guide' +slug: 'basics/contribute/guide' --- ## Overview @@ -229,7 +229,6 @@ After a PR is closed, your working branch is deleted. | `/docs/apps` | Documentation for dApps within the Ronin ecosystem. | | `/docs/basics` | General information about Ronin. | | `/docs/bridge-operators` | Documentation for bridge operators. | -| `/docs/community` | Ronin socials, contribution guide, and community initiatives. | | `/docs/delegators` | Documentation for delegators. | | `/docs/validators` | Documentation for validators. | @@ -418,7 +417,7 @@ An explanation topic works well when: ##### Explanation template To write an explanation topic, use the -[explanation](./community/contribute/templates.md#explanation) template. +[explanation](./basics/contribute/templates.md#explanation) template. ##### Explanation guidelines @@ -476,7 +475,7 @@ A how-to guide works well when: ##### How-to guide template -To write a task, use the [task](./community/contribute/templates.md#task) template. +To write a task, use the [task](./basics/contribute/templates.md#task) template. ##### How-to guide guidelines @@ -547,7 +546,7 @@ A reference topic works well when: ##### Reference template -To write a reference topic, use the [reference](./community/contribute/templates.md#reference) template. +To write a reference topic, use the [reference](./basics/contribute/templates.md#reference) template. ##### Reference guidelines @@ -609,7 +608,7 @@ A troubleshooting topic can be one of three types: This topic introduces the troubleshooting section of a page. To create this topic, use the -[Introductory topic](./community/contribute/templates.md#introductory-topic) +[Introductory topic](./basics/contribute/templates.md#introductory-topic) template. *A troubleshooting task* @@ -618,7 +617,7 @@ The format is similar to the standard task, and the title follows the same verb and noun pattern, such as “Debug a Ronin node." To create this topic, use the -[troubleshooting task](./community/contribute/templates.md#troubleshooting-task) template. +[troubleshooting task](./basics/contribute/templates.md#troubleshooting-task) template. *A troubleshooting reference* @@ -627,7 +626,7 @@ workarounds, consider organizing them as a table. To write a title for a troubleshooting reference, consider including at least a partial error message. To create this topic, use the -[troubleshooting reference](./community/contribute/templates.md#troubleshooting-reference) +[troubleshooting reference](./basics/contribute/templates.md#troubleshooting-reference) template. #### Tutorial @@ -640,7 +639,7 @@ Tutorials are useful when someone has a basic understanding of the product and i ##### Tutorial template -To write a tutorial, use the [tutorial](./community/contribute/templates.md#tutorial) template. +To write a tutorial, use the [tutorial](./basics/contribute/templates.md#tutorial) template. ##### Tutorial guidelines @@ -688,7 +687,7 @@ Quickstarts are useful when someone already understands the feature or product a ##### Quickstart template -To write a quickstart guide, use the [quickstart](./community/contribute/templates.md#quickstart) template. +To write a quickstart guide, use the [quickstart](./basics/contribute/templates.md#quickstart) template. ##### Quickstart guidelines @@ -726,7 +725,7 @@ If it exists, link to any relevant troubleshooting content rather than including ## Content style guide -Ronin documentation adheres to the [content style guide](./community/contribute/style-guide.md). +Ronin documentation adheres to the [content style guide](./basics/contribute/style-guide.md). ## Documentation linter @@ -783,7 +782,7 @@ As a documentation contributor, you should always review your PR against this checklist: * [ ] If you created a new page, make sure that it uses one of the - [templates](./community/contribute/templates.md). + [templates](./basics/contribute/templates.md). * [ ] Make sure that screenshots and diagrams are stored in the `assets` directory in the category where the Markdown file is. * [ ] Compare your PR's output in the preview environment to confirm that the diff --git a/docs/apps/ronin-bridge/guides/deposit-nft.md b/docs/apps/ronin-bridge/guides/deposit-nft.md index 08eab865..bfd55cb9 100644 --- a/docs/apps/ronin-bridge/guides/deposit-nft.md +++ b/docs/apps/ronin-bridge/guides/deposit-nft.md @@ -19,7 +19,7 @@ To import your Ethereum wallets, see [Importing Your MetaMask Wallet to Ronin Wa 1. Open [Ronin Bridge](https://app.roninchain.com/bridge) and select the **NFTs** tab. ![nft-deposit-0](../assets/nft-deposit-0.png) -2. In the **From** field, connect the Ethereum wallet that you want to transfer the NFT from. The supported wallets include MetaMask and Trust Wallet. +2. In the **From** field, connect the Ethereum wallet that you want to transfer the NFT from. The supported wallets include MetaMask, Trust Wallet, and Coinbase. ![nft-deposit-1](../assets/nft-deposit-1.png) 3. In the **To** field, enter the Ronin address that you want to deposit the NFT into. You can also enter the RNS (Ronin Name Service) domain name linked to the address, such as "example.ron". Make sure to specify the *full RNS name* including the ".ron" part, so that the system can recognize the linked address. ![nft-deposit-2](../assets/nft-deposit-2.png) diff --git a/docs/apps/ronin-bridge/guides/deposit-token.md b/docs/apps/ronin-bridge/guides/deposit-token.md index d8a79ba5..db1e6cfa 100644 --- a/docs/apps/ronin-bridge/guides/deposit-token.md +++ b/docs/apps/ronin-bridge/guides/deposit-token.md @@ -18,7 +18,7 @@ To import your Ethereum wallets, see [Importing Your MetaMask Wallet to Ronin Wa 1. Open [Ronin Bridge](https://app.roninchain.com/bridge). ![token-deposit-0](../assets/token-deposit-0.png) -2. In the **From** field, connect the Ethereum wallet that you want to transfer the token from. The supported wallets include MetaMask and Trust Wallet. +2. In the **From** field, connect the Ethereum wallet that you want to transfer the token from. The supported wallets include MetaMask, Trust Wallet, and Coinbase. ![token-deposit-1](../assets/token-deposit-1.png) 3. In the **To** field, enter the Ronin address that you want to deposit the token into. You can also enter the RNS (Ronin Name Service) domain name linked to the address, such as "example.ron". Make sure to specify the *full RNS name* including the ".ron" part, so that the system can recognize the linked address. ![token-deposit-2](../assets/token-deposit-2.png) diff --git a/docs/apps/ronin-bridge/overview.md b/docs/apps/ronin-bridge/overview.md index b59de1cf..42d0632a 100644 --- a/docs/apps/ronin-bridge/overview.md +++ b/docs/apps/ronin-bridge/overview.md @@ -24,8 +24,9 @@ This is a multi-signature bridge, which means that when you make a transaction, Ronin Bridge supports the following wallets: * [Ronin Wallet](https://wallet.roninchain.com/) -* [Metamask Wallet](https://metamask.io/) +* [MetaMask](https://metamask.io/) * [Trust Wallet](https://trustwallet.com/) +* [Coinbase Wallet](https://www.coinbase.com/wallet) ## Supported assets @@ -33,8 +34,8 @@ Ronin Bridge supports the following wallets: With Ronin Bridge, you can transfer the following ERC20 tokens: -* Deposit: ETH, AXS, SLP, USDC, AGG, PIXEL, AEC -* Withdrawal: WETH, AXS, SLP, USDC, AGG, PIXEL +* Deposit: ETH, AXS, SLP, USDC, AGG, PIXEL, BANANA, AEC +* Withdrawal: WETH, AXS, SLP, USDC, AGG, PIXEL, BANANA Withdrawal limits apply. For more information, see [Withdrawal limits](./reference/withdrawal-limits.md). @@ -42,15 +43,15 @@ Withdrawal limits apply. For more information, see [Withdrawal limits](./referen With Ronin Bridge, you can transfer NFTs (non-fungible tokens) from the following collections: -* Pixels Land Farm -* Cyberkongz VX * Cyberkongz Genkai +* Cyberkongz VX +* Pixels Farm Land (coming soon) -## Ronin Name Service integration +## RNS compatible -When sending a token to an address on Ronin, you can either enter the standard wallet address that starts with "0x...", or an RNS (Ronin Name Service) name, such as "example.ron". +When sending a token or NFT to an address on the Ronin chain, you can enter either a standard crypto address that starts with "0x...", or an RNS (Ronin Name Service) name, such as "example.ron". -Make sure to specify the *full RNS name* including the ".ron" part, so that the system can recognize the linked address. +Make sure to type in the *full RNS name* including the ".ron" part, so that the system can recognize the linked address. ![bridge-rns](./assets/bridge-rns.png) diff --git a/docs/community/join.md b/docs/basics/community.md similarity index 61% rename from docs/community/join.md rename to docs/basics/community.md index ba97958b..1256e9f7 100644 --- a/docs/community/join.md +++ b/docs/basics/community.md @@ -10,10 +10,10 @@ Stay informed on the latest Ronin news, events, and programs: * [Discord](https://discord.gg/roninnetwork) * [X](https://twitter.com/ronin_network) -## Blog +## Ronin blog -Sign up for the [Ronin Newsletter](https://blog.roninchain.com). +Sign up for the [Ronin blog](https://roninchain.com/blog). ## Support -Visit [Ronin Zendesk](https://support.roninchain.com). +Submit a support request on [support.roninchain.com](https://support.roninchain.com). diff --git a/docs/community/contribute/_category_.json b/docs/basics/contribute/_category_.json similarity index 100% rename from docs/community/contribute/_category_.json rename to docs/basics/contribute/_category_.json diff --git a/docs/community/contribute/style-guide.md b/docs/basics/contribute/style-guide.md similarity index 100% rename from docs/community/contribute/style-guide.md rename to docs/basics/contribute/style-guide.md diff --git a/docs/community/contribute/templates.md b/docs/basics/contribute/templates.md similarity index 100% rename from docs/community/contribute/templates.md rename to docs/basics/contribute/templates.md diff --git a/docs/community/bug-bounty.md b/docs/community/bug-bounty.md deleted file mode 100644 index bc3e834b..00000000 --- a/docs/community/bug-bounty.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -description: Ronin's bug bounty program. ---- - -# Bug bounty \ No newline at end of file diff --git a/docs/community/council.md b/docs/community/council.md deleted file mode 100644 index 9bf8f748..00000000 --- a/docs/community/council.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -description: Technical council. ---- - -# Technical council \ No newline at end of file diff --git a/docs/community/governance.md b/docs/community/governance.md deleted file mode 100644 index 8638b509..00000000 --- a/docs/community/governance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -description: Off-chain governance. ---- - -# Governance \ No newline at end of file diff --git a/docs/community/grants.md b/docs/community/grants.md deleted file mode 100644 index d839c3f8..00000000 --- a/docs/community/grants.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -description: Grants programs and ways to apply. ---- - -# Apply for grants \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 06e4c247..140225cd 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -168,10 +168,9 @@ const config = { label: 'Bridge operators', to: 'bridge-operators', }, - // Community { - label: 'Community', - to: 'community/join', + label: 'Support', + to: 'https://support.roninchain.com/hc/en-us', }, // Search { diff --git a/sidebars.js b/sidebars.js index 953b8022..4a9c41b6 100644 --- a/sidebars.js +++ b/sidebars.js @@ -51,6 +51,26 @@ const sidebars = { 'basics/audits', // Roles 'basics/roles', + // Community + 'basics/community', + // Contribute to the documentation + { + type: 'category', + label: 'Contribute to the documentation', + link: { + type: 'generated-index', + description: 'Contribute to the Ronin documentation.', + slug: '/basics/contribute', + }, + items: [ + // Contribution guide + 'CONTRIBUTING', + // Content style guide + 'basics/contribute/style-guide', + // Content templates + 'basics/contribute/templates', + ], + }, ], }, // dApps @@ -322,38 +342,6 @@ const sidebars = { 'bridge-operators/slashing', ], }, - // Community - { - type: 'category', - label: 'Community', - link: { - type: 'doc', - id: 'community/join', - }, - items: [ - { - type: 'category', - label: 'Contribute', - link: { - type: 'generated-index', - description: 'Contribute to the Ronin documentation.', - slug: '/community/contribute', - }, - items: [ - // Contribution guide - 'CONTRIBUTING', - // Content style guide - 'community/contribute/style-guide', - // Content templates - 'community/contribute/templates', - ], - }, - // 'community/bug-bounty', - // 'community/council', - // 'community/governance', - // 'community/grants', - ], - }, ], } diff --git a/src/components/homepage-features/Features.tsx b/src/components/homepage-features/Features.tsx index 54661c61..55a9477b 100644 --- a/src/components/homepage-features/Features.tsx +++ b/src/components/homepage-features/Features.tsx @@ -54,15 +54,6 @@ const featureList = [ title: 'Bridge operators', }, }, - { - title: 'Community', - Icon: UserShieldIcon, - description: <>Join our socials and discover other ways to get involved., - link: { - href: '/community/join', - title: 'Community', - }, - }, ] export const Features: React.FC = () => {