chore: update spacing between sections on home and /downloads pages

pull/26459/head^2
Nicolás Quiroz 2 years ago
parent 362b58bd8a
commit a0f0b5fc86
  1. 6
      src/components/UI/downloads/SpecificVersionsSection.tsx
  2. 2
      src/pages/downloads.tsx
  3. 5
      src/pages/index.tsx

@ -8,7 +8,11 @@ interface Props {
export const SpecificVersionsSection: FC<Props> = ({ children }) => { export const SpecificVersionsSection: FC<Props> = ({ children }) => {
return ( return (
<Grid id='specificversions' templateColumns={{ base: '1fr', md: '300px 1fr' }} gap={4}> <Grid
id='specificversions'
templateColumns={{ base: '1fr', md: '300px 1fr' }}
gap={{ base: 4, lg: 8 }}
>
<GridItem w='auto'> <GridItem w='auto'>
<Box h='100%'> <Box h='100%'>
{/* TODO: replace with animated/video version */} {/* TODO: replace with animated/video version */}

@ -299,7 +299,7 @@ const DownloadsPage: NextPage<Props> = ({ data }) => {
<PageMetadata title={METADATA.DOWNLOADS_TITLE} description={METADATA.DOWNLOADS_DESCRIPTION} /> <PageMetadata title={METADATA.DOWNLOADS_TITLE} description={METADATA.DOWNLOADS_DESCRIPTION} />
<main id='main-content'> <main id='main-content'>
<Stack spacing={4}> <Stack spacing={{ base: 4, lg: 8 }}>
<DownloadsHero <DownloadsHero
currentBuild={LATEST_RELEASES_DATA.releaseName} currentBuild={LATEST_RELEASES_DATA.releaseName}
currentBuildVersion={LATEST_RELEASES_DATA.versionNumber} currentBuildVersion={LATEST_RELEASES_DATA.versionNumber}

@ -32,7 +32,10 @@ const HomePage: NextPage = ({}) => {
<Stack spacing={4}> <Stack spacing={4}>
<HomeHero /> <HomeHero />
<Grid templateColumns={{ base: 'repeat(1, 1fr)', lg: 'repeat(2, 1fr)' }} gap={4}> <Grid
templateColumns={{ base: 'repeat(1, 1fr)', lg: 'repeat(2, 1fr)' }}
gap={{ base: 4, lg: 8 }}
>
<GridItem rowSpan={2}> <GridItem rowSpan={2}>
{/* SECTION: What is Geth */} {/* SECTION: What is Geth */}
<HomeSection <HomeSection

Loading…
Cancel
Save