pull/26459/head^2
Corwin Smith 2 years ago
parent e70b660c0c
commit 5e48829712
  1. 29
      src/components/UI/Header.tsx
  2. 5
      src/theme/foundations/textStyles.ts

@ -17,14 +17,11 @@ export const Header: FC = () => {
p={4} p={4}
justifyContent='center' justifyContent='center'
alignItems='flex-start' alignItems='flex-start'
borderRight={{ base: 'none', sm: '2px solid #11866f' }} borderRight={{ base: 'none', sm: '2px solid' }}
borderColor='brand.light.primary'
flexGrow={2} flexGrow={2}
> >
<Text <Text textStyle='header-font'>
fontFamily='"JetBrains Mono", monospace'
fontWeight={700}
fontSize={{ base: '0.86rem', sm: '1rem' }}
>
go-ethereum go-ethereum
</Text> </Text>
</Stack> </Stack>
@ -46,12 +43,7 @@ export const Header: FC = () => {
> >
<NextLink href={DOWNLOADS_PAGE} passHref> <NextLink href={DOWNLOADS_PAGE} passHref>
<Link _hover={{ textDecoration: 'none' }}> <Link _hover={{ textDecoration: 'none' }}>
<Text <Text textStyle='header-font' textTransform='uppercase'>
fontFamily='"JetBrains Mono", monospace'
fontWeight={700}
fontSize={{ base: '0.86rem', sm: '1rem' }}
textTransform='uppercase'
>
downloads downloads
</Text> </Text>
</Link> </Link>
@ -62,7 +54,8 @@ export const Header: FC = () => {
<Stack <Stack
p={4} p={4}
justifyContent='center' justifyContent='center'
borderRight={{ base: 'none', md: '2px solid #11866f' }} borderRight={{ base: 'none', md: '2px solid' }}
borderColor='brand.light.primary'
display={{ base: 'none', md: 'block' }} display={{ base: 'none', md: 'block' }}
color='brand.light.primary' color='brand.light.primary'
_hover={{ _hover={{
@ -73,12 +66,7 @@ export const Header: FC = () => {
> >
<NextLink href={DOCS_PAGE} passHref> <NextLink href={DOCS_PAGE} passHref>
<Link _hover={{ textDecoration: 'none' }}> <Link _hover={{ textDecoration: 'none' }}>
<Text <Text textStyle='header-font' textTransform='uppercase'>
fontFamily='"JetBrains Mono", monospace'
fontWeight={700}
fontSize={{ base: '0.86rem', sm: '1rem' }}
textTransform='uppercase'
>
documentation documentation
</Text> </Text>
</Link> </Link>
@ -89,7 +77,8 @@ export const Header: FC = () => {
<Stack <Stack
p={4} p={4}
display={{ base: 'none', md: 'block' }} display={{ base: 'none', md: 'block' }}
borderRight={{ base: 'none', md: '2px solid #11866f' }} borderRight={{ base: 'none', md: '2px solid' }}
borderColor='brand.light.primary'
> >
<InputGroup> <InputGroup>
<Input <Input

@ -15,6 +15,11 @@ export const textStyles = {
letterSpacing: '4%', letterSpacing: '4%',
color: 'brand.light.body' color: 'brand.light.body'
}, },
'header-font': {
fontFamily: '"JetBrains Mono", monospace',
fontWeight: 700,
fontSize: { base: '0.86rem', sm: '1rem' }
},
'homepage-description': { 'homepage-description': {
fontFamily: '"JetBrains Mono", monospace', fontFamily: '"JetBrains Mono", monospace',
fontWeight: 700, fontWeight: 700,

Loading…
Cancel
Save