Skip to content

Commit

Permalink
Merge pull request #33331 from dukenv0307/fix/27995
Browse files Browse the repository at this point in the history
Change icon for empty workspace view in new room page
  • Loading branch information
techievivek authored Dec 29, 2023
2 parents 972f7b4 + 5bf071d commit a27ee47
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 3 deletions.
79 changes: 79 additions & 0 deletions assets/images/product-illustrations/telescope.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/Icon/Illustrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 BigRocket from '@assets/images/simple-illustrations/simple-illustration__bigrocket.svg';
Expand Down Expand Up @@ -110,4 +111,5 @@ export {
Hands,
HandEarth,
SmartScan,
TeleScope,
};
6 changes: 3 additions & 3 deletions src/pages/workspace/WorkspaceNewRoomPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ function WorkspaceNewRoomPage(props) {
const renderEmptyWorkspaceView = () => (
<>
<BlockingView
icon={Illustrations.ToddBehindCloud}
iconWidth={variables.modalTopIconWidth}
iconHeight={variables.modalTopIconHeight}
icon={Illustrations.TeleScope}
iconWidth={variables.emptyWorkspaceIconWidth}
iconHeight={variables.emptyWorkspaceIconHeight}
title={translate('workspace.emptyWorkspace.notFound')}
subtitle={translate('workspace.emptyWorkspace.description')}
shouldShowLink={false}
Expand Down
2 changes: 2 additions & 0 deletions src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ export default {
avatarChatSpacing: 12,
chatInputSpacing: 52, // 40 + avatarChatSpacing
borderTopWidth: 1,
emptyWorkspaceIconWidth: 84,
emptyWorkspaceIconHeight: 84,
modalTopIconWidth: 200,
modalTopIconHeight: 164,
modalTopBigIconHeight: 244,
Expand Down

0 comments on commit a27ee47

Please sign in to comment.