Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: removing background from the welcome screen

Ilian Sapundshievf24df0d25c97
diff --git a/src/renderer/components/WelcomePanel.tsx b/src/renderer/components/WelcomePanel.tsx
index 22d6082b9..b551c4669 100644
--- a/src/renderer/components/WelcomePanel.tsx
+++ b/src/renderer/components/WelcomePanel.tsx
@@ -42,7 +42,6 @@ import {
KeyShortcutsIcon,
HelpIcon,
} from '-/components/CommonIcons';
-import { actions as AppActions, AppDispatch } from '-/reducers/app';
import { getDesktopMode } from '-/reducers/settings';
import Links from 'assets/links';
import { Pro } from '-/pro';
@@ -114,13 +113,6 @@ function WelcomePanel() {
const showDelete = false;
const maxRecentItems = 5;
- /*function triggerOpenLocation() {
- const button = document.getElementById(
- desktopMode ? 'locationMenuButton' : 'mobileMenuButton'
- );
- button.click();
- }*/
-
function renderRecentItems() {
return (
<Box style={{ display: 'flex', flexDirection: 'column' }}>
@@ -211,15 +203,6 @@ function WelcomePanel() {
>
<img src={WelcomeLogo} alt="Organize your files" />
</div>
- {/* <ListItem onClick={triggerOpenLocation}>
- <ListItemIcon>
- <LocalLocationIcon />
- </ListItemIcon>
- <ListItemText
- primary={t('core:chooseLocation')}
- className={classes.listItem}
- />
- </ListItem> */}
<ListItem onClick={() => openNewFileDialog()}>
<ListItemIcon>
<CreateFileIcon />
@@ -358,7 +341,7 @@ function WelcomePanel() {
height: '100%',
}}
>
- <div
+ {/* <div
style={{
backgroundColor: theme.palette.background.default,
backgroundImage: 'url(' + WelcomeBackground + ')',
@@ -370,7 +353,7 @@ function WelcomePanel() {
width: '100%',
height: '100%',
}}
- />
+ /> */}
<Grid
style={{
position: 'relative',