From d254e4f8316b468730264728bcd8a626d603c888 Mon Sep 17 00:00:00 2001 From: Maciej Dobosz Date: Fri, 1 Dec 2023 12:50:53 +0100 Subject: [PATCH 01/20] Create a Workspace card --- src/languages/en.ts | 3 ++ src/languages/es.ts | 3 ++ src/pages/home/sidebar/SidebarLinks.js | 4 +++ .../card/WorkspaceCardCreateAWorkspace.tsx | 31 +++++++++++++++++++ src/styles/themes/default.ts | 2 +- 5 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 src/pages/workspace/card/WorkspaceCardCreateAWorkspace.tsx diff --git a/src/languages/en.ts b/src/languages/en.ts index 8f772f1260bb..b5a9261e9944 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -1492,6 +1492,9 @@ export default { benefit4: 'Customizable limits', addWorkEmail: 'Add work email address', checkingDomain: 'Hang tight! We are still working on enabling your Expensify Cards. Check back here in a few minutes.', + createAWorkspace: 'Create a workspace', + createAWorkspaceCopy: 'Manage business expenses, issue cards, send invoices, and more.', + createAWorkspaceCTA: 'Get Started', }, reimburse: { captureReceipts: 'Capture receipts', diff --git a/src/languages/es.ts b/src/languages/es.ts index 3887891299df..2f2244a9674a 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -1514,6 +1514,9 @@ export default { benefit4: 'Límites personalizables', addWorkEmail: 'Añadir correo electrónico de trabajo', checkingDomain: '¡Un momento! Estamos todavía trabajando para habilitar tu Tarjeta Expensify. Vuelve aquí en unos minutos.', + createAWorkspace: 'Crear un espacio de trabajo', + createAWorkspaceCopy: 'Administre gastos comerciales, emita tarjetas, envíe facturas y más.', + createAWorkspaceCTA: 'Comenzar', }, reimburse: { captureReceipts: 'Captura recibos', diff --git a/src/pages/home/sidebar/SidebarLinks.js b/src/pages/home/sidebar/SidebarLinks.js index 2aba742f157f..100d746f6524 100644 --- a/src/pages/home/sidebar/SidebarLinks.js +++ b/src/pages/home/sidebar/SidebarLinks.js @@ -19,6 +19,7 @@ import onyxSubscribe from '@libs/onyxSubscribe'; import SidebarUtils from '@libs/SidebarUtils'; import * as ReportActionContextMenu from '@pages/home/report/ContextMenu/ReportActionContextMenu'; import safeAreaInsetPropTypes from '@pages/safeAreaInsetPropTypes'; +import WorkspaceCardCreateAWorkspace from '@pages/workspace/card/WorkspaceCardCreateAWorkspace'; import * as StyleUtils from '@styles/StyleUtils'; import useTheme from '@styles/themes/useTheme'; import useThemeStyles from '@styles/useThemeStyles'; @@ -177,6 +178,9 @@ function SidebarLinks({onLinkClick, insets, optionListItems, isLoading, priority + + + +