From ffe351d14f28bc5fde05591888bee33898484643 Mon Sep 17 00:00:00 2001 From: purp1e Date: Mon, 17 Mar 2025 00:50:03 +0800 Subject: [PATCH] init structure --- src/app/page.tsx | 39 ++------------ src/components/cstb/Prepare.tsx | 95 +++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+), 35 deletions(-) create mode 100644 src/components/cstb/Prepare.tsx diff --git a/src/app/page.tsx b/src/app/page.tsx index 9c09926..72073f5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,50 +1,19 @@ "use client" import Nav from "@/components/window/Nav" -import { Button } from "@heroui/react" -// import { open } from "@tauri-apps/plugin-dialog" -import { useRouter } from "next/navigation" -import React from "react" +import { Prepare } from "@/components/cstb/Prepare" const Home = () => { - const router = useRouter() - // const [file, setFile] = React.useState("") - // const openFile = async () => { - // const filePath = await open({ - // multiple: true, - // directory: false, - // }) - - // setFile(filePath?.join("\n") || " ") - // } return ( <>