Move Navigation from NavDrawer to AppBar, redesign page structure and routes
This commit is contained in:
27
software/src/pages/account/loginPage/index.vue
Normal file
27
software/src/pages/account/loginPage/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import loginForm from './loginForm.vue';
|
||||
import registerForm from './registerForm.vue';
|
||||
|
||||
const showRegisterCard = ref(false)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-container max-width="500">
|
||||
<v-expand-transition>
|
||||
<v-row v-if="!showRegisterCard">
|
||||
<v-col>
|
||||
<login-form v-model:show-register-card="showRegisterCard" />
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-expand-transition>
|
||||
|
||||
<v-expand-transition>
|
||||
<v-row v-if="showRegisterCard">
|
||||
<v-col>
|
||||
<register-form v-model:show-register-card="showRegisterCard" />
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-expand-transition>
|
||||
</v-container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user