From 91464f5aba7f94d7aee3513b8d9e923545d04287 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Sun, 9 Oct 2022 14:13:04 -0600 Subject: [PATCH] setup main structure --- public/images/pages/discord.svg | 3 + public/images/pages/github.svg | 3 + public/images/pages/twitter.svg | 3 + src/components/layouts/Footer.tsx | 88 +++++++++++++++++++++++++++++ src/components/layouts/Layout.tsx | 4 ++ src/constants.ts | 1 + src/theme/foundations/textStyles.ts | 6 ++ 7 files changed, 108 insertions(+) create mode 100644 public/images/pages/discord.svg create mode 100644 public/images/pages/github.svg create mode 100644 public/images/pages/twitter.svg create mode 100644 src/components/layouts/Footer.tsx 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} + +