diff --git a/public/images/pages/gopher-downloads-front-light.svg b/public/images/pages/gopher-downloads-front-light.svg deleted file mode 100644 index 41c2984306..0000000000 --- a/public/images/pages/gopher-downloads-front-light.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/images/pages/gopher-home-side-desktop.svg b/public/images/pages/gopher-home-side-desktop.svg deleted file mode 100644 index e823d8927b..0000000000 --- a/public/images/pages/gopher-home-side-desktop.svg +++ /dev/null @@ -1,417 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/images/pages/linux-penguin.svg b/public/images/pages/linux-penguin.svg deleted file mode 100644 index f66b859b43..0000000000 --- a/public/images/pages/linux-penguin.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/images/pages/macos-logo.svg b/public/images/pages/macos-logo.svg deleted file mode 100644 index 6c6180ff5e..0000000000 --- a/public/images/pages/macos-logo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/images/pages/source-branch.svg b/public/images/pages/source-branch.svg deleted file mode 100644 index 0ae94f6e20..0000000000 --- a/public/images/pages/source-branch.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/images/pages/windows-logo.svg b/public/images/pages/windows-logo.svg deleted file mode 100644 index 13729fe7ff..0000000000 --- a/public/images/pages/windows-logo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/UI/downloads/DownloadsHero.tsx b/src/components/UI/downloads/DownloadsHero.tsx index 15e71a9571..487dea11c1 100644 --- a/src/components/UI/downloads/DownloadsHero.tsx +++ b/src/components/UI/downloads/DownloadsHero.tsx @@ -1,7 +1,9 @@ -import { Box, Button, Image, Link, Stack, HStack, Text } from '@chakra-ui/react'; +import { Box, Button, Link, Stack, HStack, Text } from '@chakra-ui/react'; import { FC } from 'react'; import NextLink from 'next/link'; +import { GopherDownloads } from '../svgs' + import { DOWNLOAD_HEADER_BUTTONS } from '../../../constants'; interface DownloadsHero { @@ -31,7 +33,7 @@ export const DownloadsHero: FC = ({ return ( - Gopher plugged in + @@ -56,19 +58,17 @@ export const DownloadsHero: FC = ({ {Object.keys(DOWNLOAD_HEADER_BUTTONS).map((key: string) => { + const { name, buildURL, Svg, ariaLabel } = DOWNLOAD_HEADER_BUTTONS[key]; return ( - +