Skip to content

Commit f6c4c69

Browse files
Add personalized avatar and favicon design
- Create custom SVG avatar with developer theme (glasses, laptop, blue shirt) - Add avatar to header logo and sidebar about widget - Include larger avatar in about page hero section - Create matching SVG favicon with same design elements - Add web app manifest for PWA support - Implement hover effects and responsive sizing for avatars - Use consistent branding colors (#667eea theme) - Enhance visual identity across the entire site
1 parent f3ccd71 commit f6c4c69

File tree

8 files changed

+128
-2
lines changed

8 files changed

+128
-2
lines changed

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="container">
44
<div class="navbar-brand">
55
<a href="{{ '/' | relative_url }}" class="site-logo">
6-
<i class="fas fa-code"></i>
6+
<img src="{{ '/assets/images/avatar.svg' | relative_url }}" alt="Kevin Park" class="logo-avatar">
77
<span>{{ site.title }}</span>
88
</a>
99
</div>

_layouts/default.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
{% seo %}
1111

1212
<!-- Favicon -->
13-
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
13+
<link rel="icon" type="image/svg+xml" href="/assets/images/favicon.svg">
14+
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
15+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png">
16+
<link rel="manifest" href="/assets/images/site.webmanifest">
1417

1518
<!-- Fonts -->
1619
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">

about.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ subtitle: 개발자 Kevin Park에 대해 알아보세요
55
permalink: /about/
66
---
77

8+
<div class="about-hero">
9+
<img src="/assets/images/avatar.svg" alt="Kevin Park" class="about-avatar-large">
10+
</div>
11+
812
안녕하세요! 저는 **Kevin Park**입니다. 실무에서 쌓은 개발 경험과 새로 배운 기술들을 이 블로그를 통해 공유하고 있습니다.
913

1014
## 🚀 개발 여정

assets/css/main.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,21 @@ a:hover {
206206
text-decoration: none;
207207
}
208208

209+
.logo-avatar {
210+
width: 40px;
211+
height: 40px;
212+
border-radius: 50%;
213+
border: 2px solid var(--primary-color);
214+
transition: var(--transition);
215+
background: var(--background);
216+
padding: 2px;
217+
}
218+
219+
.logo-avatar:hover {
220+
transform: scale(1.1);
221+
box-shadow: 0 4px 15px var(--shadow);
222+
}
223+
209224
.navbar-menu {
210225
display: flex;
211226
align-items: center;
@@ -367,6 +382,28 @@ a:hover {
367382
margin: 0 auto;
368383
}
369384

385+
/* About Page Hero */
386+
.about-hero {
387+
text-align: center;
388+
margin-bottom: var(--spacing-2xl);
389+
}
390+
391+
.about-avatar-large {
392+
width: 120px;
393+
height: 120px;
394+
border-radius: 50%;
395+
border: 4px solid var(--primary-color);
396+
background: var(--background);
397+
padding: 4px;
398+
transition: var(--transition);
399+
box-shadow: 0 8px 25px var(--shadow);
400+
}
401+
402+
.about-avatar-large:hover {
403+
transform: scale(1.05);
404+
box-shadow: 0 12px 35px var(--shadow);
405+
}
406+
370407
/* Post Meta */
371408
.post-meta {
372409
display: flex;
@@ -719,6 +756,26 @@ a:hover {
719756
}
720757

721758
/* About Widget */
759+
.about-avatar {
760+
text-align: center;
761+
margin-bottom: var(--spacing-md);
762+
}
763+
764+
.avatar-image {
765+
width: 80px;
766+
height: 80px;
767+
border-radius: 50%;
768+
border: 3px solid var(--primary-color);
769+
transition: var(--transition);
770+
background: var(--background);
771+
padding: 3px;
772+
}
773+
774+
.avatar-image:hover {
775+
transform: scale(1.05);
776+
box-shadow: 0 8px 25px var(--shadow);
777+
}
778+
722779
.about-content p {
723780
color: var(--text-secondary);
724781
line-height: 1.6;

assets/images/avatar.svg

Lines changed: 28 additions & 0 deletions
Loading

assets/images/favicon.svg

Lines changed: 9 additions & 0 deletions
Loading

assets/images/site.webmanifest

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "Real Coding Blog",
3+
"short_name": "RealCoding",
4+
"description": "실무에서 배운 개발 노하우와 기술적 인사이트를 공유합니다",
5+
"icons": [
6+
{
7+
"src": "/assets/images/android-chrome-192x192.png",
8+
"sizes": "192x192",
9+
"type": "image/png"
10+
},
11+
{
12+
"src": "/assets/images/android-chrome-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png"
15+
}
16+
],
17+
"theme_color": "#667eea",
18+
"background_color": "#0f1419",
19+
"display": "standalone",
20+
"start_url": "/",
21+
"scope": "/"
22+
}

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ <h3 class="post-title">
6868
<div class="sidebar-widget about-widget">
6969
<h3>About</h3>
7070
<div class="about-content">
71+
<div class="about-avatar">
72+
<img src="{{ '/assets/images/avatar.svg' | relative_url }}" alt="Kevin Park" class="avatar-image">
73+
</div>
7174
<p>실무 중심의 개발 이야기를 기록합니다. 문제 해결 과정과 배운 점들을 공유하며, 다른 개발자들에게 도움이 되고자 합니다.</p>
7275
<a href="/about" class="about-link">더 알아보기 →</a>
7376
</div>

0 commit comments

Comments
 (0)