<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" type="checkbox" v-model="showStats" />
      <label for="statsCheckbox">Stats</label>
    </div>

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