<template>
  <div class="d-flex flex-column text-wrap">
    <div class="d-flex justify-start justify-md-end">
      <span class="d-none d-md-flex text-right thw-logo-font mr-2">
        {{ above }}
      </span>
      <v-img
        class="d-none d-sm-flex"
        max-width="56"
        max-height="56"
        :src="require('../assets/thw.svg')"
      />
    </div>
    <v-divider class="d-none d-md-block my-1" />
    <span class="d-none d-md-flex thw-logo-font">
      {{ below }}
    </span>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";

@Component
export default class THWLogo extends Vue {
  @Prop()
  public above!: string;

  @Prop()
  public below!: string;
}
</script>

<style scoped>
.flex-column {
  min-width: 250px;
  max-width: 250px;
}

.v-divider {
  border-width: 1px;
  border-color: white;
}

div.flex-column > div > span:first-child {
  font-size: 28px;
  line-height: 28px;
  align-items: center;
}

div.flex-column > span:last-child {
  font-size: 15px;
  line-height: 15px;
}
</style>