From 2ad8a1e24fb968dc6ca34332dec1cf941525ebaa Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Sun, 9 Oct 2022 12:12:44 -0600 Subject: [PATCH] add and use constant for go website --- src/constants.ts | 1 + src/pages/index.tsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 92abc34178..1f481b1b0d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -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/'; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index ceb217fea5..b8bced19fb 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -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 = ({}) => { > Geth (go-ethereum) is a{' '} - + Go {' '} implementation of{' '}