|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
import { Box, Button, Heading, Image, Link, Stack, HStack, Text } from '@chakra-ui/react'; |
|
|
|
|
import { Box, Button, Image, Link, Stack, HStack, Text } from '@chakra-ui/react'; |
|
|
|
|
import { FC } from 'react'; |
|
|
|
|
import NextLink from 'next/link'; |
|
|
|
|
|
|
|
|
@ -28,17 +28,12 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
<Box mb={4}> |
|
|
|
|
<Heading |
|
|
|
|
as='h1' // TODO: move text style to theme
|
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
fontWeight={700} |
|
|
|
|
fontSize='2.75rem' |
|
|
|
|
lineHeight='3.375rem' |
|
|
|
|
letterSpacing='5%' |
|
|
|
|
color='brand.light.body' |
|
|
|
|
<Box |
|
|
|
|
as='h1' |
|
|
|
|
textStyle='h1' |
|
|
|
|
> |
|
|
|
|
Download go-ethereum |
|
|
|
|
</Heading> |
|
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
<Text |
|
|
|
|
// TODO: move text style to theme
|
|
|
|
@ -49,26 +44,16 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
{currentBuildName} ({currentBuildVersion}) |
|
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
<Text |
|
|
|
|
mb={4} |
|
|
|
|
> |
|
|
|
|
<Text mb={4}> |
|
|
|
|
You can download the latest 64-bit stable release of Geth for our primary platforms below. Packages for all supported platforms, as well as develop builds, can be found further down the page. If you're looking to install Geth and/or associated tools via your favorite package manager, please check our installation guide. |
|
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
<NextLink href={linuxBuildURL} passHref> |
|
|
|
|
<Button |
|
|
|
|
as='a' |
|
|
|
|
p={8} |
|
|
|
|
borderRadius={0} |
|
|
|
|
variant='primary' |
|
|
|
|
width={{ base: '100%' }} |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
bg='brand.light.primary' |
|
|
|
|
_hover={{ bg: 'brand.light.secondary' }} |
|
|
|
|
_focus={{ |
|
|
|
|
bg: 'brand.light.primary', |
|
|
|
|
boxShadow: 'inset 0 0 0 2px #06fece !important' |
|
|
|
|
}} |
|
|
|
|
_active={{ borderTop: '4px solid', borderColor: 'green.200', pt: '4px' }} |
|
|
|
|
p={8} |
|
|
|
|
mb={4} |
|
|
|
|
> |
|
|
|
|
<HStack spacing={4}> |
|
|
|
@ -76,22 +61,10 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<Image m={'auto'} src='/images/pages/linux-penguin.svg' alt='Gopher greeting' /> |
|
|
|
|
</Box>
|
|
|
|
|
<Box> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontWeight={700} |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
For linux |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontSize='xs' |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
geth {currentBuildName} |
|
|
|
|
</Text> |
|
|
|
|
</Box> |
|
|
|
@ -102,17 +75,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<NextLink href={macOSBuildURL} passHref> |
|
|
|
|
<Button |
|
|
|
|
as='a' |
|
|
|
|
p={8} |
|
|
|
|
borderRadius={0} |
|
|
|
|
variant='primary' |
|
|
|
|
width={{ base: '100%' }} |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
bg='brand.light.primary' |
|
|
|
|
_hover={{ bg: 'brand.light.secondary' }} |
|
|
|
|
_focus={{ |
|
|
|
|
bg: 'brand.light.primary', |
|
|
|
|
boxShadow: 'inset 0 0 0 2px #06fece !important' |
|
|
|
|
}} |
|
|
|
|
_active={{ borderTop: '4px solid', borderColor: 'green.200', pt: '4px' }} |
|
|
|
|
p={8} |
|
|
|
|
mb={4} |
|
|
|
|
> |
|
|
|
|
<HStack spacing={4}> |
|
|
|
@ -120,22 +85,10 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<Image m={'auto'} src='/images/pages/macos-logo.svg' alt='Gopher greeting' /> |
|
|
|
|
</Box>
|
|
|
|
|
<Box> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontWeight={700} |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
For macos |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontSize='xs' |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
geth {currentBuildName} |
|
|
|
|
</Text> |
|
|
|
|
</Box> |
|
|
|
@ -146,17 +99,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<NextLink href={windowsBuildURL} passHref> |
|
|
|
|
<Button |
|
|
|
|
as='a' |
|
|
|
|
p={8} |
|
|
|
|
borderRadius={0} |
|
|
|
|
variant='primary' |
|
|
|
|
width={{ base: '100%' }} |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
bg='brand.light.primary' |
|
|
|
|
_hover={{ bg: 'brand.light.secondary' }} |
|
|
|
|
_focus={{ |
|
|
|
|
bg: 'brand.light.primary', |
|
|
|
|
boxShadow: 'inset 0 0 0 2px #06fece !important' |
|
|
|
|
}} |
|
|
|
|
_active={{ borderTop: '4px solid', borderColor: 'green.200', pt: '4px' }} |
|
|
|
|
p={8} |
|
|
|
|
mb={4} |
|
|
|
|
> |
|
|
|
|
<HStack spacing={4}> |
|
|
|
@ -164,22 +109,10 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<Image m={'auto'} src='/images/pages/windows-logo.svg' alt='Gopher greeting' /> |
|
|
|
|
</Box>
|
|
|
|
|
<Box> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontWeight={700} |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
For windows |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontSize='xs' |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
geth {currentBuildName} |
|
|
|
|
</Text> |
|
|
|
|
</Box> |
|
|
|
@ -190,17 +123,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<NextLink href={sourceCodeURL} passHref> |
|
|
|
|
<Button |
|
|
|
|
as='a' |
|
|
|
|
p={8} |
|
|
|
|
borderRadius={0} |
|
|
|
|
variant='primary' |
|
|
|
|
width={{ base: '100%' }} |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
bg='brand.light.primary' |
|
|
|
|
_hover={{ bg: 'brand.light.secondary' }} |
|
|
|
|
_focus={{ |
|
|
|
|
bg: 'brand.light.primary', |
|
|
|
|
boxShadow: 'inset 0 0 0 2px #06fece !important' |
|
|
|
|
}} |
|
|
|
|
_active={{ borderTop: '4px solid', borderColor: 'green.200', pt: '4px' }} |
|
|
|
|
p={8} |
|
|
|
|
mb={4} |
|
|
|
|
> |
|
|
|
|
<HStack spacing={4}> |
|
|
|
@ -208,22 +133,10 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<Image m={'auto'} src='/images/pages/source-branch.svg' alt='Gopher greeting' /> |
|
|
|
|
</Box>
|
|
|
|
|
<Box> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontWeight={700} |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
Sources |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
color='yellow.50' |
|
|
|
|
fontSize='xs' |
|
|
|
|
textTransform='uppercase' |
|
|
|
|
> |
|
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
|
geth {currentBuildName} |
|
|
|
|
</Text> |
|
|
|
|
</Box> |
|
|
|
@ -235,14 +148,14 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
|
<Link |
|
|
|
|
href={releaseNotesURL} |
|
|
|
|
isExternal |
|
|
|
|
color='#11866f' |
|
|
|
|
_hover={{ color: '#1d242c', textDecorationColor: '#1d242c' }} |
|
|
|
|
color='brand.light.primary' |
|
|
|
|
_hover={{ color: 'brand.light.body', textDecorationColor: 'brand.light.body' }} |
|
|
|
|
_focus={{ |
|
|
|
|
color: '#11866f', |
|
|
|
|
boxShadow: '0 0 0 1px #11866f !important', |
|
|
|
|
color: 'brand.light.primary', |
|
|
|
|
boxShadow: 'linkBoxShadow', |
|
|
|
|
textDecoration: 'none' |
|
|
|
|
}} |
|
|
|
|
_pressed={{ color: '#25453f', textDecorationColor: '#25453f' }} |
|
|
|
|
_pressed={{ color: 'brand.light.secondary', textDecorationColor: 'brand.light.secondary' }} |
|
|
|
|
> |
|
|
|
|
Release notes for {currentBuildName} {currentBuildVersion} |
|
|
|
|
</Link> |
|
|
|
|