diff --git a/frontend/app/App.jsx b/frontend/app/App.jsx index d2a254d..dab21a5 100644 --- a/frontend/app/App.jsx +++ b/frontend/app/App.jsx @@ -6,6 +6,7 @@ import { NavigationRail } from "@/app/components/NavigationRail/NavigationRail"; import { useEffect, useState } from "react"; import { ColorPicker } from "@/app/components/ColorPicker/ColorPicker"; import { useUserStore } from "./store/user-store"; +import Settings from "./components/Settings/Settings"; function setMode(mode) { localStorage.setItem("mode", mode); @@ -23,6 +24,7 @@ function getTheme() { export const App = (props) => { const [colorPicker, setColorPicker] = useState(false); + const [settingsPopup, setSettingsPopup] = useState(false); const userStore = useUserStore(); const theme = async (from) => { @@ -57,7 +59,9 @@ export const App = (props) => {
{colorPicker && ( { setColorPicker={setColorPicker} /> )} + {settingsPopup && }
{props.children}
diff --git a/frontend/app/components/NavigationRail/NavigationRail.jsx b/frontend/app/components/NavigationRail/NavigationRail.jsx index 3bd99bc..877bef0 100644 --- a/frontend/app/components/NavigationRail/NavigationRail.jsx +++ b/frontend/app/components/NavigationRail/NavigationRail.jsx @@ -78,7 +78,10 @@ export const NavigationRail = (props) => { })} - diff --git a/frontend/app/components/Settings/Settings.jsx b/frontend/app/components/Settings/Settings.jsx new file mode 100644 index 0000000..40d64be --- /dev/null +++ b/frontend/app/components/Settings/Settings.jsx @@ -0,0 +1,32 @@ +export default function Settings() { + return ( + <> + +
Настройки
+ +
  • + +
    + + ); +}