feat: hero photo background, Open to Work badge, contact section, resume download

This commit is contained in:
dong.nguyen committed 2026-10-06 15:49:10 +07:00
1 parent d827bf9b23
commit 531c70e13a
10 files changed
+304 -96

No files matched your search

+60 -10
View File
@@ -400,26 +400,60 @@
}
.hero-visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.hero-graphic {
.hero-photo {
width: 100%;
max-width: 400px;
aspect-ratio: 1;
position: relative;
height: 100%;
object-fit: cover;
object-position: center top;
border-radius: 16px;
display: block;
}
.otw-badge {
position: absolute;
bottom: 20px;
right: 20px;
background: var(--accent);
color: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
gap: 6px;
max-width: 200px;
}
.otw-icon {
width: 16px;
height: 16px;
margin-bottom: 2px;
}
.otw-title {
font-size: 18px;
font-weight: 700;
line-height: 1.2;
}
.otw-subtitle {
font-size: 14px;
opacity: 0.9;
line-height: 1.3;
}
@media (max-width: 768px) {
.hero {
grid-template-columns: 1fr;
gap: 32px;
min-height: auto;
padding: 48px 0;
position: relative;
min-height: 500px;
overflow: hidden;
}
.hero-cta {
flex-direction: column;
}
@@ -429,7 +463,23 @@
}
.hero-visual {
display: none;
position: absolute;
inset: 0;
z-index: 0;
}
.hero-content {
position: relative;
z-index: 1;
background: rgba(0, 0, 0, 0.55);
padding: 32px 24px;
border-radius: 16px;
backdrop-filter: blur(4px);
}
.otw-badge {
bottom: 16px;
right: 16px;
padding: 16px;
}
}