<template>
  <div class="avue-logo">
    <div class="logo-x">
      <div class="logo-img">
        <img src="../../../public/img/p-logo.png" />
      </div>
      <!-- <transition name="fade">
      <span v-if="getScreen(isCollapse)" class="avue-logo_subtitle" key="0">
        {{ website.logo }}
      </span>
    </transition> -->

      <transition-group name="fade">
        <template v-if="getScreen(!isCollapse)">
          <span class="avue-logo_title" key="1">{{ website.indexTitle }} </span>
        </template>
      </transition-group>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex';

export default {
  name: 'logo',
  data() {
    return {};
  },
  created() {},
  computed: {
    ...mapGetters(['isCollapse']),
  },
  methods: {},
};
</script>
<style lang="scss" scope>
.logo-img {
  img {
    width: 60px;
    height: 60px;
    margin-top: -5px;
  }
}
.logo-x {
  display: flex;
}
</style>
