tiefen_space_web/app/not-found.jsx

22 lines
598 B
JavaScript

import React from "react";
import Image from "next/image";
import notFoundSvg from "@/public/svgs/illustatus.svg";
import Link from "next/link";
export default function NotFound() {
return (
<section className="flex flex-col container items-center">
<Image
className="w-full max-w-2xl mt-24"
priority
src={notFoundSvg}
alt=""
/>
<p className="text-2xl text-white font-semibold">404 当前页面不存在</p>
<Link href="/" className="mt-4 btn btn-primary text-white text-base">
返回首页
</Link>
</section>
);
}