<template>
  <TopNav v-if="!isAuthPage" />
  <div class="page-content">
    <NuxtPage />
  </div>
</template>

<script setup lang="ts">
const route = useRoute()
const isAuthPage = computed(() => route.path.startsWith('/auth'))
</script>

<style>
.page-content {
  /* TopNav is fixed, no space needed */
}
</style>
