From 037718fb3f99a29db4cbcbc5b4db7de249188689 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 22 Jul 2024 12:22:39 -0600 Subject: [PATCH] Add links to docs and improve formatting --- .../settings/NotificationsSettingsView.tsx | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/web/src/views/settings/NotificationsSettingsView.tsx b/web/src/views/settings/NotificationsSettingsView.tsx index 67d4c5c2b..97e479d4d 100644 --- a/web/src/views/settings/NotificationsSettingsView.tsx +++ b/web/src/views/settings/NotificationsSettingsView.tsx @@ -21,6 +21,8 @@ import { zodResolver } from "@hookform/resolvers/zod"; import axios from "axios"; import { useCallback, useContext, useEffect, useState } from "react"; import { useForm } from "react-hook-form"; +import { LuExternalLink } from "react-icons/lu"; +import { Link } from "react-router-dom"; import { toast } from "sonner"; import useSWR from "swr"; import { z } from "zod"; @@ -188,6 +190,26 @@ export default function NotificationView({ Notification Settings +
+
+

+ Frigate can natively send push notifications to Frigate when it + is running in the browser or installed as a PWA. +

+
+ + Read the Documentation{" "} + + +
+
+
+
Email @@ -304,7 +326,7 @@ export default function NotificationView({ } }} > - {`${registration != null ? "Unregister" : "Register"} for Notifications`} + {`${registration != null ? "Unregister" : "Register"} for notifications on this device`}