Added a terminal

This commit is contained in:
2025-06-04 00:47:42 -06:00
parent 5b2c4b0ede
commit 3347ec2082
4 changed files with 829 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
import { useComputed, useSignal } from "@preact/signals";
import { useEffect } from "preact/hooks";
import { Home, NotebookPen, FileText, CodeXml } from 'lucide-preact';
import { Home, NotebookPen, FileText, CodeXml, Terminal as TerminalIcon } from 'lucide-preact';
interface NavigationBarProps {
currentPath: string;
@@ -132,6 +132,17 @@ export default function NavigationBar({ currentPath }: NavigationBarProps) {
</div>
</a>
</li>
<li class="mx-0.5 sm:mx-1">
<a
href="/terminal"
class={normalizedPath === "/terminal" ? "menu-active" : ""}
>
<div class="tooltip" data-tip="Terminal">
<TerminalIcon size={18} class="sm:w-5 sm:h-5" />
</div>
</a>
</li>
</ul>
</div>
</div>