Skip to content

Commit

Permalink
feat: add link of ckb node probe in navigation
Browse files Browse the repository at this point in the history
Ref: #355
  • Loading branch information
Keith-CY committed Oct 15, 2023
1 parent e9e9d2e commit 953c070
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"community_fund_dao": "Community\nFund DAO",
"forum": "Forum",
"rfcs": "RFCs",
"ckb_nodes": "CKB Node Probe",
"mining": "Mining",
"wallets": "Wallets",
"learn": "Learn",
Expand Down
1 change: 1 addition & 0 deletions public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"community_fund_dao": "Community\nFund DAO",
"forum": "Foro",
"rfcs": "RFCs",
"ckb_nodes": "CKB Node Sonda",
"mining": "Minería",
"wallets": "Wallets",
"learn": "Aprende",
Expand Down
1 change: 1 addition & 0 deletions public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"community_fund_dao": "Community\nFund DAO",
"forum": "Forum",
"rfcs": "RFCs",
"ckb_nodes": "Sonde du nœud CKB",
"mining": "Minage",
"wallets": "Portefeuilles",
"learn": "Apprendre",
Expand Down
1 change: 1 addition & 0 deletions public/locales/pt/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"community_fund_dao": "Community\nFund DAO",
"forum": "Fórum",
"rfcs": "RFCs",
"ckb_nodes": "Sonda de nó CKB",
"mining": "Mineração",
"wallets": "Carteiras",
"learn": "Aprender",
Expand Down
1 change: 1 addition & 0 deletions public/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"community_fund_dao": "社区基金 DAO",
"forum": "论坛",
"rfcs": "RFCs",
"ckb_nodes": " CKB 节点探针",
"mining": "挖矿",
"wallets": "钱包",
"learn": "学习",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $defaultHeaderHeight: 90px;
.menu {
display: flex;
flex-direction: column;
height: 150px;
height: 165px;
padding: 0 15px;
color: var(--colorPrimary);
background: var(--colorPrimaryBg);
Expand Down
3 changes: 3 additions & 0 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ const MenuPopover: FC = () => {
<StyledLink href="https://github.com/nervosnetwork/rfcs" className={styles.link}>
{t('rfcs')}
</StyledLink>
<StyledLink href="https://nodes.ckb.dev/" className={styles.link}>
{t('ckb_nodes')}
</StyledLink>
</div>
</div>

Expand Down

0 comments on commit 953c070

Please sign in to comment.