<template>
  <div class="account-exists-register default-text">
    <BaseText :html="true" class="register-users__text mb-m">
      {{ $_tr('infos') }}
    </BaseText>
    <Link href="password/reset" :inline="false" class="btn mb-s">
      {{ $_tr('modify') }}
    </Link>
    <Link href="login" :inline="false">{{ $_tr('backToLogin') }}</Link>
  </div>
</template>

<script>
import { BaseText } from 'inside-collection/atoms'
import { Link } from 'inside-collection/components'
/*
 * |
 * @module tryb-front
 * @type Component
 * @description Content page to explain to the user, that his account is already create
 */
export default {
  name: 'account-exists-register',
  $_i18nRootPath: 'customs.ACCOUNT_EXISTS_REGISTER',
  components: {
    BaseText,
    Link
  }
}
</script>

<style lang="scss" scoped>
.account-exists-register {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
</style>
