You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
338 B
17 lines
338 B
<template>
|
|
<TopNav v-if="!isAuthPage" />
|
|
<div class="page-content" :class="{ 'has-nav': !isAuthPage }">
|
|
<NuxtPage />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const route = useRoute()
|
|
const isAuthPage = computed(() => route.path.startsWith('/auth'))
|
|
</script>
|
|
|
|
<style>
|
|
.page-content.has-nav {
|
|
padding-top: 64px;
|
|
}
|
|
</style>
|
|
|