Does this work?

This commit is contained in:
2025-04-24 12:03:03 -06:00
parent ee44847974
commit f33dc130b8
9 changed files with 203 additions and 14 deletions

View File

@ -1,7 +1,7 @@
// routes/_layout.tsx
import { PageProps } from "$fresh/server.ts";
import { Head } from "$fresh/runtime.ts";
import { LuBook, LuBriefcase, LuHouse } from "@preact-icons/lu";
import { LuCodeXml, LuHouse, LuNotebookPen } from "@preact-icons/lu";
export default function Layout({ Component, url }: PageProps) {
const currentPath = url.pathname;
@ -34,7 +34,7 @@ export default function Layout({ Component, url }: PageProps) {
class={currentPath.startsWith("/posts") ? "menu-active" : ""}
>
<div class="tooltip" data-tip="Posts">
<LuBook class="text-xl" />
<LuNotebookPen class="text-xl" />
</div>
</a>
</li>
@ -44,7 +44,7 @@ export default function Layout({ Component, url }: PageProps) {
class={currentPath.startsWith("/projects") ? "menu-active" : ""}
>
<div class="tooltip" data-tip="Projects">
<LuBriefcase class="text-xl" />
<LuCodeXml class="text-xl" />
</div>
</a>
</li>