computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
371 B
17 lines
371 B
3 years ago
|
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>
|
||
|
);
|
||
|
}
|