Skip to content

Commit 4c2a350

Browse files
committed
style(navbar): enhance navbar layout and improve GitHub icon presentation
1 parent 8caa67e commit 4c2a350

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

src/layouts/navbar/navbar.layout.tsx

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,19 @@ export interface PageLink {
77

88
export function NavbarLayout(): JSX.Element {
99
return (
10-
<nav className="flex items-center justify-between px-4 py-2 mb-5 shadow-sm">
11-
<div className="flex items-center gap-1 ">
12-
<h1 className="text-3xl text-blue-400 font-[balooTamma] tracking-wide font-extrabold">
13-
Widgetify
14-
</h1>
15-
<p className="text-xs text-blue-400 font-[balooTamma] mt-1">v0</p>
16-
</div>
17-
<div>
18-
<a
19-
href="https://github.com/widgetify-app/widgetify-pwa"
20-
target="_blank"
21-
rel="noopener noreferrer"
22-
>
23-
<div className="hover:bg-[#333] p-2 rounded-md cursor-pointer">
24-
<FaGithub className="text-2xl text-gray-500" />
25-
</div>
26-
</a>
10+
<nav className="flex items-center justify-between px-5 py-3">
11+
<div className="flex items-center">
12+
<h1 className="text-2xl text-blue-400 font-[balooTamma]">Widgetify</h1>
2713
</div>
14+
15+
<a
16+
href="https://github.com/widgetify-app/widgetify-pwa"
17+
target="_blank"
18+
rel="noopener noreferrer"
19+
className="flex items-center justify-center w-10 h-10 bg-[#1e1e1e] rounded-xl text-gray-400 hover:text-gray-300 hover:bg-[#252525] transition-colors"
20+
>
21+
<FaGithub size={22} />
22+
</a>
2823
</nav>
2924
)
3025
}

0 commit comments

Comments
 (0)