Skip to content

Commit 18030f3

Browse files
committed
更新导航栏:使用新的logo.png替换原有图标
1 parent e709e54 commit 18030f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/NavBar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { useTranslation } from 'react-i18next';
77
import { changeLanguage } from '../i18n';
88
// @ts-ignore
99
import faviconLogo from '../assets/favicon.png';
10+
// @ts-ignore
11+
import logoPng from '../assets/logo.png';
1012

1113
const {Header} = Layout;
1214
const {Title} = Typography;
@@ -73,7 +75,7 @@ const NavBar = () => {
7375
<Col className="logo-container" style={{ paddingLeft: '0px' }}>
7476
<Link to="/" style={{ display: 'flex', alignItems: 'center', height: '70px' }}>
7577
<img
76-
src={faviconLogo}
78+
src={logoPng}
7779
alt="Crawler LeetCode"
7880
style={{
7981
height: '46px',

0 commit comments

Comments
 (0)