<script setup lang="ts">
const showStats = ref(false);
</script>

<template>
  <div
    :style="{
      display: 'flex',
      flexDirection: 'column',
      gap: '4px',
    }"
  >
    <div :style="{ display: 'flex', alignItems: 'center', gap: '4px' }">
      <input id="statsCheckbox" v-model="showStats" type="checkbox" />
      <label for="statsCheckbox">Stats</label>
    </div>

    <div>
      <HomeTopScreen>
        <Stats v-if="showStats" />
      </HomeTopScreen>
    </div>
    <div>
      <Screen>
        <HomeBottomScreen />
        <Stats v-if="showStats" />
      </Screen>
    </div>
  </div>
</template>
