diff --git a/public/images/pages/discord.svg b/public/images/pages/discord.svg new file mode 100644 index 0000000000..245d1aac5b --- /dev/null +++ b/public/images/pages/discord.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/pages/github.svg b/public/images/pages/github.svg new file mode 100644 index 0000000000..50016b1433 --- /dev/null +++ b/public/images/pages/github.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/pages/twitter.svg b/public/images/pages/twitter.svg new file mode 100644 index 0000000000..6c2c74bef7 --- /dev/null +++ b/public/images/pages/twitter.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx new file mode 100644 index 0000000000..fe5f159160 --- /dev/null +++ b/src/components/layouts/Footer.tsx @@ -0,0 +1,88 @@ +import { Grid, GridItem, Image, Link, Stack, Text } from '@chakra-ui/react'; +import { FC } from 'react'; +import NextLink from 'next/link'; + +import { DOCS_PAGE, DOWNLOADS_PAGE, GETH_TWITTER_URL } from '../../constants' + +export const Footer: FC = () => { + return ( + + + + + + + DOWNLOADS + + + + + + + + + DOCUMENTATION + + + + + + + + + + + Twitter logo + + + + + + + + Discord logo + + + + + + GitHub logo + + + + + + © 2013–2022. The go-ethereum Authors. + + + ) +} \ No newline at end of file diff --git a/src/components/layouts/Layout.tsx b/src/components/layouts/Layout.tsx index c78ec5a3ab..fb992469ef 100644 --- a/src/components/layouts/Layout.tsx +++ b/src/components/layouts/Layout.tsx @@ -1,6 +1,8 @@ import { Container } from '@chakra-ui/react'; import { FC } from 'react'; +import { Footer } from './Footer' + interface Props { children?: React.ReactNode; } @@ -10,6 +12,8 @@ export const Layout: FC = ({ children }) => { return ( {children} + +