diff --git a/src/components/start/start.js b/src/components/start/start.js index 7211c49a..286824e8 100644 --- a/src/components/start/start.js +++ b/src/components/start/start.js @@ -141,7 +141,9 @@ export const StartMenu = () => {
{start.rcApps.slice(0, 6).map((app, i) => { return app.name ? ( -
+
{app.name}
diff --git a/src/components/start/startmenu.scss b/src/components/start/startmenu.scss index eb2c97fb..42103dd7 100644 --- a/src/components/start/startmenu.scss +++ b/src/components/start/startmenu.scss @@ -241,9 +241,8 @@ body[data-theme="dark"] .startMenu { .recApps { position: absolute; bottom: 0; - // margin-top: 12px; overflow: auto; - // max-height: calc(100% - 332px); + max-height: calc(100% - 332px); } .reApps { diff --git a/src/containers/applications/apps/settings.js b/src/containers/applications/apps/settings.js new file mode 100644 index 00000000..b8451bce --- /dev/null +++ b/src/containers/applications/apps/settings.js @@ -0,0 +1,33 @@ +import React, { useState, useEffect } from "react"; +import { useSelector, useDispatch } from "react-redux"; +import { Icon, Image, ToolBar } from "../../../utils/general"; + +import data from "./assets/settingsData.json"; + +export const Settings = () => { + const apps = useSelector((state) => state.apps); + const wnapp = useSelector((state) => state.apps.settings); + const [dpath, setPath] = useState(""); + const dispatch = useDispatch(); + + return ( +
+ +
+
+
Coming soon
+
+
+
+ ); +}; diff --git a/src/containers/applications/index.js b/src/containers/applications/index.js index fdbd3048..56e3451c 100644 --- a/src/containers/applications/index.js +++ b/src/containers/applications/index.js @@ -12,6 +12,7 @@ export * from './apps/terminal'; export * from './apps/notepad'; export * from './apps/calculator'; export * from './apps/explorer'; +export * from './apps/settings'; export * from './apps/about'; export * from './apps/spotify'; export * from './apps/discord'; diff --git a/src/containers/applications/wnapp.scss b/src/containers/applications/wnapp.scss index e16e879a..bb10bcb8 100644 --- a/src/containers/applications/wnapp.scss +++ b/src/containers/applications/wnapp.scss @@ -142,7 +142,7 @@ body[data-theme="dark"] .calcApp { background: #060606; } -.msfiles{ +.msfiles { --bg0: #edf2fe; --bg1: #ffffff; --bg2: #f5f5f5; @@ -153,7 +153,7 @@ body[data-theme="dark"] .calcApp { --focus-bg: rgba(0, 183, 255, 0.25); } -body[data-theme="dark"] .msfiles{ +body[data-theme="dark"] .msfiles { --bg0: #19212e; --bg1: #191919; --bg2: #1c1c1c; @@ -163,3 +163,14 @@ body[data-theme="dark"] .msfiles{ --hover-bg: rgba(136, 136, 136, 0.5); --focus-bg: rgba(228, 228, 228, 0.5); } + +.settingsApp { + --bg0: #eff4f9; + + background: var(--bg0); + color: var(--dark-txt); +} + +body[data-theme="dark"] .settingsApp { + --bg0: #202020; +} diff --git a/src/containers/background/back.scss b/src/containers/background/back.scss index 082c667c..dea23087 100644 --- a/src/containers/background/back.scss +++ b/src/containers/background/back.scss @@ -155,7 +155,7 @@ } .loader-svg { - stroke-width: 6px; + stroke-width: 8px; stroke-linecap: round; stroke: #fefefe; stroke-dasharray: 242; @@ -165,7 +165,7 @@ @keyframes fill-animation { 0% { stroke-dasharray: 40 242; - stroke-dashoffset: 0; + stroke-dashoffset: 282; } 50% { @@ -175,6 +175,6 @@ 100% { stroke-dasharray: 40 242; - stroke-dashoffset: 282; + stroke-dashoffset: 0; } } diff --git a/src/containers/background/index.js b/src/containers/background/index.js index 65d2e9b4..40a5e0fd 100644 --- a/src/containers/background/index.js +++ b/src/containers/background/index.js @@ -52,7 +52,7 @@ export const BootScreen = (props) => {
- +
diff --git a/src/utils/apps.js b/src/utils/apps.js index 3551ce17..4afe94d6 100644 --- a/src/utils/apps.js +++ b/src/utils/apps.js @@ -26,7 +26,8 @@ var apps = [{ { name: 'Settings', icon: 'settings', - type: 'app' + type: 'app', + action: 'SETTINGS' }, { name: 'File Explorer', diff --git a/src/utils/index.js b/src/utils/index.js index 89aa8bc0..fc335ab5 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -15,10 +15,10 @@ var { pinned: (localStorage.getItem("pinned") && JSON.parse(localStorage.getItem("pinned"))) || ["Browser", "Word", "PowerPoint", "OneNote", "Mail", "To Do", "Store", "Photos", "Buy me a coffee", "Notepad", "White Board", "Calculator", - "Spotify", "Twitter", "VS Code", "Terminal", "Github", "Discord" + "Spotify", "Twitter", "File Explorer", "Terminal", "Github", "Discord" ], recent: (localStorage.getItem("recent") && - JSON.parse(localStorage.getItem("recent"))) || ["Mail", "Twitter", "Terminal", "Github", "VS Code", "Spotify", "Edge"] + JSON.parse(localStorage.getItem("recent"))) || ["Mail", "Twitter", "Terminal", "Github", "File Explorer", "Spotify", "Edge"] }; if(desktop.includes("Buy me a coffee")==false){