|
|
@ -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 { FC } from 'react'; |
|
|
|
import NextLink from 'next/link'; |
|
|
|
import NextLink from 'next/link'; |
|
|
|
|
|
|
|
|
|
|
@ -28,17 +28,12 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
|
|
<Box mb={4}> |
|
|
|
<Box mb={4}> |
|
|
|
<Heading |
|
|
|
<Box |
|
|
|
as='h1' // TODO: move text style to theme
|
|
|
|
as='h1' |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
textStyle='h1' |
|
|
|
fontWeight={700} |
|
|
|
|
|
|
|
fontSize='2.75rem' |
|
|
|
|
|
|
|
lineHeight='3.375rem' |
|
|
|
|
|
|
|
letterSpacing='5%' |
|
|
|
|
|
|
|
color='brand.light.body' |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
Download go-ethereum |
|
|
|
Download go-ethereum |
|
|
|
</Heading> |
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
|
|
<Text |
|
|
|
<Text |
|
|
|
// TODO: move text style to theme
|
|
|
|
// TODO: move text style to theme
|
|
|
@ -49,26 +44,16 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
{currentBuildName} ({currentBuildVersion}) |
|
|
|
{currentBuildName} ({currentBuildVersion}) |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
|
|
<Text |
|
|
|
<Text mb={4}> |
|
|
|
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. |
|
|
|
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> |
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
|
|
<NextLink href={linuxBuildURL} passHref> |
|
|
|
<NextLink href={linuxBuildURL} passHref> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
as='a' |
|
|
|
as='a' |
|
|
|
p={8} |
|
|
|
variant='primary' |
|
|
|
borderRadius={0} |
|
|
|
|
|
|
|
width={{ base: '100%' }} |
|
|
|
width={{ base: '100%' }} |
|
|
|
// TODO: move to theme colors
|
|
|
|
p={8} |
|
|
|
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' }} |
|
|
|
|
|
|
|
mb={4} |
|
|
|
mb={4} |
|
|
|
> |
|
|
|
> |
|
|
|
<HStack spacing={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' /> |
|
|
|
<Image m={'auto'} src='/images/pages/linux-penguin.svg' alt='Gopher greeting' /> |
|
|
|
</Box>
|
|
|
|
</Box>
|
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontWeight={700} |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
For linux |
|
|
|
For linux |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontSize='xs' |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
geth {currentBuildName} |
|
|
|
geth {currentBuildName} |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
@ -102,17 +75,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
<NextLink href={macOSBuildURL} passHref> |
|
|
|
<NextLink href={macOSBuildURL} passHref> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
as='a' |
|
|
|
as='a' |
|
|
|
p={8} |
|
|
|
variant='primary' |
|
|
|
borderRadius={0} |
|
|
|
|
|
|
|
width={{ base: '100%' }} |
|
|
|
width={{ base: '100%' }} |
|
|
|
// TODO: move to theme colors
|
|
|
|
p={8} |
|
|
|
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' }} |
|
|
|
|
|
|
|
mb={4} |
|
|
|
mb={4} |
|
|
|
> |
|
|
|
> |
|
|
|
<HStack spacing={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' /> |
|
|
|
<Image m={'auto'} src='/images/pages/macos-logo.svg' alt='Gopher greeting' /> |
|
|
|
</Box>
|
|
|
|
</Box>
|
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontWeight={700} |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
For macos |
|
|
|
For macos |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontSize='xs' |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
geth {currentBuildName} |
|
|
|
geth {currentBuildName} |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
@ -146,17 +99,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
<NextLink href={windowsBuildURL} passHref> |
|
|
|
<NextLink href={windowsBuildURL} passHref> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
as='a' |
|
|
|
as='a' |
|
|
|
p={8} |
|
|
|
variant='primary' |
|
|
|
borderRadius={0} |
|
|
|
|
|
|
|
width={{ base: '100%' }} |
|
|
|
width={{ base: '100%' }} |
|
|
|
// TODO: move to theme colors
|
|
|
|
p={8} |
|
|
|
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' }} |
|
|
|
|
|
|
|
mb={4} |
|
|
|
mb={4} |
|
|
|
> |
|
|
|
> |
|
|
|
<HStack spacing={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' /> |
|
|
|
<Image m={'auto'} src='/images/pages/windows-logo.svg' alt='Gopher greeting' /> |
|
|
|
</Box>
|
|
|
|
</Box>
|
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontWeight={700} |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
For windows |
|
|
|
For windows |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontSize='xs' |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
geth {currentBuildName} |
|
|
|
geth {currentBuildName} |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
@ -190,17 +123,9 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
<NextLink href={sourceCodeURL} passHref> |
|
|
|
<NextLink href={sourceCodeURL} passHref> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
as='a' |
|
|
|
as='a' |
|
|
|
p={8} |
|
|
|
variant='primary' |
|
|
|
borderRadius={0} |
|
|
|
|
|
|
|
width={{ base: '100%' }} |
|
|
|
width={{ base: '100%' }} |
|
|
|
// TODO: move to theme colors
|
|
|
|
p={8} |
|
|
|
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' }} |
|
|
|
|
|
|
|
mb={4} |
|
|
|
mb={4} |
|
|
|
> |
|
|
|
> |
|
|
|
<HStack spacing={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' /> |
|
|
|
<Image m={'auto'} src='/images/pages/source-branch.svg' alt='Gopher greeting' /> |
|
|
|
</Box>
|
|
|
|
</Box>
|
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontWeight={700} |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
Sources |
|
|
|
Sources |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
<Text |
|
|
|
<Text textStyle='downloads-button-label'> |
|
|
|
fontFamily='"JetBrains Mono", monospace' |
|
|
|
|
|
|
|
// TODO: move to theme colors
|
|
|
|
|
|
|
|
color='yellow.50' |
|
|
|
|
|
|
|
fontSize='xs' |
|
|
|
|
|
|
|
textTransform='uppercase' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
geth {currentBuildName} |
|
|
|
geth {currentBuildName} |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
@ -235,14 +148,14 @@ export const DownloadsHero: FC<DownloadsHero> = ({ |
|
|
|
<Link |
|
|
|
<Link |
|
|
|
href={releaseNotesURL} |
|
|
|
href={releaseNotesURL} |
|
|
|
isExternal |
|
|
|
isExternal |
|
|
|
color='#11866f' |
|
|
|
color='brand.light.primary' |
|
|
|
_hover={{ color: '#1d242c', textDecorationColor: '#1d242c' }} |
|
|
|
_hover={{ color: 'brand.light.body', textDecorationColor: 'brand.light.body' }} |
|
|
|
_focus={{ |
|
|
|
_focus={{ |
|
|
|
color: '#11866f', |
|
|
|
color: 'brand.light.primary', |
|
|
|
boxShadow: '0 0 0 1px #11866f !important', |
|
|
|
boxShadow: 'linkBoxShadow', |
|
|
|
textDecoration: 'none' |
|
|
|
textDecoration: 'none' |
|
|
|
}} |
|
|
|
}} |
|
|
|
_pressed={{ color: '#25453f', textDecorationColor: '#25453f' }} |
|
|
|
_pressed={{ color: 'brand.light.secondary', textDecorationColor: 'brand.light.secondary' }} |
|
|
|
> |
|
|
|
> |
|
|
|
Release notes for {currentBuildName} {currentBuildVersion} |
|
|
|
Release notes for {currentBuildName} {currentBuildVersion} |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|