<template>
  <div class="auth-layout">
    <div class="auth-layout__container">
      <AppLogo class="auth-layout__logo" />

      <div class="auth-layout__content">
        <slot />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import AppLogo from '@shared/components/AppLogo.vue'

defineOptions({
  name: 'AuthLayout',
})
</script>

<style lang="scss">
.auth-layout {
  display: flex;

  height: 100%;

  &__container {
    margin: auto;
    width: 100%;
    max-width: 440px;
  }

  &__logo {
    justify-self: center;
    margin-bottom: var(--space-6);
  }
}
</style>
