Remove typing animation

This commit is contained in:
Hazem Krimi
2021-08-16 15:42:44 +01:00
parent 07c97a29b5
commit 10aa96a6c9
3 changed files with 14 additions and 230 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
import { FC, useContext } from 'react';
import { DarkModeContext } from '../components/DarkMode';
import styled from 'styled-components';
import Typing from 'react-typing-animation';
const Wrapper = styled.div`
min-height: 45vh;
@@ -51,7 +50,7 @@ const Hero: FC = () => {
return (
<Wrapper>
<Typing speed={15} hideCursor={true} loop={false} className='intro'>
<div className='intro'>
<h2>Hi, I am Hazem</h2>
<h2>I Like Building Things</h2>
<h2 className='green'>
@@ -68,7 +67,7 @@ const Hero: FC = () => {
<h2 className='green'>
Life Long Learner <span className='small'>check</span>
</h2>
</Typing>
</div>
<div className='illustration'>
<img
src={dark ? '/light-illustration.svg' : '/dark-illustration.svg'}