2024-04-19 14:34:07 +03:00
|
|
|
import Heading from "@/components/ui/heading";
|
|
|
|
|
import { Label } from "@/components/ui/label";
|
|
|
|
|
import { Switch } from "@/components/ui/switch";
|
2024-04-27 20:02:01 +03:00
|
|
|
import { useEffect } from "react";
|
2024-04-19 14:34:07 +03:00
|
|
|
|
|
|
|
|
export default function General() {
|
2024-04-27 20:02:01 +03:00
|
|
|
useEffect(() => {
|
|
|
|
|
document.title = "General Settings - Frigate";
|
|
|
|
|
}, []);
|
|
|
|
|
|
2024-04-19 14:34:07 +03:00
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<Heading as="h2">Settings</Heading>
|
|
|
|
|
<div className="flex items-center space-x-2 mt-5">
|
|
|
|
|
<Switch id="lowdata" checked={false} onCheckedChange={() => {}} />
|
|
|
|
|
<Label htmlFor="lowdata">Low Data Mode (this device only)</Label>
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|