디렉터리 페이지 레이아웃 구현 및 디렉터리 생성 구현

This commit is contained in:
static
2025-01-02 08:49:51 +09:00
parent baf48579b8
commit 31081e5191
21 changed files with 403 additions and 38 deletions

View File

@@ -7,13 +7,12 @@
children: Snippet;
}
let { icon, children }: Props = $props();
let { icon: Icon, children }: Props = $props();
</script>
<div>
<div class="box-content flex min-h-[10vh] items-center pt-2">
{#if icon}
{@const Icon = icon}
{#if Icon}
<Icon class="text-5xl text-gray-600" />
{/if}
</div>