<template>
  <div class="home" :class="isMobile ? 'is-h5' : 'is-pc'">
    <div class="buttons">
      <a href="/home">Apply for SHMS MBA </a>
      <a href="https://certs.ezijing.com">Degree Inquiry</a>
    </div>
  </div>
</template>

<script>
export default {
  computed: {
    isMobile() {
      return this.$store.state.isMobile
    }
  }
}
</script>
<style lang="scss">
.home {
  position: relative;
  height: 100vh;
  min-height: 900px;
  background: url('~assets/images/home.png') no-repeat center top;
  background-size: auto 100%;
  .buttons {
    position: absolute;
    left: 50%;
    bottom: 294px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    row-gap: 44px;
  }
  a {
    width: 452px;
    height: 60px;
    font-family: Source Han Sans CN;
    font-size: 24px;
    text-align: center;
    line-height: 60px;
    color: #ffffff;
    border-radius: 66px;
    box-sizing: border-box;
    border: 2px solid #d5b329;
    background: url('~assets/images/button_arrow.png') no-repeat center right 20px;
    &.is-active,
    &:hover {
      color: #000;
      background: #d5b329 url('~assets/images/button_arrow_hover.png') no-repeat center right 20px;
    }
  }
}
.is-h5 {
  &.home {
    a {
      width: 320px;
    }
  }
}
</style>
