From d20ba5e9f036d9b3f58fbdfee137f0e01ae6dfea Mon Sep 17 00:00:00 2001 From: Georgia Monahan Date: Thu, 17 Aug 2023 11:30:08 -0500 Subject: [PATCH 01/20] Add Mobile Banner Component, Styled (not functional) --- assets/images/expensify-app-icon.svg | 18 +++++ src/Expensify.js | 2 + src/components/MobileBanner/index.js | 108 +++++++++++++++++++++++++++ src/styles/styles.js | 5 ++ src/styles/utilities/spacing.js | 16 ++++ src/styles/variables.js | 1 + 6 files changed, 150 insertions(+) create mode 100644 assets/images/expensify-app-icon.svg create mode 100644 src/components/MobileBanner/index.js diff --git a/assets/images/expensify-app-icon.svg b/assets/images/expensify-app-icon.svg new file mode 100644 index 000000000000..a0adfe7dd952 --- /dev/null +++ b/assets/images/expensify-app-icon.svg @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/src/Expensify.js b/src/Expensify.js index c85c2862e96e..ecdb1a809152 100644 --- a/src/Expensify.js +++ b/src/Expensify.js @@ -31,6 +31,7 @@ import SplashScreenHider from './components/SplashScreenHider'; import KeyboardShortcutsModal from './components/KeyboardShortcutsModal'; import EmojiPicker from './components/EmojiPicker/EmojiPicker'; import * as EmojiPickerAction from './libs/actions/EmojiPickerAction'; +import MobileBanner from './components/MobileBanner'; // This lib needs to be imported, but it has nothing to export since all it contains is an Onyx connection // eslint-disable-next-line no-unused-vars @@ -191,6 +192,7 @@ function Expensify(props) { {/* We include the modal for showing a new update at the top level so the option is always present. */} + {true ? : null} {props.updateAvailable ? : null} {props.screenShareRequest ? ( + + + + + + {"Download the app"} + + + {"Keep the conversation going in New Expensify."} + + + + +