Skip to content

Commit

Permalink
docs: update content for community part x base files for developers p…
Browse files Browse the repository at this point in the history
…art (#16)
  • Loading branch information
HoangVD2 authored Mar 15, 2024
1 parent 713763e commit 274a481
Show file tree
Hide file tree
Showing 75 changed files with 315 additions and 152 deletions.
260 changes: 190 additions & 70 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ function nav() {
{ text: "About $XDEFI token", link: "/about/xdefi-token/xdefi-token" },
{ text: "Developers", link: "/developers/introduction" },
{ text: "Routing", link: "/routing/introduction" },
{ text: "Community", link: "/community/introduction" },
{
text: "Quick integration",
items: [
Expand Down Expand Up @@ -292,7 +291,6 @@ function sidebarHome() {
{
text: "About XDEFI",
link: "/about/xdefi",

collapsed: true,
items: [
{
Expand Down Expand Up @@ -476,7 +474,7 @@ function sidebarHome() {
link: "/developers/extension-thorchain",
},
{
text: "EVM's",
text: "Ethereum (EVM's)",
link: "/developers/extension-evms",
},
{
Expand All @@ -494,6 +492,50 @@ function sidebarHome() {
text: "Introduction",
link: "/developers/mobile-wallet",
},
// {
// text: "Binance",
// link: "/developers/mobile-binance",
// },
// {
// text: "Bitcoin",
// link: "/developers/mobile-bitcoin",
// },
// {
// text: "Bitcoin Cash",
// link: "/developers/mobile-bitcoin-cash",
// },
// {
// text: "Dogecoin",
// link: "/developers/mobile-dogecoin",
// },
// {
// text: "Litecoin",
// link: "/developers/mobile-litecoin",
// },
// {
// text: "NEAR",
// link: "/developers/mobile-near",
// },
// {
// text: "Solana",
// link: "/developers/mobile-solana",
// },
// {
// text: "Terra",
// link: "/developers/mobile-terra",
// },
// {
// text: "Thorchain",
// link: "/developers/mobile-thorchain",
// },
// {
// text: "Ethereum (EVM's)",
// link: "/developers/mobile-ethereum",
// },
// {
// text: "Cosmos",
// link: "/developers/mobile-cosmos",
// },
],
},
],
Expand All @@ -503,66 +545,146 @@ function sidebarHome() {
link: "/developers/blockchains-integration",
collapsed: true,
items: [
// {
// text: "Akash (AKT)",
// link: "/developers/akash",
// },
// {
// text: "Arbitrum (AETH)",
// link: "/developers/arbitrum",
// },
// {
// text: "Aurora (AURORA)",
// link: "/developers/aurora",
// },
// {
// text: "Avalanche (AVAX)",
// link: "/developers/avalanche",
// },
// {
// text: "Axelar (AXL)",
// link: "/developers/axelar",
// },
// {
// text: "Bitcoin (BTC)",
// link: "/developers/bitcoin",
// },
// {
// text: "Bitcoin Cash (BCH)",
// link: "/developers/bitcoin-cash",
// },
// {
// text: "BNB Beacon Chain (BNB)",
// link: "/developers/bnb-beacon-chain",
// },
// {
// text: "BNB Smart Chain (BNB)",
// link: "/developers/bnb-smart-chain",
// },
// {
// text: "Canto (CANTO)",
// link: "/developers/canto",
// },
// {
// text: "Cosmos (ATOM)",
// link: "/developers/cosmos",
// },
// {
// text: "Crescent (CRE)",
// link: "/developers/crescent",
// },
// {
// text: "Cronos (CRO)",
// link: "/developers/cronos",
// },
// {
// text: "Dogecoin (DOGE)",
// link: "/developers/dogecoin",
// },
{
text: "Avalanche",
link: "/developers/avalanche",
collapsed: true,
items: [
{ text: "Introduction", link: "/developers/avalanche" },
{
text: "Signing a Message",
link: "/developers/avalanche-signing-message",
},
{
text: "Provider API Reference",
link: "/developers/avalanche-provider-api-reference",
},
{
text: "Build a dApp",
link: "/developers/avalanche-dapp-building",
},
],
},
{
text: "Arbitrum",
link: "/developers/arbitrum",
collapsed: true,
items: [
{ text: "Introduction", link: "/developers/arbitrum" },
{
text: "Extension Wallet",
link: "/developers/arbitrum-extension-wallet",
},
{
text: "Mobile Wallet",
link: "/developers/arbitrum-mobile-wallet",
},
{
text: "Detect the Provider",
link: "/developers/arbitrum-detect-provider",
},
{
text: "Estabilish a Connection",
link: "/developers/arbitrum-establish-connection",
},
{
text: "Sending a Transaction",
link: "/developers/arbitrum-sending-transaction",
},
{
text: "Signing a Message",
link: "/developers/arbitrum-signing-message",
},
{
text: "Provider API Reference",
link: "/developers/arbitrum-provider-api-reference",
},
{
text: "Build a dApp",
link: "/developers/arbitrum-dapp-building",
},
],
text: "Ethereum (ETH)",
link: "/developers/ethereum",
},
// {
// text: "Fantom (FTM)",
// link: "/developers/fantom",
// },
// {
// text: "Gnosis (xDAI)",
// link: "/developers/gnosis",
// },
// {
// text: "Juno (JUNO)",
// link: "/developers/juno",
// },
// {
// text: "Kava (KAVA)",
// link: "/developers/kava",
// },
// {
// text: "Klaytn (KLAY)",
// link: "/developers/klaytn",
// },
// {
// text: "Kujira (KUJI)",
// link: "/developers/kujira",
// },
// {
// text: "Litecoin (LTC)",
// link: "/developers/litecoin",
// },
// {
// text: "Mars (MARS)",
// link: "/developers/mars",
// },
// {
// text: "Maya Protocol (MAYA)",
// link: "/developers/maya",
// },
// {
// text: "Near Protocol (NEAR)",
// link: "/developers/near",
// },
// {
// text: "Optimism (ETH)",
// link: "/developers/optimism",
// },
// {
// text: "Osmosis (OSMO)",
// link: "/developers/osmosis",
// },
// {
// text: "Polygon (MATIC)",
// link: "/developers/polygon",
// },
// {
// text: "Sei Testnet (SEI)",
// link: "/developers/sei",
// },
// {
// text: "Solana (SOL)",
// link: "/developers/solana",
// },
// {
// text: "Stargaze (STARS)",
// link: "/developers/stargaze",
// },
// {
// text: "Stride (STRD)",
// link: "/developers/stride",
// },
// {
// text: "Terra (LUNA)",
// link: "/developers/terra",
// },
// {
// text: "THORChain (RUNE)",
// link: "/developers/thorchain",
// },
// {
// text: "Tron (TRX)",
// link: "/developers/tron",
// },
],
},
{
Expand Down Expand Up @@ -613,18 +735,16 @@ function sidebarHome() {
},
{
text: "Community",
link: "/community/introduction",
collapsed: true,
items: [
{ text: "Introduction", link: "/community/introduction" },
{ text: "X", link: "https://twitter.com/xdefi_wallet" },
{ text: "Discord", link: "https://discord.gg/xdefi" },
{ text: "Telegram", link: "https://t.me/xdefi_announcements" },
{ text: "GitHub", link: "https://github.com/XDeFi-tech" },
{ text: "Blog", link: "https://xdefi.io/blog" },
{
text: "Channels",
collapsed: true,
items: [
{ text: "Discord", link: "/community/discord" },
{ text: "Telegram", link: "/community/telegram" },
{ text: "X", link: "/community/x" },
],
text: "$XDEFI on Coingecko",
link: "https://www.coingecko.com/en/coins/xdefi",
},
],
},
Expand Down
1 change: 0 additions & 1 deletion community/discord.md

This file was deleted.

11 changes: 0 additions & 11 deletions community/introduction.md

This file was deleted.

1 change: 0 additions & 1 deletion community/telegram.md

This file was deleted.

1 change: 0 additions & 1 deletion community/x.md

This file was deleted.

8 changes: 4 additions & 4 deletions components/AddressCheckV2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ export default function AddressCheckV2() {
</div>
<div className="my-4 rounded-lg max-h-[600px] overflow-auto bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]">
<div className="px-5 border-b border-[#e2e2e3] dark:border-black">
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">Response</span>
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">
Response
</span>
</div>
<pre className="p-5">
{JSON.stringify(response, null, 2)}
</pre>
<pre className="p-5">{JSON.stringify(response, null, 2)}</pre>
</div>
</>
);
Expand Down
8 changes: 4 additions & 4 deletions components/BridgeableTokens.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ export default function BridgeableTokens() {
</div>
<div className="my-4 rounded-lg max-h-[600px] overflow-auto bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]">
<div className="px-5 border-b border-[#e2e2e3] dark:border-black">
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">Response</span>
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">
Response
</span>
</div>
<pre className="p-5">
{JSON.stringify(response, null, 2)}
</pre>
<pre className="p-5">{JSON.stringify(response, null, 2)}</pre>
</div>
</>
);
Expand Down
8 changes: 4 additions & 4 deletions components/ChainV2GraphQL.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ export default function ChainV2GraphQL() {
</div>
<div className="my-4 rounded-lg max-h-[600px] overflow-auto bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]">
<div className="px-5 border-b border-[#e2e2e3] dark:border-black">
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">Response</span>
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">
Response
</span>
</div>
<pre className="p-5">
{JSON.stringify(response, null, 2)}
</pre>
<pre className="p-5">{JSON.stringify(response, null, 2)}</pre>
</div>
</>
);
Expand Down
8 changes: 4 additions & 4 deletions components/ChainsV2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ export default function ChainsV2() {
</div>
<div className="my-4 rounded-lg max-h-[600px] overflow-auto bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]">
<div className="px-5 border-b border-[#e2e2e3] dark:border-black">
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">Response</span>
<span className="inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]">
Response
</span>
</div>
<pre className="p-5">
{JSON.stringify(response, null, 2)}
</pre>
<pre className="p-5">{JSON.stringify(response, null, 2)}</pre>
</div>
</>
);
Expand Down
Loading

0 comments on commit 274a481

Please sign in to comment.