diff --git a/src/routes/settings.tsx b/src/routes/settings.tsx index f9becfd..8ba6bf5 100644 --- a/src/routes/settings.tsx +++ b/src/routes/settings.tsx @@ -1,7 +1,7 @@ import { createFileRoute } from "@tanstack/react-router"; import { useAtom, useAtomValue, useSetAtom } from "jotai"; import { Slider, Switch } from "radix-ui"; -import { useEffect,useState } from "react"; +import { useEffect, useState } from "react"; import { Header } from "~/components/Header"; import Login from "~/components/Login"; @@ -40,6 +40,17 @@ export function Settings() {
+ + + + + +
+ Service Endpoints + + Customize the servers to be used by the app + +
- + -

- please restart/refresh the app if changes arent applying correctly + /> +

+ Notice: Please restart/refresh the app if changes arent applying + correctly

); } +export function SettingHeading({ + title, + top, +}: { + title: string; + top?: boolean; +}) { + return ( +
+ + {title} + +
+ ); +} + export function SwitchSetting({ atom, title, @@ -105,23 +136,25 @@ export function SwitchSetting({ } return ( -
+
-
+
+ setValue(v)} - className="w-10 h-6 bg-gray-300 rounded-full relative data-[state=checked]:bg-blue-500 transition-colors" + className="m3switch root" > - +
); @@ -130,13 +163,13 @@ export function SwitchSetting({ function Hue() { const [hue, setHue] = useAtom(hueAtom); return ( -
- Hue -
- +
+ Hue + + Change the colors of the app + +
+