switch to go backend
All checks were successful
Build and Deploy Website / build (push) Successful in 2m26s

This commit is contained in:
2026-02-12 20:58:20 -08:00
parent 70ffdbe8d5
commit d093e4709f
45 changed files with 4298 additions and 865 deletions

17
Frontend/src/main.tsx Normal file
View File

@@ -0,0 +1,17 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { applyMode, Mode } from "@cloudscape-design/global-styles";
import App from "./App.tsx";
const darkQuery = window.matchMedia("(prefers-color-scheme: dark)");
applyMode(darkQuery.matches ? Mode.Dark : Mode.Light);
darkQuery.addEventListener("change", (e) => {
applyMode(e.matches ? Mode.Dark : Mode.Light);
});
createRoot(document.getElementById("root")!).render(
<StrictMode>
<App />
</StrictMode>,
);