diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/_app.tsx | 2 | ||||
-rw-r--r-- | pages/index.tsx | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx index 1c061498..da7cb05a 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,5 +1,5 @@ import { ChakraProvider } from '@chakra-ui/react' -import theme from '../lib/theme.tsx' +import theme from '../lib/theme' import type { AppProps } from 'next/app' import '@fontsource/lato/400.css' diff --git a/pages/index.tsx b/pages/index.tsx index 1212d08b..4477d0b0 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -18,7 +18,12 @@ import { import { AiFillGithub,AiFillMediumCircle} from "react-icons/ai"; import Publications from "../data/publications" -const BioEntry = ({date, description}) => { +type BioEntryType = { + date: string, + description: string +} + +const BioEntry = ({date, description} : BioEntryType) => { return <HStack spacing="6" alignItems="start"> <Box fontWeight='bolder'>{date}</Box> <Box>{description}</Box> |