add register page (mockup)

This commit is contained in:
SRP-mango 2023-09-01 03:35:39 +07:00
parent 9b4b1a993c
commit 08779bfd73
5 changed files with 91 additions and 5 deletions

View file

@ -18,7 +18,7 @@
</v-container>
<v-btn @click.prevent="login">ลงชอเขาใช</v-btn>
<v-btn >นตองการสมครสมาช</v-btn>
<v-btn :to="{name: 'register'}">นตองการสมครสมาช</v-btn>
</v-main>
</v-app>
@ -26,7 +26,7 @@
</template>
<script>
// mango : i have a problem with css due to the icon theme so i make some mock up to testing login/register
import {RouterLink} from 'vue-router';
import TopBar from '@/components/TopBar.vue';
export default {
@ -36,7 +36,7 @@ export default {
name: 'Login',
data() {
return {
pageTitle: 'ตั้งค่าบัญชี', // Set the page title here
pageTitle: 'ลงชื่อเข้าใช้',
input: {
username: '',
password: ''
@ -45,7 +45,6 @@ export default {
},
methods: {
login() {
// Make sure username OR password are not empty
if (this.input.username !== '' || this.input.password !== '') {
console.log('Authenticated: Checking with Backend');
} else {