Added a weird little chat for shits and giggles

This commit is contained in:
2025-04-26 01:34:49 -06:00
parent a6a17e8969
commit 871000c333
9 changed files with 297 additions and 44 deletions

View File

@ -1,7 +1,12 @@
// islands/NavigationBar.tsx
import { useComputed, useSignal } from "@preact/signals";
import { useEffect } from "preact/hooks";
import { LuCodeXml, LuHouse, LuNotebookPen } from "@preact-icons/lu";
import {
LuCodeXml,
LuHouse,
LuMessageCircle,
LuNotebookPen,
} from "@preact-icons/lu";
interface NavigationBarProps {
currentPath: string;
@ -57,6 +62,7 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) {
</div>
</a>
</li>
<li>
<a
href="/posts"
@ -67,6 +73,7 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) {
</div>
</a>
</li>
<li>
<a
href="/projects"
@ -77,6 +84,17 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) {
</div>
</a>
</li>
<li>
<a
href="/chat"
class={currentPath.startsWith("/chat") ? "menu-active" : ""}
>
<div class="tooltip" data-tip="Chat">
<LuMessageCircle class="text-xl" />
</div>
</a>
</li>
</ul>
</div>
);