This commit is contained in:
Morten Olsen
2021-08-25 22:48:59 +02:00
commit 175bdd17e7
15 changed files with 2469 additions and 0 deletions

32
components/Me.tsx Normal file
View File

@@ -0,0 +1,32 @@
import React from 'react';
import styled from 'styled-components';
const Wrapper = styled.div`
display: flex;
display-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
`;
const Image = styled.div<{ src: string }>`
border: 30px #efefef solid;
width: 360px;
border-radius: 50%;
background: url('${({ src }) => src}');
background-size: cover;
`;
const Spacer = styled.div`
padding-bottom: 100%;
`;
const Me: React.FC<{}> = () => (
<Wrapper>
<Image src="/images/me.jpg">
<Spacer />
</Image>
</Wrapper>
);
export default Me;