- 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

@@ -0,0 +1,25 @@
import { Tabs, Tab, TabList, TabPanel } from "react-tabs";
import "react-tabs/style/react-tabs.css";
import Card from "../../../ui/Card";
import SystemConfig from "./SystemConfig";
import CardHeader from "../../../ui/CardHeader";
const Settings = () => {
return (
<div>
<Tabs>
<TabList>
<Tab>Systems</Tab>
</TabList>
<TabPanel>
<Card className="p-4">
<CardHeader title="System Configuration" />
<SystemConfig />
</Card>
</TabPanel>
</Tabs>
</div>
);
};
export default Settings;