"use client"

import { useRouter } from "next/navigation"

const Home = () => {
  const router = useRouter()
  return (
    <main
      className="flex flex-col items-center justify-center w-full h-screen gap-6"
      data-tauri-drag-region
    >
      <h1 className="text-4xl font-bold tracking-wide text-zinc-800">
        CS 工具箱
      </h1>
      <button
        type="button"
        onClick={() => router.push("/home")}
        className="px-4 py-1 rounded bg-zinc-200"
      >
        进入
      </button>
    </main>
  )
}

export default Home
