add and use constant for go website
This commit is contained in:
parent
d7c713437b
commit
2ad8a1e24f
|
@ -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_FOUNDATION_URL = 'https://ethereum.foundation';
|
||||
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_ORG_RUN_A_NODE_URL,
|
||||
ETHEREUM_ORG_URL,
|
||||
GETH_REPO_URL
|
||||
GETH_REPO_URL,
|
||||
GO_URL,
|
||||
} from '../constants';
|
||||
|
||||
const HomePage: NextPage = ({}) => {
|
||||
|
@ -31,7 +32,7 @@ const HomePage: NextPage = ({}) => {
|
|||
>
|
||||
<Text fontFamily='"Inter", sans-serif' lineHeight='26px'>
|
||||
Geth (go-ethereum) is a{' '}
|
||||
<Link href='https://go.dev/' isExternal variant='light'>
|
||||
<Link href={GO_URL} isExternal variant='light'>
|
||||
Go
|
||||
</Link>{' '}
|
||||
implementation of{' '}
|
||||
|
|
Loading…
Reference in New Issue