diff --git a/src/App.tsx b/src/App.tsx index d153560..6ffddb8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,29 +1,21 @@ -import { useRef, useState } from "react"; -import { invoke } from "@tauri-apps/api/core"; +import { useRef } from "react"; import Enclave from "@/app/app"; -import { Button } from "@/components/ui/button"; - -function App() { - const [greetMsg, setGreetMsg] = useState(""); - const [name, setName] = useState(""); +export default function App() { const appRef = useRef(null); if (!appRef.current) { appRef.current = new Enclave(); } - async function greet() { - // Learn more about Tauri commands at https://tauri.app/develop/calling-rust/ - setGreetMsg(await invoke("greet", { name })); - } - return ( -
-
- -
+
+
); } - -export default App; diff --git a/src/main.css b/src/main.css index fb3c7e9..417434b 100644 --- a/src/main.css +++ b/src/main.css @@ -7,7 +7,7 @@ @theme inline { --font-heading: var(--font-sans); - --font-sans: 'Geist Variable', sans-serif; + --font-sans: "Geist Variable", sans-serif; --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); @@ -118,13 +118,17 @@ } @layer base { - * { - @apply border-border outline-ring/50; + * { + @apply border-border outline-ring/50; } - body { - @apply bg-background text-foreground; + body { + @apply bg-background text-foreground; } - html { - @apply font-sans; + html { + @apply font-sans; } -} \ No newline at end of file +} + +body { + overflow: hidden; +}