website/src/components/_window_layout.svelte

14 lines
311 B
Svelte
Raw Normal View History

2024-11-26 19:57:00 +03:00
<script lang="ts">
import Window from './window.svelte'
import '../styles/app.css'
export let title
export let sticky
export let prose = true
</script>
<Window {title} {sticky}>
<div class="{prose ? "prose prose-ralsei leading-6 prose-ul:leading-5" : ""}">
<slot />
</div>
</Window>