mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
add links for socials
This commit is contained in:
parent
91464f5aba
commit
18e605e646
2 changed files with 18 additions and 3 deletions
|
|
@ -2,7 +2,13 @@ import { Grid, GridItem, Image, Link, Stack, Text } from '@chakra-ui/react';
|
||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
import NextLink from 'next/link';
|
import NextLink from 'next/link';
|
||||||
|
|
||||||
import { DOCS_PAGE, DOWNLOADS_PAGE, GETH_TWITTER_URL } from '../../constants'
|
import {
|
||||||
|
DOCS_PAGE,
|
||||||
|
DOWNLOADS_PAGE,
|
||||||
|
GETH_DISCORD_URL,
|
||||||
|
GETH_REPO_URL,
|
||||||
|
GETH_TWITTER_URL
|
||||||
|
} from '../../constants'
|
||||||
|
|
||||||
export const Footer: FC = () => {
|
export const Footer: FC = () => {
|
||||||
return (
|
return (
|
||||||
|
|
@ -65,7 +71,11 @@ export const Footer: FC = () => {
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Stack alignItems='center' p={4}>
|
<Stack alignItems='center' p={4}>
|
||||||
<Image src="/images/pages/discord.svg" alt="Discord logo" />
|
<NextLink href={GETH_DISCORD_URL} passHref>
|
||||||
|
<Link isExternal>
|
||||||
|
<Image src="/images/pages/discord.svg" alt="Discord logo" />
|
||||||
|
</Link>
|
||||||
|
</NextLink>
|
||||||
</Stack>
|
</Stack>
|
||||||
</GridItem>
|
</GridItem>
|
||||||
|
|
||||||
|
|
@ -75,7 +85,11 @@ export const Footer: FC = () => {
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Stack alignItems='center' p={4}>
|
<Stack alignItems='center' p={4}>
|
||||||
<Image src="/images/pages/github.svg" alt="GitHub logo" />
|
<NextLink href={GETH_REPO_URL} passHref>
|
||||||
|
<Link isExternal>
|
||||||
|
<Image src="/images/pages/github.svg" alt="GitHub logo" />
|
||||||
|
</Link>
|
||||||
|
</NextLink>
|
||||||
</Stack>
|
</Stack>
|
||||||
</GridItem>
|
</GridItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,5 @@ export const ETHEREUM_ORG_RUN_A_NODE_URL = 'https://ethereum.org/en/run-a-node/'
|
||||||
export const ETHEREUM_FOUNDATION_URL = 'https://ethereum.foundation';
|
export const ETHEREUM_FOUNDATION_URL = 'https://ethereum.foundation';
|
||||||
export const GETH_REPO_URL = 'https://github.com/ethereum/go-ethereum';
|
export const GETH_REPO_URL = 'https://github.com/ethereum/go-ethereum';
|
||||||
export const GETH_TWITTER_URL = 'https://twitter.com/go_ethereum';
|
export const GETH_TWITTER_URL = 'https://twitter.com/go_ethereum';
|
||||||
|
export const GETH_DISCORD_URL = 'https://discord.com/invite/nthXNEv';
|
||||||
export const GO_URL = 'https://go.dev/';
|
export const GO_URL = 'https://go.dev/';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue