Redesign homepage

This commit is contained in:
Kamran Ahmed
2021-11-22 16:49:32 +01:00
parent 6c8b899a35
commit 844a38e739
10 changed files with 56 additions and 24 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react';
import { Box } from '@chakra-ui/react';
type PageWrapperProps = {
children: React.ReactNode;
}
export function PageWrapper(props: PageWrapperProps) {
const { children } = props;
return (
<Box bgColor='brand.hero' bgImage='url(/bg.png)' bgRepeat='no-repeat' bgSize='100%' w='100%' minH='100vh'>
{ children }
</Box>
);
}