summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx133
1 files changed, 0 insertions, 133 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
deleted file mode 100644
index 6a2fd8d..0000000
--- a/pages/index.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-import type { NextPage } from 'next'
-import Layout from '../components/layout'
-import {
- VStack,
- HStack,
- Box,
- Heading,
- Link,
- Icon,
- Text,
- Stack,
- Button,
- useColorModeValue
-} from '@chakra-ui/react'
-import {
- AiFillGithub,
- AiFillMediumCircle,
- AiFillTwitterCircle,
- AiOutlineLinkedin
-} from "react-icons/ai";
-import Publications from "../data/publications"
-import { NextSeo } from 'next-seo'
-import generateRssFeed from "../lib/feed"
-import Image from "../lib/next_image"
-
-import MichalPhoto from "../public/images/michal.png"
-
-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>
- </HStack>
-}
-
-const Home: NextPage = () => {
- return (
- <Layout>
- <NextSeo
- title="Michał Sapka - Homepage"
- description="Hello and welcome to my homepage"
- />
- <VStack spacing="24px"align="stretch">
- <Box as="section">
- <Stack width="100%" direction={["column", "column", "row"]}>
- <Box flex="1">
- <Heading variant="main-title">Michał Sapka</Heading>
- <Text variant="main-title">Senior Software Engineer working at Zendesk.</Text>
- </Box>
- <Box textAlign="center">
- <Image
- display="inline-block"
- src={MichalPhoto}
- width="120px"
- height="120px"
- borderRadius="full"
- borderWidth = "3px"
- borderStyle = "solid"
- borderColor = {useColorModeValue("#eee8d5", "#6272a4")}
- />
- </Box>
- </Stack>
- </Box>
-
- <Box as="section">
- <Heading variant="section-title" as="h3">About me</Heading>
- <Text>
- Michał is a self-thought software engineer working at <Link href="https://zendesk.com" isExternal>Zendesk</Link>. Even though he has started his professional programming life relatively late in life, he has been passionate about computers since he was ten. He loves the process of creating software. Even though he consider caring about the product a requisite, the technical side strongly drives him. He takes pride in what and how he do things. He has most extensive experience working with Ruby on Rails and relative databases. Still, he is expanding my knowledge around service-oriented architecture, no-SQL databases, and other languages - currently, he is trying to get the hang of Golang and MongoDB. He is also trying to get familiar with the modern ReactJS ecosystem.
- </Text>
- </Box>
-
- <Box as="section">
- <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">Recent publications</Heading>
- <VStack spacing="1" alignItems="start">
- {Publications.map((value, key) => {
- return <Box key={key}>
- <Link href={value.url} isExternal>{value.title}</Link>
- </Box>
-
- })}
- </VStack>
-
- <Stack width="100%" direction={['column', 'column', 'row', 'row']}>
- <Box flex="1" mt="2" mb="2" textAlign={['left', 'left', 'center', 'center']}>
- <Link href="https://mailchi.mp/85b0caa8a1c1/michalsapkapl" isExternal>
- <Button>Subscribe to my newsletter</Button>
- </Link>
- <Box opacity="0.5">
- <Link href="https://www.sapka.me/rss/feed.xml">
- or subscribe via RSS
- </Link>
- </Box>
- </Box>
- </Stack>
- </Box>
-
- <Box as="section">
- <Heading variant="section-title" as="h3">On the web</Heading>
- <VStack spacing="1" alignItems="start">
- <Box>
- <Link variant="list-link" href="https://github.com/michalsapka" isExternal><Icon as={AiFillGithub}/> Github</Link>
- </Box>
- <Box>
- <Link variant="list-link" href="https://blog.sapka.me" isExternal><Icon as={AiFillMediumCircle}/> Medium</Link>
- </Box>
- </VStack>
- <Box>
- <Link variant="list-link" href="https://twitter.com/michalsapka" isExternal><Icon as={AiFillTwitterCircle}/> Twitter</Link>
- </Box>
- </Box>
- </VStack>
- </Layout>
- )
-}
-
-export const getStaticProps = async (context : any) => {
- await generateRssFeed();
- return { props: {} };
-};
-
-export default Home