feat: add window controls & screen creation util

This commit is contained in:
Alois 2026-04-06 18:44:15 +01:00
commit a4822948d1
20 changed files with 149 additions and 61 deletions

View file

@ -0,0 +1,19 @@
import Controls from "@tensamin/tauri/controls";
export default function CreateScreen({
children,
}: {
children: React.ReactNode;
}) {
return (
<div
className="bg-background w-screen h-screen flex flex-col justify-center items-center"
data-tauri-drag-region
>
<>
<Controls className="fixed top-0 right-0 m-[7px] mr-[7.6px]! ring-foreground/15" />
{children}
</>
</div>
);
}