Client - init Login form

This commit is contained in:
Sam
2021-08-08 11:49:01 +02:00
parent 73915a1750
commit 68f6457c9d
18 changed files with 342 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="dashboard">
<div id="dashboard">
<p>TODO Dashboard</p>
</div>
</template>

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