Skip to content

Commit 0c6f26e

Browse files
committed
chore: Add icons, update docs
1 parent 841429d commit 0c6f26e

File tree

8 files changed

+78
-45
lines changed

8 files changed

+78
-45
lines changed

special-pages/pages/new-tab/app/freemium-pir-banner/components/FreemiumPIRBanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function FreemiumPIRBanner({ message, action, dismiss }) {
2020
return (
2121
<div id={message.id} class={cn(styles.root, styles.icon)}>
2222
<span class={styles.iconBlock}>
23-
<img src={`./icons/Information-Remover-96.svg`} alt="" />
23+
<img src={`./icons/PIR-96.svg`} alt="" />
2424
</span>
2525
<div class={styles.content}>
2626
{message.titleText && <h2 class={styles.title}>{message.titleText}</h2>}

special-pages/pages/new-tab/messages/types/rmf-message.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,14 @@
136136
"type": "string",
137137
"enum": [
138138
"Announce",
139-
"DDGAnnounce",
140-
"CriticalUpdate",
141139
"AppUpdate",
142-
"PrivacyPro",
143-
"DuckAi"
140+
"CriticalUpdate",
141+
"DDGAnnounce",
142+
"DuckAi",
143+
"PIR",
144+
"Radar",
145+
"RadarCheck",
146+
"Subscription"
144147
]
145148
}
146149
}

special-pages/pages/new-tab/public/icons/Information-Remover-96.svg renamed to special-pages/pages/new-tab/public/icons/PIR-96.svg

File renamed without changes.

special-pages/pages/new-tab/public/icons/PrivacyPro.svg

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 39 additions & 0 deletions
Loading

special-pages/pages/new-tab/types/new-tab.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,16 @@ export type NextStepsCards = {
103103
id: NextStepsCardTypes;
104104
}[];
105105
export type RMFMessage = SmallMessage | MediumMessage | BigSingleActionMessage | BigTwoActionMessage;
106-
export type RMFIcon = "Announce" | "DDGAnnounce" | "CriticalUpdate" | "AppUpdate" | "PrivacyPro" | "DuckAi";
106+
export type RMFIcon =
107+
| "Announce"
108+
| "AppUpdate"
109+
| "CriticalUpdate"
110+
| "DDGAnnounce"
111+
| "DuckAi"
112+
| "PIR"
113+
| "Radar"
114+
| "RadarCheck"
115+
| "Subscription";
107116

108117
/**
109118
* Requests, Notifications and Subscriptions from the NewTab feature

0 commit comments

Comments
 (0)