diff --git a/public/images/masterplan/compass.png b/public/images/masterplan/compass.png
index 6abf7cb..4a16dbb 100644
Binary files a/public/images/masterplan/compass.png and b/public/images/masterplan/compass.png differ
diff --git a/public/images/masterplan/help/1.png b/public/images/masterplan/help/1.png
new file mode 100644
index 0000000..350098f
Binary files /dev/null and b/public/images/masterplan/help/1.png differ
diff --git a/src/components/masterplanPage/TopPanel.tsx b/src/components/masterplanPage/TopPanel.tsx
index d3eccbe..f2dcbbd 100644
--- a/src/components/masterplanPage/TopPanel.tsx
+++ b/src/components/masterplanPage/TopPanel.tsx
@@ -1,12 +1,24 @@
+import useModal from "../../store/useModal";
import Button from "../Button";
import HintIcon from "../icons/HintIcon";
import ResizeIcon from "../icons/ResizeIcon";
+import HelpModal from "../modals/HelpModal";
const TopPanel = () => {
+ const { setModal } = useModal();
+
+ const handleOnHelpClick = () => {
+ setModal();
+ };
+
return (
+
+
+
+
+ Mockups are in the early stages of development and may differ
+ significantly from the final version.
+
+
}
onClick={handleOnDisclaimerClick}
/>
-

+
+
+

+
+
);
};
diff --git a/src/components/modals/Disclaimer.tsx b/src/components/modals/DisclaimerModal.tsx
similarity index 97%
rename from src/components/modals/Disclaimer.tsx
rename to src/components/modals/DisclaimerModal.tsx
index 4591fe9..b6f30b9 100644
--- a/src/components/modals/Disclaimer.tsx
+++ b/src/components/modals/DisclaimerModal.tsx
@@ -1,7 +1,7 @@
import useModal from "../../store/useModal";
import CrossIcon from "../icons/CrossIcon";
-const Disclaimer = () => {
+const DisclaimerModal = () => {
const { setModal } = useModal();
const handleOnCloseClick = () => {
setModal(null);
@@ -50,4 +50,4 @@ const Disclaimer = () => {
);
};
-export default Disclaimer;
+export default DisclaimerModal;
diff --git a/src/components/modals/HelpModal.tsx b/src/components/modals/HelpModal.tsx
new file mode 100644
index 0000000..4b76916
--- /dev/null
+++ b/src/components/modals/HelpModal.tsx
@@ -0,0 +1,63 @@
+import useModal from "../../store/useModal";
+import Button from "../Button";
+import CrossIcon from "../icons/CrossIcon";
+import LeftArrowSliderIcon from "../icons/LeftArrowSliderIcon";
+import RightArrowSliderIcon from "../icons/RightArrowSliderIcon";
+
+const HelpModal = () => {
+ const { setModal } = useModal();
+
+ const handleOnCloseClick = () => setModal(null);
+
+ return (
+
+
+
+
+
+ Tips for working
+
+ }
+ buttonType="fab"
+ onClick={handleOnCloseClick}
+ />
+
+

+
+
1. Workspace
+
+ For more comfortable work with the general plan, size it to the
+ full screen.
+
+
+
+
+
}
+ buttonType="fab"
+ className="text-black"
+ />
+
+
}
+ buttonType="fab"
+ className="text-black"
+ />
+
+
+
+ );
+};
+
+export default HelpModal;
diff --git a/src/components/modals/ZoomHint.tsx b/src/components/modals/ZoomHintModal.tsx
similarity index 98%
rename from src/components/modals/ZoomHint.tsx
rename to src/components/modals/ZoomHintModal.tsx
index 6e09ea3..9cec100 100644
--- a/src/components/modals/ZoomHint.tsx
+++ b/src/components/modals/ZoomHintModal.tsx
@@ -19,7 +19,6 @@ const ZoomHint = () => {
};
const handleClick = () => {
- console.log("first");
setIsTransparent(true);
const timeOut = setTimeout(() => {
diff --git a/src/pages/Masterplan.tsx b/src/pages/Masterplan.tsx
index 500179b..8cabdc3 100644
--- a/src/pages/Masterplan.tsx
+++ b/src/pages/Masterplan.tsx
@@ -1,6 +1,6 @@
import { useEffect } from "react";
import useModal from "../store/useModal";
-import ZoomHint from "../components/modals/ZoomHint";
+import ZoomHint from "../components/modals/ZoomHintModal";
import Map from "../components/masterplanPage/map/Map";
import TopPanel from "../components/masterplanPage/TopPanel";
import ButtomPanel from "../components/masterplanPage/map/ButtomPanel";