We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc2e01 commit 73e85bdCopy full SHA for 73e85bd
public/logo.svg
src/components/NavBar.jsx
@@ -21,6 +21,7 @@ const NavBar = () => {
21
<header>
22
<nav>
23
<ul>
24
+ <li><Link to="/"><img src="../../public/logo.svg" alt="홈 아이콘" className={styles.logo}/></Link></li>
25
<li><Link to="/ranking">랭킹</Link></li>
26
<li><Link to="/statistics">통계</Link></li>
27
<li><Link to="/profile">내 정보</Link></li>
src/styles/NavBar.module.css
@@ -3,3 +3,9 @@
3
font-weight: 600; /* font-semibold */
4
font-size: 0.875rem; /* text-sm */
5
}
6
+
7
+.logo {
8
+ width: 100%;
9
+ height: auto;
10
+ max-width: 200px;
11
+}
0 commit comments