Skip to content

Open-source status page, incident response and uptime monitoring

feat(icons): add ntfy brand icon (#2778)

Sandip Godhanicc2c065db135
diff --git a/apps/dashboard/src/data/notifications.client.ts b/apps/dashboard/src/data/notifications.client.ts
index c8418fe03..4c97077ae 100644
--- a/apps/dashboard/src/data/notifications.client.ts
+++ b/apps/dashboard/src/data/notifications.client.ts
@@ -1,16 +1,10 @@
-import {
- Notification,
- Settings,
- Email,
- Chat,
- Delete,
- Webhook,
-} from "@openstatus/icons";
+import { Settings, Email, Chat, Delete, Webhook } from "@openstatus/icons";
import {
DiscordIcon,
GoogleIcon,
GrafanaIcon,
MicrosoftTeamsIcon,
+ NtfyIcon,
TelegramIcon,
WhatsappIcon,
} from "@openstatus/icons/brand";
@@ -112,7 +106,7 @@ export const config = {
form: FormPagerDuty,
},
ntfy: {
- icon: Notification, // TODO: add svg icon
+ icon: NtfyIcon,
label: "Ntfy",
form: FormNtfy,
},
diff --git a/packages/icons/src/brand/index.tsx b/packages/icons/src/brand/index.tsx
index cc46bd571..4e36c7d98 100644
--- a/packages/icons/src/brand/index.tsx
+++ b/packages/icons/src/brand/index.tsx
@@ -22,3 +22,4 @@ export * from "./linkedin";
export * from "./bluesky";
export * from "./youtube";
export * from "./openstatus";
+export * from "./ntfy";
diff --git a/packages/icons/src/brand/ntfy.tsx b/packages/icons/src/brand/ntfy.tsx
new file mode 100644
index 000000000..0213c1238
--- /dev/null
+++ b/packages/icons/src/brand/ntfy.tsx
@@ -0,0 +1,15 @@
+export function NtfyIcon(props: React.ComponentProps<"svg">) {
+ return (
+ <svg
+ role="img"
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ stroke="currentColor"
+ fill="currentColor"
+ {...props}
+ >
+ <title>ntfy</title>
+ <path d="M12.597 13.693v2.156h6.205v-2.156ZM5.183 6.549v2.363l3.591 1.901l.023.01l-.023.009l-3.591 1.901v2.35l.386-.211l5.456-2.969V9.729ZM3.659 2.037C1.915 2.037.42 3.41.42 5.154v.002L.438 18.73L0 21.963l5.956-1.583h14.806c1.744 0 3.238-1.374 3.238-3.118V5.154c0-1.744-1.493-3.116-3.237-3.117h-.001zm0 2.2h17.104c.613.001 1.037.447 1.037 1.017v10.517c0 .57-.424 1.017-1.037 1.017H5.666L3.659 19.34V5.254c0-.57.424-1.017 1.037-1.017Z" />
+ </svg>
+ );
+}