Skip to content

Commit 66b71f4

Browse files
committed
UPDATE:
1. showing the page icon side-by-side 2. using `code` HTML tag for monospace font of site name
1 parent 0ca08f9 commit 66b71f4

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

qubitverse/visualizer/src/components/Navbar.jsx

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,22 @@ const Navbar = () => {
1313

1414
return (
1515
<nav className="flex items-center justify-between px-6 py-4 bg-gray-100 dark:bg-gray-800 shadow">
16-
<h1 className="text-3xl font-bold text-gray-800 dark:text-white" style={{ userSelect: "none" }}><div style={{
17-
backgroundColor: "rgba(50, 61, 76, 0.5)",
18-
borderRadius: "5px",
19-
color: "#fff",
20-
padding: "10px 10px 10px 10px",
21-
cursor: "pointer"
22-
}}>QubitVerse</div></h1>
16+
<h1 className="text-3xl font-bold text-gray-800 dark:text-white" style={{ userSelect: "none" }}>
17+
<div style={{
18+
backgroundColor: "rgba(50, 61, 76, 0.2)",
19+
borderRadius: "8px",
20+
display: "flex",
21+
color: "#fff",
22+
padding: "10px 10px 10px 10px",
23+
cursor: "pointer",
24+
float: "left",
25+
justifyContent: "center",
26+
gap: "5px",
27+
alignItems: "center"
28+
}}>
29+
<img src="/icon.png" width={64} height={64}></img>
30+
<code>QubitVerse</code>
31+
</div></h1>
2332
<div className="flex items-center space-x-5">
2433
<button
2534
onClick={() => setDarkTheme((prev) => !prev)}

0 commit comments

Comments
 (0)