<template>
  <div class="head-info">
    <span>{{ title }}</span>
    <p>{{ content }}</p>
  </div>
</template>

<script>
export default {
  name: 'HeadInfo',
  // eslint-disable-next-line vue/require-prop-types
  props: ['title', 'content', 'bordered']
}
</script>

<style lang="less" scoped>
  .head-info{
    text-align: center;
    padding: 0 24px;
    flex-grow: 1;
    flex-shrink: 0;
    align-self: center;
    span{
      color: @text-color-second;
      display: inline-block;
      font-size: 14px;
      margin-bottom: 4px;
    }
    p{
      color: @text-color;
      font-size: 24px;
      margin: 0;
    }
  }
</style>
