Merge pull request '添加GlobalError页面' (#40) from feat-20240118 into main

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/40
This commit is contained in:
yezian 2024-02-06 01:05:25 +08:00
commit 2f500e2cab
1 changed files with 23 additions and 0 deletions

23
app/global-error.jsx Normal file
View File

@ -0,0 +1,23 @@
"use client";
export default function GlobalError({ error, reset }) {
return (
<html
lang="zh-CN"
className="bg-[#07050A]"
data-prefers-color-scheme="dark"
>
<body className="box-border min-h-screen flex flex-col">
<section className="flex flex-1 flex-col container py-4">
<div className="mt-24 flex flex-col gap-2">
<h1 className="text-white text-2xl font-semibold text-center">
请打开微信扫码支付
<br />
完成支付后关闭此页面即可
</h1>
</div>
</section>
</body>
</html>
);
}