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
5 changes: 1 addition & 4 deletions src/routes/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ function Home(): JSX.Element {
</span>
<span className={styles.webDeveloperOverlay} data-nosnippet>
<span className={styles.cursor}>|</span>
<span className={styles.overlay}>
<span>Web Developer&nbsp;</span>
<i className="fas fa-laptop-code" />
</span>
<span className={styles.overlay} />
</span>
</span>
</h2>
Expand Down
36 changes: 7 additions & 29 deletions src/routes/Home/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ $animationDelay: 1s;
opacity: 1;
color: white;
background-color: white;
// animation: toggle 5s linear 4s infinite normal;
animation: toggle 5s linear $animationDelay infinite normal;
animation: toggle 8s linear $animationDelay infinite normal;
left: 100%;
will-change: transform;

.cursor {
position: relative;
Expand All @@ -66,29 +66,13 @@ $animationDelay: 1s;
}

.overlay {
display: flex;
width: 212px;
width: 210px;
}
}
}
}

.pointsWrapper {
// ul {
// li {
// transform: translateX(200%);
// animation: slide-from-right 2s linear 1s 1 forwards;
// }

// li:first-child {
// animation-delay: 0s;
// }

// li:last-child {
// animation-delay: 2s;
// }
// }

blockquote {
color: #000;
text-shadow: 1px 1px 2px gold;
Expand Down Expand Up @@ -151,15 +135,15 @@ $animationDelay: 1s;

@keyframes toggle {
0%,
10%,
90%,
15%,
85%,
100% {
left: 100%;
transform: translateX(0%)
}

33%,
67% {
left: 0%;
transform: translateX(calc(-100% + 7.5px))
}
}

Expand All @@ -169,12 +153,6 @@ $animationDelay: 1s;
}
}

// @keyframes slide-from-right {
// to {
// transform: translateX(0%);
// }
// }

@keyframes glowing {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px gold, 0 0 40px gold,
Expand Down
Loading