-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Won
committed
Sep 6, 2020
1 parent
34be80c
commit a90b1e2
Showing
6 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,60 @@ | ||
import * as React from 'react'; | ||
import { Box } from '@chakra-ui/core'; | ||
import { Box, Heading, Flex, Image, Text, Divider } from '@chakra-ui/core'; | ||
import Layout from '../components/Layout'; | ||
|
||
export interface IHomeProps {} | ||
|
||
export default function Home(props: IHomeProps) { | ||
return ( | ||
<Layout> | ||
<Box>Home works!</Box> | ||
<Flex | ||
flexDirection="column" | ||
justifyContent="center" | ||
alignItems="center" | ||
padding="1rem" | ||
> | ||
<Flex | ||
flexDirection={{ xs: 'column', sm: 'row' }} | ||
justifyContent="center" | ||
alignItems="center" | ||
> | ||
<Box flex={1}> | ||
<Image | ||
src="/images/profile.jpg" | ||
alt="me" | ||
size="2xs" | ||
borderRadius="2rem" | ||
mx="auto" | ||
></Image> | ||
</Box> | ||
|
||
<Box pt={{ xs: '1rem', md: '0' }} flex={1}> | ||
<Heading | ||
as="h2" | ||
size="md" | ||
mb={4} | ||
textAlign={{ xs: 'center', md: 'left' }} | ||
> | ||
Hello world! | ||
</Heading> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut | ||
tortor pretium viverra suspendisse. Tempus urna et pharetra | ||
pharetra massa. Facilisi cras fermentum odio eu feugiat pretium | ||
nibh ipsum consequat. | ||
</Text> | ||
</Box> | ||
</Flex> | ||
<Divider my="2rem" backgroundColor="gray" width="100%" /> | ||
|
||
<Heading as="h2" size="md" mb={4}> | ||
Contact me? | ||
</Heading> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Eu | ||
tincidunt tortor aliquam nulla facilisi cras. | ||
</Text> | ||
</Flex> | ||
</Layout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ img { | |
max-width: 100%; | ||
display: block; | ||
} | ||
|
||
title { | ||
} |