<template>
  <div class="title-content">
    <h2 class="title">{{ title }}</h2>
    <div class="title-sub">{{ titleSub }}</div>
  </div>
</template>

<script>
export default {
  name: 'TitleContent',
  props: {
    title: {
      type: String,
      default: ''
    },
    titleSub: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss">
.title-content {
  .title {
    font-size: 34px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #262626;
  }
  .title-sub {
    text-align: center;
    margin: 10px auto 0;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #646A7E;
    line-height: 26px;
  }
}
</style>
