21 lines
637 B
JavaScript
21 lines
637 B
JavaScript
import React from "react";
|
|
import Link from "next/link";
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<section className="h-screen flex flex-col container justify-center items-center">
|
|
<img
|
|
className="w-full max-w-2xl"
|
|
src={process.env.NEXT_PUBLIC_WEB_ASSETS_URL + "/svgs/illustatus.svg"}
|
|
alt=""
|
|
/>
|
|
<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>
|
|
</section>
|
|
);
|
|
}
|