tiefen_space_h5/app/not-found.jsx

21 lines
637 B
React
Raw Normal View History

2024-06-24 22:12:13 +08:00
import React from "react";
import Link from "next/link";
export default function NotFound() {
return (
2024-12-17 17:31:50 +08:00
<section className="h-screen flex flex-col container justify-center items-center">
2024-06-24 22:12:13 +08:00
<img
2024-12-17 17:31:50 +08:00
className="w-full max-w-2xl"
2024-07-31 20:23:32 +08:00
src={process.env.NEXT_PUBLIC_WEB_ASSETS_URL + "/svgs/illustatus.svg"}
2024-06-24 22:12:13 +08:00
alt=""
/>
2024-12-17 17:31:50 +08:00
<div className="p-4 flex flex-col items-center">
<p className="text-2xl text-white font-semibold">404 当前页面不存在</p>
<Link href="/" className="mt-4 btn btn-primary text-white text-base">
返回首页
</Link>
</div>
2024-06-24 22:12:13 +08:00
</section>
);
}