Skip to content

Commit 0563b01

Browse files
feat(ui): 블로그 브랜딩 전면 교체 (로고, 파비콘, 히어로 이미지)
- RealCoding 터미널 스타일 로고 이미지 적용 (헤더 텍스트 → 이미지 교체) - 라이트/다크모드 로고 필터 처리 (invert + hue-rotate) - 파비콘 세트 교체 (>| 심볼), 기존 SVG 파비콘 참조 제거 - 홈페이지 히어로 이미지 교체 (개발자 데스크 야경) - 소개 페이지 히어로 이미지 교체 (카페 코딩 분위기)
1 parent cc78aef commit 0563b01

10 files changed

Lines changed: 23 additions & 2 deletions

File tree

_includes/header.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
{% else %}
1212
<a href="{{ '/' | append: current_lang | append: '/' | relative_url }}" class="brand-link">
1313
{% endif %}
14-
<span class="brand-text">{{ lang_data.site.title }}</span>
14+
<img src="/assets/images/logo.png" alt="{{ lang_data.site.title }}" class="brand-logo">
15+
<span class="brand-text sr-only">{{ lang_data.site.title }}</span>
1516
</a>
1617
</div>
1718

_layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
<!-- Favicon -->
2424
<link rel="icon" type="image/x-icon" href="{{ '/assets/favicons/favicon.ico' | relative_url }}">
25-
<link rel="icon" type="image/svg+xml" href="{{ '/assets/favicons/icon.svg' | relative_url }}">
2625
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicons/apple-touch-icon.png' | relative_url }}">
2726
<link rel="icon" type="image/png" sizes="192x192" href="{{ '/assets/favicons/android-chrome-192x192.png' | relative_url }}">
2827
<link rel="icon" type="image/png" sizes="512x512" href="{{ '/assets/favicons/android-chrome-512x512.png' | relative_url }}">

assets/css/main.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,27 @@ a:hover {
252252
color: inherit;
253253
}
254254

255+
.brand-text.sr-only {
256+
position: absolute;
257+
width: 1px;
258+
height: 1px;
259+
padding: 0;
260+
margin: -1px;
261+
overflow: hidden;
262+
clip: rect(0,0,0,0);
263+
border: 0;
264+
}
265+
266+
.brand-logo {
267+
height: 28px;
268+
width: auto;
269+
filter: invert(1) hue-rotate(180deg);
270+
}
271+
272+
[data-theme="dark"] .brand-logo {
273+
filter: none;
274+
}
275+
255276
.main-nav {
256277
display: flex;
257278
align-items: center;
-8.48 KB
Loading
-83.2 KB
Loading
-2.84 KB
Loading

assets/favicons/favicon.ico

-6.94 KB
Binary file not shown.

assets/images/hero-about.jpg

115 KB
Loading

assets/images/hero-code.jpg

92.3 KB
Loading

assets/images/logo.png

21.4 KB
Loading

0 commit comments

Comments
 (0)