2025-02-04 00:37:14 +00:00
|
|
|
<script lang="ts">
|
2026-03-12 23:41:07 +00:00
|
|
|
import cx from "classnames"
|
|
|
|
|
import type {Snippet} from "svelte"
|
|
|
|
|
|
2025-02-04 00:37:14 +00:00
|
|
|
interface Props {
|
2026-03-12 23:41:07 +00:00
|
|
|
class?: string
|
|
|
|
|
children?: Snippet
|
2025-02-04 00:37:14 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-12 23:41:07 +00:00
|
|
|
const {children, ...props}: Props = $props()
|
2025-02-04 00:37:14 +00:00
|
|
|
</script>
|
|
|
|
|
|
2025-05-08 18:05:27 +00:00
|
|
|
<div
|
2026-03-12 23:41:07 +00:00
|
|
|
class={cx(
|
|
|
|
|
"ml-sai mt-sai mb-sai max-h-screen w-60 flex-shrink-0 flex-col gap-1 bg-base-300 z-nav hidden md:flex",
|
|
|
|
|
props.class,
|
|
|
|
|
)}>
|
2025-02-04 00:37:14 +00:00
|
|
|
{@render children?.()}
|
2024-08-16 18:12:14 +00:00
|
|
|
</div>
|