Skip to content

Commit e9ad654

Browse files
committed
feat: update icon
1 parent f83f921 commit e9ad654

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

public/icon.svg

Lines changed: 10 additions & 0 deletions
Loading

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300&display=swap" rel="stylesheet">
5353
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
5454
<meta charset="zh-Hant" />
55-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
55+
<link rel="icon" href="%PUBLIC_URL%/icon.svg" />
5656
<meta name="viewport" content="width=device-width, initial-scale=1" />
5757
<meta name="theme-color" content="#000000" />
5858
<meta property="og:image" content="https://media.githubusercontent.com/media/p208p2002/blog/gh-pages/og.png" />

src/App.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
font-size: 32px;
2323
}
2424

25+
#App h1 img{
26+
display: inline;
27+
height: 36px;
28+
padding-bottom: 6px;
29+
padding-right: 6px;
30+
}
31+
2532
#App .home-page-title {
2633
color: var(--text-1);
2734
text-decoration: none;

src/App.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ function App() {
4444
<div style={{ marginTop: 40 }} className="text-center">
4545
<h1>
4646
<a href="/" className="home-page-title font-medium">
47-
<span className='blog-icon'>
48-
{'>_'}
49-
</span>
50-
&nbsp;
47+
<img src="/icon.svg" alt="" srcSet="" />
5148
{BLOG_NAME}
5249
</a>
5350
</h1>

0 commit comments

Comments
 (0)