Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Components/Home/Hero/Hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ body {
}

.AnimatedText {
background: linear-gradient(90deg, $primary-color, $secondary-color, $tertiary-color, $quaternary-color);
background: linear-gradient(
90deg,
$primary-color,
$secondary-color,
$tertiary-color,
$quaternary-color
);
background-size: 200% 200%;
animation: gradientAnimation 5s ease infinite;
-webkit-background-clip: text;
Expand Down
15 changes: 11 additions & 4 deletions src/Components/Home/Hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,27 @@ const Hero: React.FC = () => {
return (
<div className="HeroContainer">
<div className="LeftContainer">
<h1 className='HeroText'>
<h1 className="HeroText">
Hi, I'm <span className="AnimatedText">Carson</span>
</h1>
<p>
<Typewriter
words={['I like building cool things.', 'Soft dev @ Tail\'ed.', 'ML explorer.', 'Leetcode noob.', 'GitHub fanatic.', '']}
words={[
'I like building cool things.',
"Soft dev @ Tail'ed.",
'ML explorer.',
'Leetcode noob.',
'GitHub fanatic.',
'',
]}
loop={false}
cursor
cursorStyle=''
cursorStyle=""
typeSpeed={100}
deleteSpeed={70}
delaySpeed={500}
/>
</p>
</p>
</div>
<div className="RightContainer">
<img
Expand Down