+
+
+
+
+ Auto Launch
+
+
{
+ val ? await enable() : await disable();
+ setAutolaunchOn(val);
+ }}
+ enabled={autolaunchOn}
+ />
+
+
+
+ Auto-Wipe
+
+
{
+ invoke("set_auto_wipe").then((r: boolean) => setAutoWipeOn(r));
+ }}
+ enabled={autoWipeOn}
+ />
+
+
+
+
+ API Key
+
+
Enter your API key here:
+
+
+
+
+
+
+
+
+
+ Upload URL
+
+
+ Here, enter your upload url, this is useful if you are part of the
+ beta program or if you are a proxy user:
+
+
+
+
+
+
+
+ {setupCompleted ? (
+ <>>
+ ) : (
+
+
+ Initialize the uploader
+
+
+ The uploader will restart and live in your task bar, open the
+ settings from here from now on.
+
+
+
+
+
+
+
+ )}
+
+ );
+}
+
+export default SettingsCard;
diff --git a/src/pages/Sidebar.tsx b/src/pages/Sidebar.tsx
new file mode 100644
index 0000000..123cb44
--- /dev/null
+++ b/src/pages/Sidebar.tsx
@@ -0,0 +1,204 @@
+import { useRouter } from "next/router";
+import { useSidebar } from "../components/SidebarContext";
+import eztransparent from "../assets/eztransparent.png";
+
+export default function Sidebar({ page }: { page: string }) {
+ const router = useRouter();
+
+ const { minimized, setMinimized } = useSidebar();
+
+ function minimize() {
+ setMinimized(true);
+ }
+ function maximize() {
+ setMinimized(false);
+ }
+
+ return (
+ <>
+ {minimized ? (
+