Files
zhilu-admin/frontend/src/views/NotFound.vue
2025-06-02 15:05:54 +08:00

21 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { RoutePath } from "../router/constants";
</script>
<template>
<main class="grid min-h-full place-items-center bg-white px-4 sm:px-6 lg:px-8 py-16 sm:py-24 md:py-32">
<div class="text-center">
<p class="text-lg sm:text-xl md:text-2xl font-semibold text-blue-700">404</p>
<h1 class="mt-4 text-3xl sm:text-5xl md:text-7xl font-semibold tracking-tight text-balance text-gray-900">Page not
found</h1>
<p class="mt-6 text-base sm:text-lg font-medium text-pretty text-gray-500">您访问的资源未找到请点击浏览器后退按钮返回</p>
<div class="mt-10 flex items-center justify-center gap-x-6">
<RouterLink :to="`${RoutePath.DASHBOARD}/${RoutePath.OVERVIEW}`"
class="rounded-md px-3.5 py-2.5 text-sm font-semibold bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 text-white shadow-xs focus-visible:outline-2 focus-visible:outline-offset-2">
回到主页</RouterLink>
<a href="#" class="text-sm font-semibold text-gray-900">联系我们<span aria-hidden="true">&rarr;</span></a>
</div>
</div>
</main>
</template>