Add OTP login page and auth guard for client cabinet

This commit is contained in:
Ruslan Bakiev
2026-04-01 19:10:18 +07:00
parent b4537c1483
commit 1c4fd847dc
9 changed files with 605 additions and 1 deletions

View File

@@ -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>