From 4d8589402c08f1a86229bbb3bbf4a72313385d59 Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Wed, 20 Dec 2023 12:29:40 +0700 Subject: [PATCH 1/3] edit icon --- .../product-illustrations/telescope.svg | 79 +++++++++++++++++++ src/components/Icon/Illustrations.ts | 2 + src/pages/workspace/WorkspaceNewRoomPage.js | 2 +- 3 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 assets/images/product-illustrations/telescope.svg diff --git a/assets/images/product-illustrations/telescope.svg b/assets/images/product-illustrations/telescope.svg new file mode 100644 index 000000000000..95617c801789 --- /dev/null +++ b/assets/images/product-illustrations/telescope.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Icon/Illustrations.ts b/src/components/Icon/Illustrations.ts index 440350895826..afccabd546b2 100644 --- a/src/components/Icon/Illustrations.ts +++ b/src/components/Icon/Illustrations.ts @@ -25,6 +25,7 @@ import SafeBlue from '@assets/images/product-illustrations/safe.svg'; import SmartScan from '@assets/images/product-illustrations/simple-illustration__smartscan.svg'; import TadaBlue from '@assets/images/product-illustrations/tada--blue.svg'; import TadaYellow from '@assets/images/product-illustrations/tada--yellow.svg'; +import TeleScope from '@assets/images/product-illustrations/telescope.svg'; import ToddBehindCloud from '@assets/images/product-illustrations/todd-behind-cloud.svg'; import BankArrow from '@assets/images/simple-illustrations/simple-illustration__bank-arrow.svg'; import PinkBill from '@assets/images/simple-illustrations/simple-illustration__bill.svg'; @@ -100,4 +101,5 @@ export { Hands, HandEarth, SmartScan, + TeleScope, }; diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index 6f86e871e8ae..8703ebfd9496 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -231,7 +231,7 @@ function WorkspaceNewRoomPage(props) { const renderEmptyWorkspaceView = () => ( <> Date: Wed, 20 Dec 2023 17:15:55 +0700 Subject: [PATCH 2/3] update width and height of icon --- src/pages/workspace/WorkspaceNewRoomPage.js | 6 +++--- src/styles/variables.ts | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index 8703ebfd9496..9cd776b3b945 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -232,8 +232,8 @@ function WorkspaceNewRoomPage(props) { <> {({insets}) => - workspaceOptions.length === 0 ? ( + workspaceOptions.length === 0 || true ? ( renderEmptyWorkspaceView() ) : ( Date: Wed, 20 Dec 2023 17:20:43 +0700 Subject: [PATCH 3/3] revert change --- src/pages/workspace/WorkspaceNewRoomPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index 9cd776b3b945..f0c3d3ada0c2 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -259,7 +259,7 @@ function WorkspaceNewRoomPage(props) { testID={WorkspaceNewRoomPage.displayName} > {({insets}) => - workspaceOptions.length === 0 || true ? ( + workspaceOptions.length === 0 ? ( renderEmptyWorkspaceView() ) : (