<script setup lang="ts">
// 404 页面
</script>

<template>
  <div class="error-page">
    <div class="error-content">
      <h1>404</h1>
      <p>页面不存在</p>
      <el-button type="primary" @click="$router.push('/')">返回首页</el-button>
    </div>
  </div>
</template>

<style scoped lang="scss">
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #0d0d12;
}

.error-content {
  text-align: center;

  h1 {
    color: #fff;
    font-size: 120px;
    margin: 0;
    line-height: 1;
  }

  p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 20px;
    margin: 16px 0 32px;
  }
}
</style>
