From ddbc51e4c4f62fac5751c2ab871165a52b65abcf Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Tue, 29 Aug 2023 09:34:01 +0300 Subject: [PATCH] Fix sizes and colors --- .../ValidatorSetup/SyntaxHighlighter.tsx | 6 +- .../ValidatorSetup/ValidatorInstall.tsx | 86 ++++++++++--------- 2 files changed, 50 insertions(+), 42 deletions(-) diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/SyntaxHighlighter.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/SyntaxHighlighter.tsx index 51a9e065..e73d4a8c 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/SyntaxHighlighter.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/SyntaxHighlighter.tsx @@ -11,15 +11,17 @@ const customStyle = { ...solarizedlight['pre[class*="language-"]'], backgroundColor: 'white', }, + backgroundColor: 'white', } const SyntaxHighlighterBox = ({ rows }: SyntaxHighlighterBoxProps) => { return ( {`${rows.join('\n')}`} diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.tsx index 0265d8ef..30e52b25 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstall.tsx @@ -17,11 +17,11 @@ const ValidatorSetupInstall = () => { - + Geth - + Geth is written in Go, fully open source and licensed under the GNU LGPL v3. Geth is one of the three original implementations of the Ethereum protocol. @@ -33,14 +33,14 @@ const ValidatorSetupInstall = () => { /> Installing Geth - + There are several ways to install Geth, including via a package manager, downloading a pre-built bundle, running as a docker container or building from downloaded source code. On this page the various installation options are explained for several major @@ -52,42 +52,48 @@ const ValidatorSetupInstall = () => { releases can be found here. Instructions for updating existing Geth installations are also provided in each section. - - If a version number is returned, then Homebrew is installed. If not, Homebrew can be - installed by following the instructions here. With Homebrew installed, the following - commands add the Geth tap and install Geth: - - - - setSelectedOs('Mac')} - /> - setSelectedOs('Linux')} - /> - setSelectedOs('Windows')} - /> - - - - If a version number is returned, then Homebrew is installed. If not, Homebrew can be - installed by following the instructions here. With Homebrew installed, the following - commands add the Geth tap and install Geth: - - + + setSelectedOs('Mac')} + /> + setSelectedOs('Linux')} + /> + setSelectedOs('Windows')} + /> + + + Package Managers + + MacOS via Homebrew + + + The easiest way to install go-ethereum is to use the Geth Homebrew tap. The first + step is to check that Homebrew is installed. The following command should return a + version number. + + + + If a version number is returned, then Homebrew is installed. If not, Homebrew can + be installed by following the instructions here. With Homebrew installed, the + following commands add the Geth tap and install Geth: + + + +