Fixed file names and structure. Fixed module imports. Installed iconify.

This commit is contained in:
Lucid Kobold
2021-11-25 18:36:38 -06:00
parent 3f244d0f96
commit b2fc727deb
4 changed files with 6 additions and 12 deletions

View File

@@ -1,17 +1,11 @@
import React from "react";
import { Box, Heading } from "@chakra-ui/react";
import Calender from "../component/calender";
import { Box } from "@chakra-ui/react";
import Calender from "../components/calender/Calender";
const IndexPage = (): JSX.Element => {
return (
<Box textAlign="center" w="100%" h="auto" pt="50px" pb="10vh">
{Calender ? (
<Calender />
) : (
<Heading as="h1" size="2xl">
Hello World
</Heading>
)}
<Calender />
</Box>
);
};