Files
tom goriunovandGitHub a2eee9354a Block Countdown page (#2091)
* 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
2024-07-18 08:56:28 +02:00

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));