---
import Win98Window from '../win98window.astro';

const { title, projectName, id, layout = {} } = Astro.props;
const windowId = projectName || id;
---

<Win98Window
  title={title}
  id={windowId}
  layout
>
  <div
    id={`${windowId}-content`}
    style="font-size: 22px; resize: none; padding: 10px; height:100%; overflow-y: auto; padding-top: 0px;"
  >
    <slot/>
  </div>
</Win98Window>
