Client - init Login form
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="dashboard">
|
||||
<div id="dashboard">
|
||||
<p>TODO Dashboard</p>
|
||||
</div>
|
||||
</template>
|
||||
|
55
fittrackee_client/src/views/Login.vue
Normal file
55
fittrackee_client/src/views/Login.vue
Normal file
@ -0,0 +1,55 @@
|
||||
<template>
|
||||
<div id="login">
|
||||
<div class="container">
|
||||
<div class="container-sub">
|
||||
<BikePic />
|
||||
</div>
|
||||
<div class="container-sub">
|
||||
<LoginForm />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
import BikePic from '@/components/BikePic.vue'
|
||||
import LoginForm from '@/components/User/LoginForm.vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'NavBar',
|
||||
components: {
|
||||
BikePic,
|
||||
LoginForm,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '~@/scss/base';
|
||||
|
||||
#login {
|
||||
height: 84vh;
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
|
||||
.container-sub {
|
||||
min-width: 50%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $medium-limit) {
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
.container-sub {
|
||||
.bike-img {
|
||||
margin-top: $default-margin * 1.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user