8000 minor changes and enhancement · codewithdev/codewithdev-vercel@4e9e058 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e9e058

Browse files
committed
minor changes and enhancement
1 parent 5421e74 commit 4e9e058

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"react": "^18.3.1",
4343
"react-dom": "^18.3.1",
4444
"react-icons": "^4.x.x",
45+
"react-type-animation": "^3.2.0",
4546
"sanity": "^3.23.4",
4647
"sanity-plugin-markdown": "^3.0.1",
4748
"sharp": "^0.33.5",

pages/about.tsx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { motion, AnimatePresence, PanInfo } from 'framer-motion';
88
import { useState, useEffect } from 'react';
99
import { BsArrowLeftCircle, BsArrowRightCircle } from 'react-icons/bs';
1010
import { BsStackOverflow } from "react-icons/bs";
11+
import { TypeAnimation } from 'react-type-animation';
1112

1213
import Container from 'components/Container';
1314
import avatar from 'public/headshot-dev.jpg';
@@ -150,7 +151,21 @@ export default function About() {
150151
<BsStackOverflow className='w-4 h-4 text-[#0077b5]'/>
151152
</Link>
152153
</div>
153-
<p>Technical Writer and Open Source Developer</p>
154+
<div className="h-12">
155+
<TypeAnimation
156+
sequence={[
157+
'Technical Writer and Open Source Developer',
158+
1000,
159+
'Community Builder and Tech Speaker',
160+
1000,
161+
'Product Builder Enthusiast and a Teacher',
162+
]}
163+
wrapper="p"
164+
speed={50}
165+
repeat={Infinity}
166+
className="text-lg text-gray-800 dark:text-gray-200"
167+
/>
168+
</div>
154169
<h3 className="mb-1">Work Experience</h3>
155170
<div className="relative h-[500px] md:h-[400px] w-full">
156171
<div className="absolute inset-0 flex items-center justify-between z-10 px-2">

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9352,6 +9352,11 @@ react-style-proptype@^3.2.2:
93529352
dependencies:
93539353
prop-types "^15.5.4"
93549354

9355+
react-type-animation@^3.2.0:
9356+
version "3.2.0"
9357+
resolved "https://registry.yarnpkg.com/react-type-animation/-/react-type-animation-3.2.0.tgz#6863d5d60e3beb237f2bd690cceb585402c47e6a"
9358+
integrity sha512-WXTe0i3rRNKjmggPvT5ntye1QBt0ATGbijeW6V3cQe2W0jaMABXXlPPEdtofnS9tM7wSRHchEvI9SUw+0kUohw==
9359+
93559360
react-use-measure@^2.1.1:
93569361
version "2.1.1"
93579362
resolved "https://registry.npmjs.org/react-use-measure/-/react-use-measure-2.1.1.tgz"

0 commit comments

Comments
 (0)
0