fix: clear commands after entering

This commit is contained in:
2025-01-17 16:54:53 +01:00
parent 6e82d9ca73
commit 6112d007c2
5 changed files with 28 additions and 21 deletions

View File

@@ -1,7 +1,5 @@
import { PageProps } from "$fresh/server.ts";
import { resources } from "@lib/resources.ts";
import { CSS, KATEX_CSS } from "gfm";
import { Head } from "$fresh/runtime.ts";
import { Emoji } from "@components/Emoji.tsx";
export default function MyLayout({ Component }: PageProps) {
@@ -10,10 +8,6 @@ export default function MyLayout({ Component }: PageProps) {
class="md:grid mx-auto"
style={{ gridTemplateColumns: "200px 1fr", maxWidth: "1024px" }}
>
<Head>
<style>{CSS}</style>
<style>{KATEX_CSS}</style>
</Head>
<aside class="p-4 hidden md:block">
<nav class="min-h-fit rounded-3xl p-3 grid gap-3 fixed t-0">
{Object.values(resources).map((m) => {