From 5e579e19e8faee841d5e44ca87e2355c11ed177c Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Wed, 13 Jan 2021 23:13:56 +0100 Subject: [PATCH] Add hero section component --- components/Hero.tsx | 72 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 components/Hero.tsx diff --git a/components/Hero.tsx b/components/Hero.tsx new file mode 100644 index 0000000..4f9c541 --- /dev/null +++ b/components/Hero.tsx @@ -0,0 +1,72 @@ +import { FC } from 'react'; +import styled from 'styled-components'; +import Typing from 'react-typing-animation'; + +const Wrapper = styled.div` + min-height: 45vh; + display: grid; + align-items: center; + height: auto; + + @media (max-width: 768px) { + min-height: 60vh; + } + + h2 { + font-size: 1.5rem; + } + + .small { + font-size: 1rem; + font-weight: normal; + } + + .green { + color: #73d26b; + } + + .orange { + color: #d6a356; + } + + .red { + color: #d75050; + } + + .blue { + color: #1573ca; + display: block; + text-align: right; + width: 100%; + margin-top: 1rem; + + @media (max-width: 768px) { + margin-top: 0.5rem; + } + } +`; + +const Hero: FC = () => { + return ( + + +

Hi.

+

I can Build Stuff.

+

+ Full Stack Developer ✔️check +

+

+ Passionate ✔️check +

+

+ Hard Working ⚠️warning: not always the case +

+

+ Designer 🛑error: need more practise and feedback +

+
+
+ ); +}; + +export default Hero;