Add OTP login page and auth guard for client cabinet
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
const route = useRoute();
|
||||
const isLoginPage = computed(() => route.path === '/login');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="lk-shell">
|
||||
<AppHeader />
|
||||
<AppHeader v-if="!isLoginPage" />
|
||||
<main class="mx-auto w-full max-w-7xl p-4 md:p-6 lg:p-8">
|
||||
<NuxtPage />
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user