add and use constant for go website

This commit is contained in:
Corwin Smith 2022-10-09 12:12:44 -06:00
parent d7c713437b
commit 2ad8a1e24f
2 changed files with 4 additions and 2 deletions

View File

@ -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/';

View File

@ -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{' '}