mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* page placeholder * block info snippet * add actions for calendar buttons * add timer * add redirect when timer runs out * add redirect from not found block page * block countdown index page * link to countdown index page * add link to search suggest * add URL to an event * add link to block countdown on mobile * tests * add countdown text to search result page * update margins * show block countdown when search results are not empty
18 lines
379 B
TypeScript
18 lines
379 B
TypeScript
import { Box, chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
interface Props {
|
|
className?: string;
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
const Content = ({ children, className }: Props) => {
|
|
return (
|
|
<Box pt={{ base: 0, lg: 6 }} as="main" flexGrow={ 1 } className={ className }>
|
|
{ children }
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default React.memo(chakra(Content));
|