diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/_app.tsx | 2 | ||||
-rw-r--r-- | pages/index.tsx | 63 |
2 files changed, 53 insertions, 12 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx index 3dcf9aa3..1c061498 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,7 +1,7 @@ import { ChakraProvider } from '@chakra-ui/react' import theme from '../lib/theme.tsx' import type { AppProps } from 'next/app' - +import '@fontsource/lato/400.css' function MyApp({ Component, pageProps }: AppProps) { return ( diff --git a/pages/index.tsx b/pages/index.tsx index 03fc2b8d..79daa9a8 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -3,34 +3,75 @@ import Head from 'next/head' import Image from 'next/image' import Layout from '../components/layout' import styles from '../styles/Home.module.css' -import { VStack, Box, Heading, Link, Icon } from '@chakra-ui/react' +import { + VStack, + HStack, + Box, + Heading, + Link, + Icon, + Text, + Image as CImage, + Stack + +} from '@chakra-ui/react' import { AiFillGithub,AiFillMediumCircle} from "react-icons/ai"; +const BioEntry = ({date, description}) => { + return <HStack spacing="6" alignItems="start"> + <Box fontWeight='bolder'>{date}</Box> + <Box>{description}</Box> + </HStack> +} + const Home: NextPage = () => { return ( <Layout> <VStack spacing="24px"align="stretch"> - <Box as="section"> - <Heading>Michal Sapka</Heading> - Self-though senior software engineer from Poland. - </Box> + <Box as="section"> + <Stack width="100%" direction={["column", "column", "row"]}> + <Box flex="1"> + <Heading variant="main-title">Michal Sapka</Heading> + <Text variant="main-title">Self-though senior software engineer from Poland.</Text> + </Box> + <Box textAlign="center"> + <CImage + display="inline-block" + src="images/michal.png" + width="80px" + borderRadius="full" + /> + </Box> + </Stack> + </Box> <Box as="section"> - <Heading as="h3">About me</Heading> - I am a self-thoght software engineer working with at <Link href="https://zendesk.com">Zendesk</Link>. Even though I've sterted my professional programig life relatively late in life, I've been passionate with computers since being 10 years old. I love the process of creating software. Even though understanding the product is a requisite, I am strongly driven by the technical side. I take pride at what and how I do things. I have biggest experience working with Ruby on Rails and relative datababases, but I am expanding my knowlege around service oriented architecture, no-sql databases and other languages - currently I am trying to get a hang of Golang, MongoDB. I am also trying to get familiar with modern ReactJS ecosystem. + <Heading variant="section-title" as="h3">About me</Heading> + <Text> + I am a self-thoght software engineer working with at <Link href="https://zendesk.com">Zendesk</Link>. Even though I've sterted my professional programig life relatively late in life, I've been passionate with computers since being 10 years old. I love the process of creating software. Even though understanding the product is a requisite, I am strongly driven by the technical side. I take pride at what and how I do things. I have biggest experience working with Ruby on Rails and relative datababases, but I am expanding my knowlege around service oriented architecture, no-sql databases and other languages - currently I am trying to get a hang of Golang, MongoDB. I am also trying to get familiar with modern ReactJS ecosystem. + </Text> </Box> <Box as="section"> - <Heading as="h3">I enjoy</Heading> - Non-action movies, anime and manga, classic PC games (with huge love for adventure ganre), literature, jazz. + <Heading variant="section-title" as="h3">Bio</Heading> + <BioEntry date="1985" description="Born"/> + <BioEntry date="2009" description="Gratuated The Silesian University of Technology with M.Eng. title in Automation and Robotics"/> + <BioEntry date="2016" description="Joined Zendesk"/> + + </Box> + <Box as="section"> + <Heading variant="section-title" as="h3">I enjoy</Heading> + <Text> +Non-action movies, anime and manga, classic PC games (with huge love for adventure ganre), literature, jazz. + </Text> </Box> <Box as="section"> - <Heading as="h3">Recent publications</Heading> + <Heading variant="section-title" as="h3">Recent publications</Heading> ... </Box> <Box as="section"> - <Heading as="h3">On the web</Heading> + <Heading variant="section-title" as="h3">On the web</Heading> <Link href="https://github.com/michalsapka" isExternal><Icon as={AiFillGithub}/> Github</Link> <Link href="https://medium.com/@msapka" isExternal><Icon as={AiFillMediumCircle}/> Medium</Link> </Box> |