
let developmentDocHost, officialHost;
if (window && window.location.host.includes('thinkium')) {
    developmentDocHost = "https://www.thinkiumdev.net";
    officialHost = "http://portal-int.chainopen.cn";
  } else {
    developmentDocHost = "http://developer.chainopen.cn";
    officialHost = "http://portal-int.chainopen.cn";
}


const listEn = [
    {
        type: 'Thinkium',
        list: [
            { label: 'About', url: `${developmentDocHost}/Introduction/Introduction.html` },
            { label: 'TKM', url: `${developmentDocHost}/Introduction/TKM.html` },
            { label: 'Network', url: `${developmentDocHost}/Introduction/Network.html` },
            { label: 'Virtual Machine', url: `${developmentDocHost}/Introduction/Virtual%20Machine/EVM.html` },
            { label: 'Structure', url: `${developmentDocHost}/Four%20Layer%20Technology/Task%20Layer.html` },
            { label: 'White Paper', url: 'https://thinkium-data.s3-us-west-2.amazonaws.com/Thinkium+Whitepaper.pdf' },
        ]
    },
    {
        type: 'Ecology',
        list: [
            { label: 'Dual-Coin Ecosystem', url: `${developmentDocHost}/Ecology/Dual-Coin%20Ecosystem.html` },
            { label: 'Single-Chain', url: `${developmentDocHost}/Ecology/Single-Chain.html` },
            { label: 'Same Root Public Chain and Business Chain', url: `${developmentDocHost}/Ecology/Same%20Root%20Public%20Chain%20and%20Business%20Chain.html` },
            { label: 'DeCom-Tink', url: 'https://www.futuretechnology.cc' },
            { label: 'Aolink Wallet', url: 'https://aolink.io/' },

        ]
    },
    {
        type: 'DApp Development',
        list: [
            { label: 'RPC', url: `${developmentDocHost}/DApp%20Development/RPC/Introduction.html` },
            { label: 'SDK', url: `${developmentDocHost}/DApp%20Development/SDK/Introduction.html` },
            { label: 'Contract Service', url: `${developmentDocHost}/DApp%20Development/Contract%20Service/Introduction.html` },
            { label: 'Contract', url: `${developmentDocHost}/DApp%20Development/Contract%20Service/Introduction.html` },
            { label: 'Faucet', url: `${developmentDocHost}/DApp%20Development/Faucet.html` },
            { label: 'Utility Tool', url: `${developmentDocHost}/DApp%20Development/Utility%20Tool.html` },
            { label: 'Dev Assistant Platform', url: `${developmentDocHost}/DApp%20Development/Dev%20Assistant%20Platform/Introduction.html` },
            { label: 'Wallet', url: `${developmentDocHost}/DApp%20Development/Wallet/Introduction.html` },
            { label: 'Browser', url: `${developmentDocHost}/DApp%20Development/Browser/Introduction.html` },
        ]
    },
    {
        type: 'Mining',
        list: [
            { label: 'How to become a Thinkium Verifier', url: `${developmentDocHost}/Mining/How%20to%20become%20a%20Thinkium%20Verifier.html` },
            { label: 'How to Pledge Mining', url: `${developmentDocHost}/Mining/How%20to%20Pledge%20Mining.html` },
        ]
    },
    {
        type: 'Governance',
        list: [
            { label: 'Themis Network Comprehensive Governance', url: `${developmentDocHost}/Government/Themis%20Network%20Comprehensive%20Governance.html` },
        ]
    },
    {
        type: 'Community',
        list: [
            { label: 'Community', url: `${officialHost}/#/community` },
            { label: 'Documentation', url: developmentDocHost},
            { label: 'Brand Assets', url: `${officialHost}/#/community` },
            { label: 'Blog', url: 'https://thinkiumfoundation.medium.com' },
            { label: 'Medium', url: 'https://thinkiumfoundation.medium.com/thinkium-blockchain-9e03c36fb7af' },
        ]
    },
]


const listZh = [
    {
        type: 'Thinkium',
        list: [
            { label: '介绍', url: `${developmentDocHost}/zh/Thinkium简介/入门.html` },
            { label: 'TKM', url: `${developmentDocHost}/zh/Thinkium简介/TKM.html` },
            { label: '网络', url: `${developmentDocHost}/zh/Thinkium简介/网络.html` },
            { label: '虚拟机', url: `${developmentDocHost}/zh/Thinkium简介/网络.html` },
            { label: '架构设计', url: `${developmentDocHost}/zh/四层系统架构及共识协议栈/任务层与PoS.html` },
            { label: '白皮书', url: 'https://thinkium-data.s3-us-west-2.amazonaws.com/Thinkium+Whitepaper.pdf' },
        ]
    },
    {
        type: '生态建设',
        list: [
            { label: '双币子链生态', url: `${developmentDocHost}/zh/生态建设/双币子链生态.html` },
            { label: '独立体外单链', url: `${developmentDocHost}/zh/生态建设/独立体外单链.html` },
            { label: '同根公链与联盟链', url: `${developmentDocHost}/zh/生态建设/同根公链与联盟链.html` },
            { label: 'DeCom-Tink', url: 'https://www.futuretechnology.cc' },
            { label: 'Aolink钱包', url: ' https://aolink.io/' },
        ]
    },
    {
        type: 'Dapp开发',
        list: [
            { label: 'RPC', url: `${developmentDocHost}/zh/DApp开发/RPC/简介.html` },
            { label: 'SDK', url: `${developmentDocHost}/zh/DApp开发/SDK/简介.html` },
            { label: '合约服务', url: `${developmentDocHost}/zh/DApp开发/合约服务/简介.html` },
            { label: '合约', url: `${developmentDocHost}/zh/DApp开发/合约/简介.html` },
            { label: '水龙头', url: `${developmentDocHost}/zh/DApp开发/水龙头.html` },
            { label: '实用工具', url: `${developmentDocHost}/zh/DApp开发/实用工具.html` },
            { label: '辅助开发平台', url: `${developmentDocHost}/zh/DApp开发/辅助开发平台/简介.html` },
            { label: '钱包', url: `${developmentDocHost}/zh/DApp开发/钱包/简介.html` },
            { label: '浏览器', url: `${developmentDocHost}/zh/DApp开发/浏览器/简介.html` },
        ]
    },
    {
        type: '挖矿机制',
        list: [
            { label: '如何成为验证人', url: `${developmentDocHost}/zh/挖矿机制/如何成为验证人.html` },
            { label: '如何质押挖矿', url: `${developmentDocHost}/zh/挖矿机制/如何质押挖矿.html` },
        ]
    },
    {
        type: '治理机制',
        list: [
            { label: 'Themis Network综合治理机制', url: `${developmentDocHost}/zh/治理机制/Themis%20Network%20综合治理机制.html` },
        ]
    },
    {
        type: '社区',
        list: [
            { label: '社区', url: `${officialHost}/#/community` },
            { label: '文档', url: developmentDocHost},
            { label: '品牌资产', url: `${officialHost}/#/community` },
            { label: '博客', url: 'https://thinkiumfoundation.medium.com' },
            { label: 'Medium', url: 'https://thinkiumfoundation.medium.com/thinkium-blockchain-9e03c36fb7af' },
        ]
    },
]

export default {listEn, listZh} 