diff --git a/src/MainApp.tsx b/src/MainApp.tsx
index 05c0c49..9b0851b 100644
--- a/src/MainApp.tsx
+++ b/src/MainApp.tsx
@@ -3,7 +3,7 @@ import DesktopIcon from './components/DesktopIcon';
import Window from './components/Window';
import Sidebar from './components/Sidebar';
import './App.css';
-import VScodeApp from './apps/vscode/vscode';
+// import VScodeApp from './apps/vscode/vscode';
import YandexApp from './apps/yandex/Yandex';
import TerminalApp from './apps/terminal/Terminal';
@@ -49,12 +49,26 @@ const MainApp: React.FC = () => {
));
};
- const openVS = () => {
- openWindow('VS Code', , '💻', 'https://code.visualstudio.com');
- };
+// const openVS = () => {
+// openWindow('VS Code', , '💻', 'https://code.visualstudio.com');
+// };
+ const YandexIcon = () => (
+
+ );
const openYandex = () => {
- openWindow('Yandex', , '🌐', 'https://yandex.ru');
+ openWindow('Yandex', , 'Я', 'https://yandex.ru');
};
const openTerminal = () => {
@@ -68,13 +82,15 @@ const MainApp: React.FC = () => {
backgroundPosition: 'center',
width: '100%',
height: '100%',
- position: 'relative',
+ position: 'absolute',
+ // position: 'relative',
overflow: 'hidden'
}}>
-
-
-
+ {/* */}
+
+ {/* */}
+ {/* */}
{windows.map(window => !window.isMinimized && (
@@ -95,4 +111,4 @@ const MainApp: React.FC = () => {
);
};
-export default MainApp;
\ No newline at end of file
+export default MainApp;
diff --git a/src/components/DesktopIcon.tsx b/src/components/DesktopIcon.tsx
index 0f6b098..5ff89a9 100644
--- a/src/components/DesktopIcon.tsx
+++ b/src/components/DesktopIcon.tsx
@@ -1,7 +1,7 @@
import React from 'react';
interface DesktopIconProps {
- icon: string;
+ icon: string | any;
name: string;
onClick: () => void;
}