Skip to content

Commit

Permalink
feat: add links on roadmap page
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Oct 10, 2023
1 parent 29885d8 commit 2830fed
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 68 deletions.
33 changes: 21 additions & 12 deletions public/locales/en/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 4 additions & 5 deletions public/locales/es/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
9 changes: 4 additions & 5 deletions public/locales/fr/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
7 changes: 3 additions & 4 deletions public/locales/ko/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "경량 클라이언트 소프트 포크"
},
Expand All @@ -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 테스트넷",
Expand Down
9 changes: 4 additions & 5 deletions public/locales/pt/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
7 changes: 3 additions & 4 deletions public/locales/tr/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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ı"
},
Expand All @@ -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ğı",
Expand Down
18 changes: 12 additions & 6 deletions public/locales/zh/roadmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "轻客户端软分叉"
},
Expand All @@ -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": "加入旅程",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/roadmap/Journey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export const Journey: React.FC<JourneyProps> = ({
<div className={styles.divider} />
<div className={styles.description}>{description}</div>
<div className={styles.joinLink}>
<a href={joinLink}>
{joinLinkText} <ArrowIcon className={styles.arrowIcon} />{' '}
<a href={joinLink} target="_blank" rel="noopener noreferrer">
{joinLinkText} <ArrowIcon className={styles.arrowIcon} />
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/roadmap/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type SectionProps = {
height: string
}
iconPosition: 'left' | 'right'
subtitle: string
subtitle: React.ReactNode
descriptionText: string
descriptionLink: string
projects: Record<'label' | 'url', string>[]
Expand Down
Loading

0 comments on commit 2830fed

Please sign in to comment.