From 82631a618779f3c67a036086789d9a198b66a5aa Mon Sep 17 00:00:00 2001 From: Jimmy Vo Date: Fri, 11 Apr 2025 13:24:43 -0400 Subject: [PATCH] [PM-19814] Add phishing icon --- .../images/phishing-landing-icon.ts | 33 +++++++++++++++++++ apps/browser/src/popup/app-routing.module.ts | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 apps/browser/src/phishing-detection/images/phishing-landing-icon.ts diff --git a/apps/browser/src/phishing-detection/images/phishing-landing-icon.ts b/apps/browser/src/phishing-detection/images/phishing-landing-icon.ts new file mode 100644 index 00000000000..91b76141164 --- /dev/null +++ b/apps/browser/src/phishing-detection/images/phishing-landing-icon.ts @@ -0,0 +1,33 @@ +import { svgIcon } from "@bitwarden/components"; + +export const PhishingLandingIcon = svgIcon` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; diff --git a/apps/browser/src/popup/app-routing.module.ts b/apps/browser/src/popup/app-routing.module.ts index 6cd2042e9ba..7f764eaee1a 100644 --- a/apps/browser/src/popup/app-routing.module.ts +++ b/apps/browser/src/popup/app-routing.module.ts @@ -41,7 +41,6 @@ import { DeviceVerificationIcon, UserLockIcon, VaultIcon, - BitwardenLogo, } from "@bitwarden/auth/angular"; import { LockComponent } from "@bitwarden/key-management-ui"; import { @@ -66,6 +65,7 @@ import { BlockedDomainsComponent } from "../autofill/popup/settings/blocked-doma import { ExcludedDomainsComponent } from "../autofill/popup/settings/excluded-domains.component"; import { NotificationsSettingsComponent } from "../autofill/popup/settings/notifications.component"; import { PremiumV2Component } from "../billing/popup/settings/premium-v2.component"; +import { PhishingLandingIcon } from "../phishing-detection/images/phishing-landing-icon"; import { LearnMoreComponent } from "../phishing-detection/pages/learn-more-component"; import { PhishingWarning } from "../phishing-detection/pages/phishing-warning"; import BrowserPopupUtils from "../platform/popup/browser-popup-utils"; @@ -710,7 +710,7 @@ const routes: Routes = [ }, ], data: { - pageIcon: BitwardenLogo, + pageIcon: PhishingLandingIcon, pageTitle: "Phishing site detected", pageSubtitle: "Bitwarden has prevented this page from loading.",