using a simplegrid created a resebalence of a calender.
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
import React from "react";
|
||||
import { Box, Heading } from "@chakra-ui/react";
|
||||
import Calender from "../component/calender";
|
||||
|
||||
const IndexPage = (): JSX.Element => {
|
||||
return (
|
||||
<Box textAlign="center" w="100%" h="auto" py="10vh">
|
||||
<Heading as="h1" size="2xl">
|
||||
Hello World
|
||||
</Heading>
|
||||
<Box textAlign="center" w="100%" h="auto" pt="50px" pb="10vh">
|
||||
{Calender ? (
|
||||
<Calender />
|
||||
) : (
|
||||
<Heading as="h1" size="2xl">
|
||||
Hello World
|
||||
</Heading>
|
||||
)}
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user