Does this work?
This commit is contained in:
@ -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>
|
||||
|
@ -1,3 +1,4 @@
|
||||
import HomeButtonLinks from "../components/HomeButtonLinks.tsx";
|
||||
import SocialLinks from "../components/SocialLinks.tsx";
|
||||
import TechLinks from "../components/TechLinks.tsx";
|
||||
|
||||
@ -22,6 +23,8 @@ export default function Home() {
|
||||
<h2 class="text-2xl font-bold">Stuff I Use:</h2>
|
||||
|
||||
<TechLinks />
|
||||
|
||||
<HomeButtonLinks />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user