<template>
  <div class="pc-header-lite">
    <div class="home-link">
      <img
        @click="toHome"
        src="@/assets/img/logo.png"
        alt="PromoCollection Logo"
        id="logo" />
    </div>
  </div>
</template>

<script>
// 仅带一个logo的轻量级页首组件
export default {
  name: 'PcHeaderLite',
  methods: {
    toHome() {
      location.href = location.origin
    },
  },
}
</script>

<style lang="scss" scoped>
.pc-header-lite {
  height: 92px;
  .home-link {
    cursor: pointer;
    position: relative;
    top: 0;
    left: -20px;
  }
}
</style>
