From 55e8c9a1bffbb40b08250dc618bcc261ea6cf04b Mon Sep 17 00:00:00 2001 From: Talgat Medetbekov Date: Fri, 5 Jan 2024 16:42:28 +0600 Subject: [PATCH] Add caution message --- public/images/icon/caution.svg | 5 +++++ src/components/Banner/Banner.js | 7 +++++++ src/components/Banner/Banner.scss | 9 +++++++++ src/components/Icon/Icon.js | 2 ++ 4 files changed, 23 insertions(+) create mode 100644 public/images/icon/caution.svg diff --git a/public/images/icon/caution.svg b/public/images/icon/caution.svg new file mode 100644 index 0000000..d8e1593 --- /dev/null +++ b/public/images/icon/caution.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/components/Banner/Banner.js b/src/components/Banner/Banner.js index 5c137e7..89bcbb5 100644 --- a/src/components/Banner/Banner.js +++ b/src/components/Banner/Banner.js @@ -1,5 +1,6 @@ import Container from '../Container' import GetWalletActions from '../GetWallet/GetWalletActions' +import Icon from '../Icon' import './Banner.scss' @@ -7,6 +8,12 @@ function Banner() { return (
+
+ + + Beware: Scammers are currently using the name Unstoppable Wallet on Telegram + +
{ return image('/images/icon/arrow-down.svg') case 'arrow-up': return image('/images/icon/arrow-up.svg') + case 'caution': + return image('/images/icon/caution.svg') // Buttons case 'google-play':