frontend Login page createted
This commit is contained in:
parent
f4ce83b5c2
commit
8c2b45830e
3 changed files with 28 additions and 0 deletions
|
@ -35,6 +35,11 @@ const items = ref([
|
||||||
icon: 'pi pi-graduation-cap',
|
icon: 'pi pi-graduation-cap',
|
||||||
route: '/Student'
|
route: '/Student'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Login',
|
||||||
|
icon: 'pi pi-graduation-cap',
|
||||||
|
route: '/Login'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Projects',
|
label: 'Projects',
|
||||||
icon: 'pi pi-search',
|
icon: 'pi pi-search',
|
||||||
|
|
|
@ -23,6 +23,13 @@ const router = createRouter({
|
||||||
|
|
||||||
component: () => import('../views/StudentView.vue'),
|
component: () => import('../views/StudentView.vue'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/Login',
|
||||||
|
name: 'Login',
|
||||||
|
|
||||||
|
component: () => import('../views/LoginView.vue'),
|
||||||
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
16
frontend/src/views/LoginView.vue
Normal file
16
frontend/src/views/LoginView.vue
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<template>
|
||||||
|
<div class="Login">
|
||||||
|
<h1>This is the Login Page</h1>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.about {
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Add table
Reference in a new issue