a lot of work, but i'd guess mostly api in the works

This commit is contained in:
2026-05-27 20:45:14 +02:00
parent 68458be71f
commit 50872d8951
22 changed files with 1425 additions and 1257 deletions
+19
View File
@@ -0,0 +1,19 @@
<script lang="ts">
import { Type } from '$lib/termos/filesystem/filesystem';
import { File, Folder } from '@lucide/svelte';
let {
nodeName,
nodeType,
isProject = true
}: { nodeName: string; nodeType: Type; isProject: boolean } = $props();
</script>
<div class=" flex flex-row items-center rounded-md bg-bg-lighter-dark p-2">
{#if nodeType == Type.Directory}
<Folder class="text-primary-dark" strokeWidth={1} />
{:else}
<File strokeWidth={1} />
{/if}
<h4 class={isProject ? 'text-primary-dark' : 'text-text-dark'}>{nodeName}</h4>
</div>