- added settings page - can post and get data from endpoint

- moved toaster to main page
- updated config for CORS
This commit is contained in:
2025-12-02 13:45:44 +00:00
parent ce79591de0
commit dbadc7388c
8 changed files with 241 additions and 6 deletions

View File

@@ -2,12 +2,14 @@ import { createRootRoute, Outlet } from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import Header from "../ui/Header";
import Footer from "../ui/Footer";
import { Toaster } from "sonner";
const RootLayout = () => (
<>
<Header />
<main className="p-4 min-h-screen">
<Outlet />
<Toaster />
</main>
<Footer />
<TanStackRouterDevtools position="bottom-right" />