mymeta aboutme (#100)

* About Me component

* ...

* fix player about-me section to not be its own file

* About Me component

* Remove empty file

* Remove H1 in About Me

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
This commit is contained in:
Max Jackson
2020-08-26 23:09:14 -04:00
committed by GitHub
parent 6a569429d9
commit 0987ee1960
4 changed files with 25 additions and 7 deletions

View File

@@ -38,4 +38,5 @@ export { MetaHeading } from './MetaHeading';
export { MetaButton } from './MetaButton';
export { MetaBox } from './MetaBox';
export { MetaTag } from './MetaTag';
export { H1, P } from './typography';
export { ResponsiveText } from './ResponsiveText';

View File

@@ -0,0 +1,16 @@
import { Text } from '@chakra-ui/core';
import React from 'react';
export type TextProps = {
children: React.ReactNode;
};
const H1: React.FC<TextProps> = ({ children }) => (
<Text fontFamily="body" fontSize="2xl" fontWeight="bold" mb={4}>
{children}
</Text>
);
const P: React.FC<TextProps> = ({ children }) => <Text>{children}</Text>;
export { H1, P };