Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-10-26 17:51:31 +07:00
co-authored by Claude Opus 5.5
commit 61d0a11dfa
371 changed files with 35836 additions and 0 deletions
@@ -0,0 +1,17 @@
"use client";
import { useRouter } from "next/navigation";
export function GoBackButton({ className = "" }: { className?: string }) {
const router = useRouter();
const goBack = () => {
if (window.history.length > 1) router.back();
else router.push("/");
};
return (
<button type="button" onClick={goBack} className={`cursor-pointer ${className}`}>
返回上一页
</button>
);
}