Skip to content

Commit

Permalink
feat: update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
p208p2002 committed Oct 26, 2024
1 parent f83f921 commit e9ad654
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
10 changes: 10 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta charset="zh-Hant" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta property="og:image" content="https://media.githubusercontent.com/media/p208p2002/blog/gh-pages/og.png" />
Expand Down
7 changes: 7 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
font-size: 32px;
}

#App h1 img{
display: inline;
height: 36px;
padding-bottom: 6px;
padding-right: 6px;
}

#App .home-page-title {
color: var(--text-1);
text-decoration: none;
Expand Down
5 changes: 1 addition & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ function App() {
<div style={{ marginTop: 40 }} className="text-center">
<h1>
<a href="/" className="home-page-title font-medium">
<span className='blog-icon'>
{'>_'}
</span>
&nbsp;
<img src="/icon.svg" alt="" srcSet="" />
{BLOG_NAME}
</a>
</h1>
Expand Down

0 comments on commit e9ad654

Please sign in to comment.