From 190ccfa91fffe642c0ac64a8ffbf9e82616839c2 Mon Sep 17 00:00:00 2001
From: randomperson12344 <4dennisk@gmail.com>
Date: Tue, 23 Sep 2025 21:04:55 -0700
Subject: [PATCH] style: replace generic icons with Gotify and Ntfy brand logos
---
.../notifications/handle-notifications.tsx | 6 +-
.../notifications/show-notifications.tsx | 6 +-
.../components/icons/notification-icons.tsx | 69 +++++++++++++++++++
3 files changed, 77 insertions(+), 4 deletions(-)
diff --git a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
index 4e4171bee..4f5635b02 100644
--- a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
+++ b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
@@ -12,6 +12,8 @@ import { toast } from "sonner";
import { z } from "zod";
import {
DiscordIcon,
+ GotifyIcon,
+ NtfyIcon,
SlackIcon,
TelegramIcon,
} from "@/components/icons/notification-icons";
@@ -130,11 +132,11 @@ export const notificationsMap = {
label: "Email",
},
gotify: {
- icon: ,
+ icon: ,
label: "Gotify",
},
ntfy: {
- icon: ,
+ icon: ,
label: "ntfy",
},
};
diff --git a/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
index fe31acc4c..7cb1928d2 100644
--- a/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
+++ b/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
@@ -2,6 +2,8 @@ import { Bell, Loader2, Mail, MessageCircleMore, Trash2 } from "lucide-react";
import { toast } from "sonner";
import {
DiscordIcon,
+ GotifyIcon,
+ NtfyIcon,
SlackIcon,
TelegramIcon,
} from "@/components/icons/notification-icons";
@@ -85,12 +87,12 @@ export const ShowNotifications = () => {
)}
{notification.notificationType === "gotify" && (
-
+
)}
{notification.notificationType === "ntfy" && (
-
+
)}
diff --git a/apps/dokploy/components/icons/notification-icons.tsx b/apps/dokploy/components/icons/notification-icons.tsx
index 67104b209..0ae534fae 100644
--- a/apps/dokploy/components/icons/notification-icons.tsx
+++ b/apps/dokploy/components/icons/notification-icons.tsx
@@ -88,3 +88,72 @@ export const DiscordIcon = ({ className }: Props) => {
);
};
+
+export const GotifyIcon = ({ className }: Props) => {
+ return (
+
+ );
+};
+
+export const NtfyIcon = ({ className }: Props) => {
+ return (
+
+ );
+};