<template>
  <div class="show-code">
    <h2 class="show-code__title">Zugangscode {{ type }} {{ name }}</h2>
    <h1 class="show-code__code">{{ code }}</h1>
  </div>
</template>

<script>
  export default {
    props: {
      code: {
        type: String,
        default: '',
      },
      type: {
        type: String,
        default: '',
      },
      name: {
        type: String,
        default: '',
      },
    },
  };
</script>

<style scoped lang="scss">
  @import '~styles/helpers';

  .show-code {
    &__title {
      @include regular-text;
      margin-bottom: 2*$large-spacing;
    }

    &__code {
      font-size: toRem(120px);
      letter-spacing: toRem(20px);
      font-weight: 600;
    }
  }
</style>
