<script setup>
const { menuOpen } = useMenuState()
</script>

<template>
  <div class="site-shell public-layout">
    <SiteHeader />
    <div class="site-content-grid public-layout__grid" :class="{ 'site-content-grid--menu-closed': !menuOpen }">
      <LeftSidebar v-show="menuOpen" />
      <main class="site-main w-full lg:w-[720px]" :class="{ 'site-main--menu-closed': !menuOpen }">
        <slot />
      </main>
      <RightSidebar />
    </div>
  </div>
</template>
