summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Sapka <michal@sapka.me>2022-09-11 10:05:38 +0200
committerMichal Sapka <michal@sapka.me>2022-09-11 10:05:38 +0200
commit2ec9abeb599c47633efd502d92be93385d07d1f1 (patch)
treeb806282cf5305f839e70c8339b5c92bd96aea125
parent0d30b9573ba35ad24d78b92743ad0dda8a19b7af (diff)
feat: resize main photo
-rw-r--r--pages/index.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 5f94b775..ed011af2 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -8,7 +8,6 @@ import {
Link,
Icon,
Text,
- Image as CImage,
Stack,
Button,
useColorModeValue
@@ -17,6 +16,9 @@ import { AiFillGithub,AiFillMediumCircle} 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,
@@ -45,10 +47,11 @@ const Home: NextPage = () => {
<Text variant="main-title">Senior Software Engineer working at Zendesk.</Text>
</Box>
<Box textAlign="center">
- <CImage
+ <Image
display="inline-block"
- src="images/michal.png"
+ src={MichalPhoto}
width="120px"
+ height="120px"
borderRadius="full"
borderWidth = "3px"
borderStyle = "solid"