[feat] use heroui + setup persistore + setup toast
todo: fix launchoption problem
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import Header from "@/components/window/Header"
|
||||
import Nav from "@/components/window/Nav"
|
||||
import SideBar from "@/components/window/SideBar"
|
||||
import clsx from "clsx"
|
||||
import { cn } from "@heroui/react"
|
||||
// import { platform } from "@tauri-apps/plugin-os"
|
||||
|
||||
export default function BaseLayout({
|
||||
@@ -11,7 +11,7 @@ export default function BaseLayout({
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<div className="w-full h-full bg-transparent">
|
||||
<div className="w-full h-full p-0 m-0 bg-transparent">
|
||||
{/* bg-[#f1f0f2] */}
|
||||
<Nav />
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function BaseLayout({
|
||||
<SideBar />
|
||||
|
||||
<main
|
||||
className={clsx(
|
||||
className={cn(
|
||||
"flex flex-col h-full pb-5 pr-5 ml-20 overflow-hidden",
|
||||
// platform() === "windows" ? "ml-20" : "ml-[4.25rem]"
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user