add: preparation page setup

This commit is contained in:
purp1e
2024-09-21 01:05:40 +08:00
parent cb5a934fc7
commit d00c90b0f6
6 changed files with 60 additions and 29 deletions

View File

@@ -5,16 +5,16 @@ import { useRouter } from "next/navigation";
const Home = () => {
const router = useRouter();
return (
<main className="bg-[#f1f0f2] h-screen w-full flex flex-col gap-6 items-center justify-center">
<h1 className="text-4xl font-bold text-zinc-800">CS </h1>
<button
onClick={() => router.push("/home")}
className="px-4 py-1 rounded bg-zinc-200"
>
<main
className="bg-[#f1f0f2] h-screen w-full flex flex-col gap-6 items-center justify-center"
data-tauri-drag-region
>
<h1 className="text-4xl font-bold tracking-wide text-zinc-800">CS </h1>
<button onClick={() => router.push("/home")} className="px-4 py-1 rounded bg-zinc-200">
</button>
</main>
);
)
};
export default Home;