<template>
  <div class="container">
    <div class="welcome">
      <div class="text-container">
        <h1>Bienvenido/a {{ userName }}</h1>
        <br />
        <p>
          Su formulario se ha recibido correctamente debe confirmar su correo
          electronico para activar su cuenta.
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  computed: {
    userName() {
      return this.$route.params.name
    },
  },
}
</script>

<style lang="scss" scoped>
.welcome {
  position: relative;
  width: 100%;
  height: 600px;
  font-family: $font-primary;
  color: $color-navy;
  font-weight: $regular;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .text-container {
    max-width: 500px;
    p,
    h1 {
      text-align: center;
    }
  }
}
</style>
