feat: add personal photo to valitovgaziz hero section

This commit is contained in:
valitovgaziz
2026-06-10 11:24:19 +05:00
parent e8a655d54c
commit 075f29cde1
2 changed files with 7 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

+7 -3
View File
@@ -27,9 +27,7 @@
</div> </div>
<div class="hero-image"> <div class="hero-image">
<div class="hero-photo"> <div class="hero-photo">
<div class="photo-placeholder"> <img src="/src/assets/photo.jpg" alt="Valitov Gaziz" class="photo-img" />
<svg width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -417,6 +415,12 @@ export default {
background: var(--bg-secondary); background: var(--bg-secondary);
} }
.photo-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.photo-placeholder { .photo-placeholder {
color: var(--text-secondary); color: var(--text-secondary);
opacity: 0.4; opacity: 0.4;