<template>
  <main>
    <div class="login-container">
      <div class="login-aside">
        <img
          src="@/assets/images/_sila/built-on-openbmc-logo.svg"
          alt="Built on BMC"
        />
      </div>
      <div class="login-main">
        <h1>{{ $t('pageLogin.auth') }}</h1>
        <h3 class="h5 mb-4">{{ $t('pageLogin.authDescription') }}</h3>
        <router-view class="login=form form-background" />
      </div>
    </div>
  </main>
</template>

<script>
export default {
  name: 'LoginLayout',
};
</script>

<style lang="scss" scoped>
.login-container {
  background: $white;
  display: flex;
  flex-direction: row;
  min-width: 320px;
  min-height: 100vh;
  justify-content: flex-start;
}

.login-aside {
  min-height: 100vh;
  & > img {
    height: 100vh;
  }
}

.login-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  width: 30vw;
  margin: auto;
  padding: 0;
}
@media (max-width: 750px) {
  .login-aside {
    display: none;
  }
}
</style>
