mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-02 14:22:55 +00:00
add and use constant for go website
This commit is contained in:
parent
d7c713437b
commit
2ad8a1e24f
2 changed files with 4 additions and 2 deletions
|
|
@ -9,3 +9,4 @@ export const ETHEREUM_ORG_URL = 'https://ethereum.org';
|
||||||
export const ETHEREUM_ORG_RUN_A_NODE_URL = 'https://ethereum.org/en/run-a-node/';
|
export const ETHEREUM_ORG_RUN_A_NODE_URL = 'https://ethereum.org/en/run-a-node/';
|
||||||
export const ETHEREUM_FOUNDATION_URL = 'https://ethereum.foundation';
|
export const ETHEREUM_FOUNDATION_URL = 'https://ethereum.foundation';
|
||||||
export const GETH_REPO_URL = 'https://github.com/ethereum/go-ethereum';
|
export const GETH_REPO_URL = 'https://github.com/ethereum/go-ethereum';
|
||||||
|
export const GO_URL = 'https://go.dev/';
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ import {
|
||||||
ETHEREUM_FOUNDATION_URL,
|
ETHEREUM_FOUNDATION_URL,
|
||||||
ETHEREUM_ORG_RUN_A_NODE_URL,
|
ETHEREUM_ORG_RUN_A_NODE_URL,
|
||||||
ETHEREUM_ORG_URL,
|
ETHEREUM_ORG_URL,
|
||||||
GETH_REPO_URL
|
GETH_REPO_URL,
|
||||||
|
GO_URL,
|
||||||
} from '../constants';
|
} from '../constants';
|
||||||
|
|
||||||
const HomePage: NextPage = ({}) => {
|
const HomePage: NextPage = ({}) => {
|
||||||
|
|
@ -31,7 +32,7 @@ const HomePage: NextPage = ({}) => {
|
||||||
>
|
>
|
||||||
<Text fontFamily='"Inter", sans-serif' lineHeight='26px'>
|
<Text fontFamily='"Inter", sans-serif' lineHeight='26px'>
|
||||||
Geth (go-ethereum) is a{' '}
|
Geth (go-ethereum) is a{' '}
|
||||||
<Link href='https://go.dev/' isExternal variant='light'>
|
<Link href={GO_URL} isExternal variant='light'>
|
||||||
Go
|
Go
|
||||||
</Link>{' '}
|
</Link>{' '}
|
||||||
implementation of{' '}
|
implementation of{' '}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue