diff --git a/src/components/PageComponents/Connect/HTTP.tsx b/src/components/PageComponents/Connect/HTTP.tsx index 8d8e3e2d..19ca0897 100644 --- a/src/components/PageComponents/Connect/HTTP.tsx +++ b/src/components/PageComponents/Connect/HTTP.tsx @@ -1,6 +1,7 @@ import type { TabElementProps } from "@components/Dialog/NewDeviceDialog.tsx"; import { Button } from "@components/UI/Button.tsx"; import { Input } from "@components/UI/Input.tsx"; +import { Link } from "@components/UI/Typography/Link.tsx"; import { Label } from "@components/UI/Label.tsx"; import { Switch } from "@components/UI/Switch.tsx"; import { useAppStore } from "@core/stores/appStore.ts"; @@ -88,33 +89,29 @@ export const HTTP = ({ closeDialog }: TabElementProps) => { {connectionError && ( -
+
- +
-

+

Connection Failed

-

+

Could not connect to the device. {connectionError.secure && "If using HTTPS, you may need to accept a self-signed certificate first. "} Please open{" "} - {`${connectionError.secure ? "https" : "http"}://${connectionError.host}`} - {" "} + {" "} in a new tab{connectionError.secure ? ", accept any TLS warnings if prompted, then try again" : ""}.{" "} - Learn more - +