Skip to content

Commit 49f8dae

Browse files
committed
feat: add icon.
1 parent 560d0f2 commit 49f8dae

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
5+
<link rel="icon" type="image/png" href="/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>JustWiki</title>
88
</head>

frontend/public/favicon.png

268 KB
Loading

frontend/public/logo.png

542 KB
Loading

frontend/src/components/Layout/Layout.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export default function Layout({ children }) {
4949
<path d="M3 12h18M3 6h18M3 18h18" />
5050
</svg>
5151
</button>
52-
<Link to="/" className="font-bold text-lg text-text mr-4">JustWiki</Link>
52+
<Link to="/" className="flex items-center gap-1.5 font-bold text-lg text-text mr-4">
53+
<img src="/favicon.png" alt="" className="h-7 w-7" />
54+
JustWiki
55+
</Link>
5356
<div className="flex-1" />
5457

5558
{/* Search button */}

0 commit comments

Comments
 (0)