diff --git a/src/web/public/profile.png b/src/web/public/profile.png new file mode 100644 index 0000000..65644b4 Binary files /dev/null and b/src/web/public/profile.png differ diff --git a/src/web/src/components/hero/content.jsx b/src/web/src/components/hero/content.jsx index e318422..292d8dd 100644 --- a/src/web/src/components/hero/content.jsx +++ b/src/web/src/components/hero/content.jsx @@ -1,63 +1,91 @@ "use client" import Typewriter from 'typewriter-effect'; -import React from 'react'; +import { motion } from 'framer-motion'; +import React, { useState, useEffect } from 'react'; +import Image from 'next/image'; +function Portrait() { + const fadeInAnimation = { + hidden: { opacity: 0 }, + visible: { opacity: 1, transition: { duration: 1 } }, + }; + + return ( + + Portrait + + ); +} function Content() { return ( -
-
-
- { - typewriter.typeString("
Hello, I'm
Timothy Pidashev
") - .callFunction(() => { - console.log('Change the background element to a portrait of my face'); - }) - .pauseFor(2500) - .deleteAll() - .callFunction(() => { - console.log('Wipe the background element'); - }) - .start() + <> +
+
+ +
+ { + typewriter.typeString("
Hello, I'm
Timothy Pidashev
") + .callFunction(() => { + console.log('Change the background element to a portrait of my face'); + }) + .pauseFor(2500) + .deleteAll() + .callFunction(() => { + console.log('Wipe the background element'); + }) + .start() - typewriter.typeString("
I'm a 19 year old
on an epic journey to
become a software engineer!
") - .pauseFor(2500) - .deleteAll() - .start() + typewriter.typeString("
I'm a 19 year old
on an epic journey to
become a software engineer!
") + .pauseFor(2500) + .deleteAll() + .start() - typewriter.typeString("
I enjoy
writing code
hiking and camping
driving cars
and much more!
") - .pauseFor(2500) - .deleteAll() - .start() + typewriter.typeString("
I enjoy
writing code
hiking and camping
driving cars
and much more!
") + .pauseFor(2500) + .deleteAll() + .start() - typewriter.typeString("
Fun facts about me:
I keep a journal
I love rust lang!
I use a corebooted thinkpad
") - .pauseFor(2500) - .deleteAll() - .start() + typewriter.typeString("
Fun facts about me:
I keep a journal
I love rust lang!
I use a corebooted thinkpad
") + .pauseFor(2500) + .deleteAll() + .start() - typewriter.typeString("
Wait your still here?
") - .pauseFor(2500) - .deleteAll() - .start() + typewriter.typeString("
Wait your still here?
") + .pauseFor(2500) + .deleteAll() + .start() - typewriter.typeString("
Check out my blog and shop
for many goodies!
or contact me below!
") - .pauseFor(2500) - .deleteAll() - .start() - }} - /> + typewriter.typeString("
Check out my blog and shop
for many goodies!
or contact me below!
") + .pauseFor(2500) + .deleteAll() + .start() + }} + /> +
-
+ ); };