From bf0cc24fe59da42be3d1bd9a9469373b3590ff2b Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 11 Oct 2023 01:41:09 +0900 Subject: [PATCH] feat: add links on roadmap page --- public/locales/en/roadmap.json | 33 ++++++---- public/locales/es/roadmap.json | 9 ++- public/locales/fr/roadmap.json | 9 ++- public/locales/ko/roadmap.json | 7 +-- public/locales/pt/roadmap.json | 9 ++- public/locales/tr/roadmap.json | 7 +-- public/locales/zh/roadmap.json | 18 ++++-- src/pages/roadmap/Journey.tsx | 4 +- src/pages/roadmap/index.page.tsx | 101 +++++++++++++++++++++++-------- 9 files changed, 130 insertions(+), 67 deletions(-) diff --git a/public/locales/en/roadmap.json b/public/locales/en/roadmap.json index c9a51689..d07bc054 100644 --- a/public/locales/en/roadmap.json +++ b/public/locales/en/roadmap.json @@ -19,31 +19,40 @@ "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "Open Transactions", - "composable_lock_script": "Composable Lock Script", - "ckb_light_client": "CKB Light Client" + "ckb_light_client": "CKB Light Client", + "ckb_auth": "CKB Auth", + "perun_channel": "Perun Payment Channels", + "spore_nft": "Spore NFT Protocol" }, "upcoming": { "title": "Upcoming", - "subtitle": "2023 Hardfork", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Find out more", - "light_client": "Light client soft fork" + "light_client": "Light Client Soft Fork" }, "achievements": { "title": "Achievements", "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Find out more", "link": "Find out more", - "cota": "Token.citv (CoTA)", - "light_client_soft_fork": "Light client soft fork", - "light_client_implementation": "Light client implementation", + "cota": "Token.city (CoTA)", + "light_client_soft_fork": "Light Client Soft Fork", + "light_client_implementation": "Light Client Implementation", "neuron": "Neuron", - "axon_beta": "Axon beta", + "axon_beta_release": "Axon Beta Release", "godwoken_launches": "Godwoken Launches", "godwoken_v1_ethereum_equivalence": "Godwoken v1 Ethereum Equivalence", - "joyid_testnet": "JoyID testnet", - "bit_launches": ".bit launches", - "force_bridge_launch": "Force bridge launch", - "opera_integration": "Opera integration" + "joyid_testnet": "JoyID Testnet", + "bit_launches": ".bit Launches", + "force_bridge_launch": "Force Bridge Launch", + "opera_integration": "Opera Integration", + "light_client_testnet_activation": "Light Client Testnet Activation", + "quantum_resistant_sphincs": "Quantum Resistant SPHINCS+ lock-script", + "mirana_hardfork": "Mirana Hardfork", + "taproot_on_ckb": "Taproot on CKB", + "lua_on_ckb": "Lua on CKB", + "xudt": "eXtensidble User Defined Tokens", + "sudt": "Simple User Defined Tokens (sUDT)" }, "journey": { "title": "Join the journey", diff --git a/public/locales/es/roadmap.json b/public/locales/es/roadmap.json index d388a9b4..d810e750 100644 --- a/public/locales/es/roadmap.json +++ b/public/locales/es/roadmap.json @@ -13,18 +13,17 @@ }, "in_progress": { "title": "En progreso", - "subtitle": "Hardfork CKB 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Descubre más", "link": "Descubre más", "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "Transacciones abiertas", - "composable_lock_script": "Script de bloqueo componible", "ckb_light_client": "Cliente ligero CKB" }, "upcoming": { "title": "Próximos", - "subtitle": "Hardfork 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Descubre más", "light_client": "Soft fork de cliente ligero" }, @@ -33,11 +32,11 @@ "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Descubre más", "link": "Descubre más", - "cota": "Token.citv (CoTA)", + "cota": "Token.city (CoTA)", "light_client_soft_fork": "Soft fork de cliente ligero", "light_client_implementation": "Implementación de cliente ligero", "neuron": "Neuron", - "axon_beta": "Axon beta", + "axon_beta_release": "Axon Beta Releaes", "godwoken_launches": "Lanzamientos de Godwoken", "godwoken_v1_ethereum_equivalence": "Equivalencia de Godwoken v1 con Ethereum", "joyid_testnet": "Testnet JoyID", diff --git a/public/locales/fr/roadmap.json b/public/locales/fr/roadmap.json index c7bcbff2..02e82f7c 100644 --- a/public/locales/fr/roadmap.json +++ b/public/locales/fr/roadmap.json @@ -13,18 +13,17 @@ }, "in_progress": { "title": "En cours", - "subtitle": "Hardfork CKB 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. En savoir plus", "link": "En savoir plus", "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "Transactions ouvertes", - "composable_lock_script": "Script de verrouillage composable", "ckb_light_client": "Client léger CKB" }, "upcoming": { "title": "À venir", - "subtitle": "Hardfork 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. En savoir plus", "light_client": "Soft fork du client léger" }, @@ -33,11 +32,11 @@ "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. En savoir plus", "link": "En savoir plus", - "cota": "Token.citv (CoTA)", + "cota": "Token.city (CoTA)", "light_client_soft_fork": "Soft fork du client léger", "light_client_implementation": "Implémentation du client léger", "neuron": "Neuron", - "axon_beta": "Version bêta d'Axon", + "axon_beta_release": "Version bêta d'Axon", "godwoken_launches": "Lancements de Godwoken", "godwoken_v1_ethereum_equivalence": "Équivalence de Godwoken v1 avec Ethereum", "joyid_testnet": "Testnet JoyID", diff --git a/public/locales/ko/roadmap.json b/public/locales/ko/roadmap.json index 625e156f..b3267772 100644 --- a/public/locales/ko/roadmap.json +++ b/public/locales/ko/roadmap.json @@ -19,12 +19,11 @@ "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "개방형 거래", - "composable_lock_script": "구성 가능한 잠금 스크립트", "ckb_light_client": "CKB 경량 클라이언트" }, "upcoming": { "title": "다가오는", - "subtitle": "2023 하드포크", + "subtitle": "CKB 하드포크 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. 자세히 알아보기", "light_client": "경량 클라이언트 소프트 포크" }, @@ -33,11 +32,11 @@ "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. 자세히 알아보기", "link": "자세히 알아보기", - "cota": "Token.citv (CoTA)", + "cota": "Token.city (CoTA)", "light_client_soft_fork": "경량 클라이언트 소프트 포크", "light_client_implementation": "경량 클라이언트 구현", "neuron": "뉴런", - "axon_beta": "Axon 베타", + "axon_beta_release": "Axon 베타", "godwoken_launches": "Godwoken 출시", "godwoken_v1_ethereum_equivalence": "Godwoken v1 이더리움 동등성", "joyid_testnet": "JoyID 테스트넷", diff --git a/public/locales/pt/roadmap.json b/public/locales/pt/roadmap.json index 5ac4f2c0..942ce1ae 100644 --- a/public/locales/pt/roadmap.json +++ b/public/locales/pt/roadmap.json @@ -13,18 +13,17 @@ }, "in_progress": { "title": "Em progresso", - "subtitle": "Hardfork CKB 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Saiba mais", "link": "Saiba mais", "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "Transações abertas", - "composable_lock_script": "Script de bloqueio componível", "ckb_light_client": "Cliente leve CKB" }, "upcoming": { "title": "Próximos", - "subtitle": "Hardfork 2023", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Saiba mais", "light_client": "Fork suave do cliente leve" }, @@ -33,11 +32,11 @@ "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Saiba mais", "link": "Saiba mais", - "cota": "Token.citv (CoTA)", + "cota": "Token.city (CoTA)", "light_client_soft_fork": "Fork suave do cliente leve", "light_client_implementation": "Implementação do cliente leve", "neuron": "Neuron", - "axon_beta": "Axon beta", + "axon_beta_releaes": "Axon Beta Release", "godwoken_launches": "Lançamentos do Godwoken", "godwoken_v1_ethereum_equivalence": "Equivalência do Godwoken v1 com Ethereum", "joyid_testnet": "Testnet JoyID", diff --git a/public/locales/tr/roadmap.json b/public/locales/tr/roadmap.json index 6579bd45..87a702ce 100644 --- a/public/locales/tr/roadmap.json +++ b/public/locales/tr/roadmap.json @@ -19,12 +19,11 @@ "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "Açık İşlemler", - "composable_lock_script": "Birleştirilebilir Kilit Betiği", "ckb_light_client": "CKB Hafif İstemci" }, "upcoming": { "title": "Yaklaşan", - "subtitle": "2023 Hardfork", + "subtitle": "CKB Hardfork 2023", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Daha fazlasını öğren", "light_client": "Hafif istemci yumuşak çatalı" }, @@ -33,11 +32,11 @@ "subtitle": "SUDT", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore magna aliqua. Daha fazlasını öğren", "link": "Daha fazlasını öğren", - "cota": "Token.citv (CoTA)", + "cota": "Token.city (CoTA)", "light_client_soft_fork": "Hafif istemci yumuşak çatalı", "light_client_implementation": "Hafif istemci uygulaması", "neuron": "Nöron", - "axon_beta": "Axon beta", + "axon_beta_release": "Axon Beta Release", "godwoken_launches": "Godwoken Başlatmaları", "godwoken_v1_ethereum_equivalence": "Godwoken v1 Ethereum Eşdeğerliği", "joyid_testnet": "JoyID test ağı", diff --git a/public/locales/zh/roadmap.json b/public/locales/zh/roadmap.json index 48b4893a..2b42b86a 100644 --- a/public/locales/zh/roadmap.json +++ b/public/locales/zh/roadmap.json @@ -13,18 +13,17 @@ }, "in_progress": { "title": "进行中", - "subtitle": "CKB 2023 分叉", + "subtitle": "CKB 硬分叉 2023", "description": "Lorem ipsum 钜热卫克尔多尔 sit amet,adipiscing优乐多克尔,色德杜艾乌斯蒂珀鲁斯inco努特labore艾特dolore磨嘎aliqua。了解更多", "link": "了解更多", "kuai": "Kuai", "force_relay": "ForceRelay", "open_transactions": "开放式交易", - "composable_lock_script": "可组合锁定脚本", "ckb_light_client": "CKB 轻客户端" }, "upcoming": { "title": "即将到来", - "subtitle": "2023 年分叉", + "subtitle": "CKB 硬分叉 2023", "description": "Lorem ipsum 钜热卫克尔多尔 sit amet,adipiscing优乐多克尔,色德杜艾乌斯蒂珀鲁斯inco努特labore艾特dolore磨嘎aliqua。了解更多", "light_client": "轻客户端软分叉" }, @@ -33,17 +32,24 @@ "subtitle": "SUDT", "description": "Lorem ipsum 钜热卫克尔多尔 sit amet,adipiscing优乐多克尔,色德杜艾乌斯蒂珀鲁斯inco努特labore艾特dolore磨嘎aliqua。了解更多", "link": "了解更多", - "cota": "Token.citv(CoTA)", + "cota": "Token.city(CoTA)", "light_client_soft_fork": "轻客户端软分叉", "light_client_implementation": "轻客户端实现", "neuron": "Neuron", - "axon_beta": "Axon beta", + "axon_beta_release": "Axon Beta Release", "godwoken_launches": "Godwoken 发布", "godwoken_v1_ethereum_equivalence": "Godwoken v1 以太坊等效性", "joyid_testnet": "JoyID 测试网", "bit_launches": ".bit 发布", "force_bridge_launch": "Force Bridge 发布", - "opera_integration": "Opera 集成" + "opera_integration": "Opera 集成", + "light_client_testnet_activation": "轻客户端测试网激活", + "quantum_resistant_sphincs": "Quantum Resistant SPHINCS+ lock-script", + "mirana_hardfork": "Mirana 硬分叉", + "taproot_on_ckb": "Taproot on CKB", + "lua_on_ckb": "Lua on CKB", + "xudt": "eXtensidble User Defined Tokens", + "sudt": "Simple User Defined Tokens (sUDT)" }, "journey": { "title": "加入旅程", diff --git a/src/pages/roadmap/Journey.tsx b/src/pages/roadmap/Journey.tsx index 136b4cb7..be90ad0c 100644 --- a/src/pages/roadmap/Journey.tsx +++ b/src/pages/roadmap/Journey.tsx @@ -33,8 +33,8 @@ export const Journey: React.FC = ({
{description}
- - {joinLinkText} {' '} + + {joinLinkText}
diff --git a/src/pages/roadmap/index.page.tsx b/src/pages/roadmap/index.page.tsx index d7a9c973..52071ead 100644 --- a/src/pages/roadmap/index.page.tsx +++ b/src/pages/roadmap/index.page.tsx @@ -18,6 +18,7 @@ const Roadmap: NextPage = () => { const isDesktop = !isMobile const sections = [ { + key: 'in_progress', title:
{t('in_progress.title')}
, icon: inprogress, iconSize: { @@ -25,18 +26,32 @@ const Roadmap: NextPage = () => { height: '430px', }, iconPosition: 'left' as const, - subtitle: t('in_progress.subtitle'), + subtitle: ( + + {t('in_progress.subtitle')} + + ), descriptionText: t('in_progress.description'), descriptionLink: t('in_progress.link'), projects: [ - { label: t('in_progress.kuai'), url: '/' }, - { label: t('in_progress.force_relay'), url: '/' }, - { label: t('in_progress.open_transactions'), url: '/' }, - { label: t('in_progress.composable_lock_script'), url: '/' }, - { label: t('in_progress.ckb_light_client'), url: '/' }, + { label: t('in_progress.ckb_auth'), url: 'https://github.com/nervosnetwork/ckb-auth' }, + { + label: t('in_progress.perun_channel'), + url: 'https://medium.com/perunnetwork/perun-channels-coming-to-nervos-ckb-1d72081ee887', + }, + { + label: t('in_progress.spore_nft'), + url: 'https://www.spore.pro', + }, + { label: t('in_progress.kuai'), url: 'https://github.com/ckb-js/kuai/' }, + { + label: t('in_progress.open_transactions'), + url: 'https://talk.nervos.org/t/exploring-the-ckb-otx-paradigm-accomplishments-and-insights-from-building-a-transaction-streaming-prototype/7346', + }, ], }, { + key: 'upcoming', title:
{t('upcoming.title')}
, icon: upcoming, iconSize: { @@ -44,12 +59,17 @@ const Roadmap: NextPage = () => { height: '476.24px', }, iconPosition: 'right' as const, - subtitle: t('upcoming.subtitle'), + subtitle: ( + + {t('upcoming.subtitle')} + + ), descriptionText: t('upcoming.description'), descriptionLink: t('upcoming.link'), - projects: [{ label: t('upcoming.light_client'), url: '/' }], + projects: [{ label: t('upcoming.light_client'), url: 'https://github.com/nervosnetwork/ckb/issues/4085' }], }, { + key: 'achievements', title:
{t('achievements.title')}
, icon: achievements, iconSize: { @@ -57,21 +77,55 @@ const Roadmap: NextPage = () => { height: '456.98px', }, iconPosition: 'left' as const, - subtitle: t('achievements.description'), + subtitle: null, descriptionText: t('achievements.description'), descriptionLink: t('achievements.link'), projects: [ - { label: t('achievements.cota'), url: '/' }, - { label: t('achievements.light_client_soft_fork'), url: '/' }, - { label: t('achievements.light_client_implementation'), url: '/' }, - { label: t('achievements.neuron'), url: '/' }, - { label: t('achievements.axon_beta'), url: '/' }, - { label: t('achievements.godwoken_launches'), url: '/' }, - { label: t('achievements.godwoken_v1_ethereum_equivalence'), url: '/' }, - { label: t('achievements.joyid_testnet'), url: '/' }, - { label: t('achievements.bit_launches'), url: '/' }, - { label: t('achievements.force_bridge_launch'), url: '/' }, - { label: t('achievements.opera_integration'), url: '/' }, + { label: t('achievements.axon_beta_release'), url: 'https://x.com/AxonWeb3/status/1663898512281735169?s=20' }, + { + label: t('achievements.light_client_testnet_activation'), + url: 'https://twitter.com/busyforking/status/1609169117097127937', + }, + { + label: t('achievements.quantum_resistant_sphincs'), + url: 'https://github.com/cryptape/quantum-resistant-lock-script', + }, + { + label: t('achievements.joyid_testnet'), + url: 'https://archive.nervos.org/blog/joyid-a-passwordless-web3-wallet-that-will-accelerate-the-mass-adoption-for-nervos', + }, + { + label: t('achievements.mirana_hardfork'), + url: 'https://archive.nervos.org/blog/nervos-layer-1-a-major-protocol-upgrade-is-rolling-out', + }, + { + label: t('achievements.godwoken_v1_ethereum_equivalence'), + url: 'https://archive.nervos.org/blog/nervos-network-godwoken-announcement', + }, + { + label: t('achievements.taproot_on_ckb'), + url: 'https://blog.cryptape.com/enable-bitcoin-taproot-on-ckb-part-ii', + }, + { + label: t('achievements.lua_on_ckb'), + url: 'https://blog.cryptape.com/enhancing-ergonomics-and-extensibility-of-ckb-contract-development-with-lua', + }, + { + label: t('achievements.xudt'), + url: 'https://blog.cryptape.com/enhance-sudts-programmability-with-xudt', + }, + { label: t('achievements.bit_launches'), url: 'https://twitter.com/NervosNetwork/status/1416051952908124161' }, + { label: t('achievements.cota'), url: 'https://token.city/login' }, + { + label: t('achievements.godwoken_launches'), + url: 'https://archive.nervos.org/blog/nervos-launches-godwoken-mainnet-beta', + }, + { label: t('achievements.sudt'), url: 'https://decrypt.co/48538/nervos-network-sudt-ethereum-token-erc-20/' }, + { + label: t('achievements.opera_integration'), + url: 'https://press.opera.com/2022/02/22/opera-nervos-blockchain-ckb/', + }, + { label: t('achievements.force_bridge_launch'), url: 'https://archive.nervos.org/blog/force-bridge-mainnet' }, ], }, ] @@ -82,7 +136,7 @@ const Roadmap: NextPage = () => { iconPosition: 'right' as const, description: t('journey.description'), // TODO: add join button href here - joinLink: '', + joinLink: 'https://discord.gg/FKh8Zzvwqa', joinLinkText: t('journey.link_text'), } @@ -124,18 +178,17 @@ const Roadmap: NextPage = () => {
{t('get_involved.description_1')}
{t('get_involved.description_2')}
{/* // TODO: add join button href here */} - + {t('get_involved.rfcs')} {' '} | {/* // TODO: add join button href here */} - + {t('get_involved.nervos_talk_forum')} {sections.map((section, index) => { return (