fix: align footer to bottom (#7)
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
RustamRu 2024-11-10 12:34:01 +03:00
parent 10854c836b
commit d2b74a1467

View File

@ -1,5 +1,5 @@
import React, { FC } from 'react';
import { Box, Container, VStack } from '@chakra-ui/react';
import { Container, VStack } from '@chakra-ui/react';
import {
BenefitsSection,
Footer,
@ -19,14 +19,12 @@ const Page: FC = () => {
bg='white'
centerContent
>
<VStack w='full' h='full' alignItems='stretch'>
<VStack w='full' h='full' alignItems='stretch' flexGrow={1}>
<HeroSection flexShrink={0} />
<Box flexGrow={1}>
<VStack as='main'>
<VStack as='main' flexGrow={1}>
<BenefitsSection />
<SocialProofSection />
</VStack>
</Box>
<Footer />
</VStack>
</Container>