<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  name: "SystemInfo",
});
</script>

<script setup lang="ts">
import { info } from "@/config/index.ts";
const prefix = "_info-box";
</script>

<template>
  <div :class="prefix">
    <div :class="`${prefix}-icon`">
      <img :class="`${prefix}-icon-img`" :src="info.logo" />
    </div>
    <div :class="`${prefix}-title`">
      {{ info.title }}
    </div>
  </div>
</template>

<style lang="scss" scoped>
$prefix: "_info-box";

.#{$prefix} {
  display: flex;
  align-items: center;
  justify-content: center;
  &-icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    &-img {
      width: 100%;
      height: 100%;
    }
  }
  &-title {
    font-family:
      Source Han Sans CN,
      Source Han Sans CN;
    font-weight: 500;
    font-size: 20px;
    color: #1d2129;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
}
</style>
