mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-04 02:23:48 +00:00
chore: update margins on desktop
This commit is contained in:
parent
fe86513064
commit
3dea406d9e
3 changed files with 10 additions and 10 deletions
|
|
@ -2,10 +2,9 @@ import { FC } from 'react';
|
|||
import { Box, Flex, Link, Stack, Text, useColorMode } from '@chakra-ui/react';
|
||||
import NextLink from 'next/link';
|
||||
|
||||
import { Search } from '../UI';
|
||||
import { HeaderButtons, Search } from '../UI';
|
||||
import { MoonIcon, SunIcon } from '../UI/icons';
|
||||
|
||||
import { HeaderButtons } from './';
|
||||
import { MobileMenu } from '../layouts';
|
||||
|
||||
export const Header: FC = () => {
|
||||
|
|
@ -14,7 +13,7 @@ export const Header: FC = () => {
|
|||
|
||||
return (
|
||||
<Flex
|
||||
mb={4}
|
||||
mb={{ base: 4, lg: 8 }}
|
||||
border='2px'
|
||||
borderColor='primary'
|
||||
justifyContent='space-between'
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const hoverStyles = {
|
|||
|
||||
export const Footer: FC = () => {
|
||||
return (
|
||||
<Flex mt={4} direction={{ base: 'column', lg: 'row' }}>
|
||||
<Flex mt={{ base: 4, lg: 8 }} direction={{ base: 'column', lg: 'row' }}>
|
||||
<Flex
|
||||
direction={{ base: 'column', md: 'row' }}
|
||||
justifyContent={{ md: 'space-between' }}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
import { Box, Grid, GridItem, Link, Stack, Text } from '@chakra-ui/react';
|
||||
import type { NextPage } from 'next';
|
||||
|
||||
import { GopherHomeFront } from '../components/UI/svgs';
|
||||
|
||||
import {
|
||||
HomeHero,
|
||||
HomeSection,
|
||||
|
|
@ -11,7 +9,7 @@ import {
|
|||
WhyRunANode
|
||||
} from '../components/UI/homepage';
|
||||
import { PageMetadata } from '../components/UI';
|
||||
import { GopherHomeLinks } from '../components/UI/svgs';
|
||||
import { GopherHomeFront, GopherHomeLinks } from '../components/UI/svgs';
|
||||
|
||||
import {
|
||||
CONTRIBUTING_PAGE,
|
||||
|
|
@ -29,7 +27,7 @@ const HomePage: NextPage = ({}) => {
|
|||
<PageMetadata title={METADATA.HOME_TITLE} description={METADATA.HOME_DESCRIPTION} />
|
||||
|
||||
<main id='main-content'>
|
||||
<Stack spacing={4}>
|
||||
<Stack spacing={{ base: 4, lg: 8 }}>
|
||||
<HomeHero />
|
||||
|
||||
<Grid
|
||||
|
|
@ -109,7 +107,10 @@ const HomePage: NextPage = ({}) => {
|
|||
</GridItem>
|
||||
</Grid>
|
||||
|
||||
<Grid templateColumns={{ base: 'repeat(1, 1fr)', md: 'repeat(2, 1fr)' }} gap={4}>
|
||||
<Grid
|
||||
templateColumns={{ base: 'repeat(1, 1fr)', md: 'repeat(2, 1fr)' }}
|
||||
gap={{ base: 4, lg: 8 }}
|
||||
>
|
||||
<GridItem>
|
||||
{/* SECTION: Contribute to Geth */}
|
||||
<HomeSection
|
||||
|
|
@ -145,7 +146,7 @@ const HomePage: NextPage = ({}) => {
|
|||
</GridItem>
|
||||
</Grid>
|
||||
|
||||
<Grid templateColumns={{ base: '1fr', md: '300px 1fr' }} gap={4}>
|
||||
<Grid templateColumns={{ base: '1fr', md: '300px 1fr' }} gap={{ base: 4, lg: 8 }}>
|
||||
<GridItem w='auto'>
|
||||
<Box h='100%'>
|
||||
{/* TODO: replace with animated/video version */}
|
||||
|
|
|
|||
Loading…
Reference in a new issue