From 520d48f11955d615dfa584bff18d0349d8850883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Quiroz?= Date: Tue, 29 Nov 2022 15:47:58 -0300 Subject: [PATCH] chore: update SpecificVersionsSection component layout to match homepage (#64) * chore: update SpecificVersionsSection component layout to match homepage * chore: remove non-required repeat function --- .../UI/downloads/SpecificVersionsSection.tsx | 56 ++++++++++--------- src/pages/index.tsx | 2 +- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/src/components/UI/downloads/SpecificVersionsSection.tsx b/src/components/UI/downloads/SpecificVersionsSection.tsx index 2909379d63..aa619529bb 100644 --- a/src/components/UI/downloads/SpecificVersionsSection.tsx +++ b/src/components/UI/downloads/SpecificVersionsSection.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, Image, Stack } from '@chakra-ui/react'; +import { Box, Flex, Grid, GridItem, Image, Stack } from '@chakra-ui/react'; import { FC } from 'react'; import { GopherHomeLinks } from '../svgs'; @@ -8,31 +8,33 @@ interface Props { export const SpecificVersionsSection: FC = ({ children }) => { return ( - - - - - - - - Specific Versions - - - {children} - - + + + + {/* TODO: replace with animated/video version */} + + + + + + + + + + + Specific Versions + + + {children} + + + ); }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1ca4bb54fd..d49a3bb476 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -142,7 +142,7 @@ const HomePage: NextPage = ({}) => { - + {/* TODO: replace with animated/video version */}