chore: more UI fixes
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
import { useState, useEffect } from 'react';
|
||||||
|
|
||||||
|
const names = ['👨🏿💼 Jesse Egbosionu', '👨🏿💻 jesseinit', '😎 jessewithit'];
|
||||||
|
|
||||||
|
export default function AnimatedName() {
|
||||||
|
const [currentIndex, setCurrentIndex] = useState(0);
|
||||||
|
const [isAnimating, setIsAnimating] = useState(false);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const interval = setInterval(() => {
|
||||||
|
setIsAnimating(true);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
setCurrentIndex((prevIndex) => (prevIndex + 1) % names.length);
|
||||||
|
setIsAnimating(false);
|
||||||
|
}, 500); // Half of animation duration for smooth transition
|
||||||
|
}, 3000); // Change name every 3 seconds
|
||||||
|
|
||||||
|
return () => clearInterval(interval);
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<span className="animated-name-wrapper">
|
||||||
|
<span className={`highlight animated-name ${isAnimating ? 'fade-out' : 'fade-in'}`}>
|
||||||
|
{names[currentIndex]}
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
}
|
||||||
+37
-33
@@ -1,48 +1,52 @@
|
|||||||
import Layout from '../components/Layout';
|
import Layout from '../components/Layout';
|
||||||
import SocialLinks from '../components/SocialLinks';
|
import SocialLinks from '../components/SocialLinks';
|
||||||
|
import AnimatedName from '../components/AnimatedName';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<Layout showNavLinks={false}>
|
<Layout showNavLinks={false}>
|
||||||
<section className="hero">
|
<section className="hero">
|
||||||
<div className="hero-content">
|
<h1 className="hero-title">
|
||||||
<h1 className="hero-title">
|
Hey, I'm <AnimatedName />
|
||||||
Hey, I'm <span className="highlight">Jesse Egbosionu</span>
|
</h1>
|
||||||
</h1>
|
<div className="hero-main">
|
||||||
|
<div className="hero-content">
|
||||||
|
|
||||||
<p className="hero-subtitle">
|
<p className="hero-subtitle">
|
||||||
Software Engineer crafting scalable backend systems in Amsterdam
|
A software engineer architecting scalable backend systems in Amsterdam
|
||||||
</p>
|
|
||||||
|
|
||||||
<div className="hero-description">
|
|
||||||
<p>
|
|
||||||
I build and scale software backends with a focus on creating impact through
|
|
||||||
teamwork and continuous learning. My passion lies in solving complex problems
|
|
||||||
and delivering solutions that enrich people's lives.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<div className="hero-description">
|
||||||
Over the past 6 years, I've shipped products across <strong>finance</strong>, <strong>ecommerce</strong>,
|
<p>
|
||||||
and <strong>logistics</strong>, working with technologies like Python (Django, FastAPI),
|
I build and scale software backends with a focus on creating impact through
|
||||||
JavaScript (React, Node.js), PostgreSQL, Docker, Redis, and Kubernetes.
|
teamwork and continuous learning. My passion lies in solving complex problems
|
||||||
</p>
|
and delivering solutions that enrich people's lives.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Over the past 6 years, I've shipped products across <strong>finance</strong>, <strong>ecommerce</strong>,
|
||||||
|
and <strong>logistics</strong>, working with technologies like Python (Django, FastAPI),
|
||||||
|
JavaScript (React, Node.js), PostgreSQL, Docker, Redis, and Kubernetes.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<SocialLinks />
|
||||||
|
|
||||||
|
<a href="mailto:me@jesseinit.dev" className="primary-cta">
|
||||||
|
<span>Let's work together</span>
|
||||||
|
<span className="arrow">→</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<SocialLinks />
|
<div className="hero-image-wrapper">
|
||||||
|
<div className="image-backdrop"></div>
|
||||||
<a href="mailto:me@jesseinit.dev" className="primary-cta">
|
<img
|
||||||
<span>Let's work together</span>
|
src="hero.jpg"
|
||||||
<span className="arrow">→</span>
|
alt="Jesse Egbosionu"
|
||||||
</a>
|
className="hero-image"
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
<div className="hero-image-wrapper">
|
|
||||||
<div className="image-backdrop"></div>
|
|
||||||
<img
|
|
||||||
src="hero.jpg"
|
|
||||||
alt="Jesse Egbosionu"
|
|
||||||
className="hero-image"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|||||||
+78
-26
@@ -105,7 +105,6 @@ strong {
|
|||||||
background: var(--color-accent);
|
background: var(--color-accent);
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
padding: 0.25rem 0.75rem;
|
padding: 0.25rem 0.75rem;
|
||||||
border: 1px solid var(--color-primary);
|
|
||||||
border-radius: var(--radius-sm);
|
border-radius: var(--radius-sm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -150,32 +149,80 @@ strong {
|
|||||||
|
|
||||||
// HERO SECTION
|
// HERO SECTION
|
||||||
.hero {
|
.hero {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: 1fr;
|
flex-direction: column;
|
||||||
gap: var(--spacing-2xl);
|
gap: var(--spacing-2xl);
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-main {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--spacing-2xl);
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.hero-content {
|
.hero-content {
|
||||||
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--spacing-lg);
|
gap: var(--spacing-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-title {
|
.hero-title {
|
||||||
font-size: clamp(2rem, 5vw, 3.5rem);
|
font-size: clamp(1.75rem, 5vw, 3.5rem);
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
animation: fadeInUp 0.6s ease forwards;
|
animation: fadeInUp 0.6s ease forwards;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: baseline;
|
||||||
|
gap: 0.5rem;
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
font-size: clamp(1.5rem, 6vw, 2rem);
|
||||||
|
gap: 0.35rem;
|
||||||
|
}
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
background: var(--color-accent);
|
background: var(--color-accent);
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
border-bottom: 2px solid var(--color-primary);
|
border-bottom: 2px solid var(--color-primary);
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
padding: 0 0.35rem;
|
||||||
|
border-bottom: 1px solid var(--color-primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated-name-wrapper {
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 0;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated-name {
|
||||||
|
display: inline-block;
|
||||||
|
transition: opacity 0.5s ease-in-out;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
font-size: 0.95em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.fade-out {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.fade-in {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -333,13 +380,19 @@ strong {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes heartbeat {
|
@keyframes heartbeat {
|
||||||
0%, 100% {
|
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
10%, 30% {
|
|
||||||
|
10%,
|
||||||
|
30% {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
20%, 40% {
|
|
||||||
|
20%,
|
||||||
|
40% {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -547,10 +600,13 @@ strong {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes badgePulse {
|
@keyframes badgePulse {
|
||||||
0%, 100% {
|
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
@@ -561,6 +617,7 @@ strong {
|
|||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
@@ -625,12 +682,10 @@ strong {
|
|||||||
.skeleton-header,
|
.skeleton-header,
|
||||||
.skeleton-rate,
|
.skeleton-rate,
|
||||||
.skeleton-badge {
|
.skeleton-badge {
|
||||||
background: linear-gradient(
|
background: linear-gradient(90deg,
|
||||||
90deg,
|
var(--color-surface) 0%,
|
||||||
var(--color-surface) 0%,
|
var(--color-border) 50%,
|
||||||
var(--color-border) 50%,
|
var(--color-surface) 100%);
|
||||||
var(--color-surface) 100%
|
|
||||||
);
|
|
||||||
background-size: 200% 100%;
|
background-size: 200% 100%;
|
||||||
animation: shimmer 1.5s ease-in-out infinite;
|
animation: shimmer 1.5s ease-in-out infinite;
|
||||||
border-radius: var(--radius-sm);
|
border-radius: var(--radius-sm);
|
||||||
@@ -657,6 +712,7 @@ strong {
|
|||||||
0% {
|
0% {
|
||||||
background-position: -200% 0;
|
background-position: -200% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
background-position: 200% 0;
|
background-position: 200% 0;
|
||||||
}
|
}
|
||||||
@@ -725,16 +781,16 @@ strong {
|
|||||||
padding: 0 var(--spacing-xl);
|
padding: 0 var(--spacing-xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero-main {
|
||||||
grid-template-columns: 1.2fr 1fr;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-content {
|
.hero-content {
|
||||||
order: 1;
|
flex: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-image-wrapper {
|
.hero-image-wrapper {
|
||||||
order: 2;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rates-header {
|
.rates-header {
|
||||||
@@ -758,16 +814,12 @@ strong {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero-main {
|
||||||
grid-template-columns: 1fr;
|
flex-direction: column-reverse;
|
||||||
}
|
|
||||||
|
|
||||||
.hero-content {
|
|
||||||
order: 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-image-wrapper {
|
.hero-image-wrapper {
|
||||||
order: 1;
|
width: 100%;
|
||||||
margin-bottom: var(--spacing-lg);
|
margin-bottom: var(--spacing-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user