<template>
  <div>
    <div class="nav-placeholder"></div>
    <div class="empty-page">
      <img src="@/assets/images/404.svg" />
      <h1>抱歉，您访问的页面不存在</h1>
      <NuxtLink to="/">点击这里返回上一页</NuxtLink>
    </div>
  </div>
</template>

<script setup lang="ts">
</script>

<style lang="scss">
@use '@/assets/scss/colors.scss' as *;

.empty-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: SourceHanSerifCNBold;
  min-height: 66vh;

  img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 2rem;
  }
  a {
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;

    &:hover {
      color: $primary-color;
    }
  }
}
</style>
