Skip to content

Commit a7220ff

Browse files
committed
Add logo to desktop nav
1 parent d57e08b commit a7220ff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/components/TopMenu.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { JSX, createSignal, onMount, onCleanup } from "solid-js";
22
import { A, useLocation } from "@solidjs/router";
3+
import { Logo } from "./Logo";
34

45
export default function TopMenu(): JSX.Element {
56
const location = useLocation();
@@ -28,13 +29,15 @@ export default function TopMenu(): JSX.Element {
2829
<div class={`flex items-center justify-center h-16 ${scrolled() ? 'glass' : ''}`}>
2930
{/* Navigation Links */}
3031
<nav class="flex items-center space-x-10">
31-
{/* Home */}
32+
{/* Home with Logo */}
3233
<A
3334
href="/"
34-
class={`text-white hover:text-white/80 transition-all duration-75 font-bold text-lg ${isActive('/') ? 'underline' : ''}`}
35+
class={`text-white hover:text-white/80 transition-all duration-75 ${isActive('/') ? 'underline' : ''}`}
3536
aria-label="Home"
3637
>
37-
NixCon 2025
38+
<div class="w-8 h-8">
39+
<Logo />
40+
</div>
3841
</A>
3942

4043
<div class="text-white">|</div>

0 commit comments

Comments
 (0)