first commit
This commit is contained in:
23
app/src/pages/Project.tsx
Normal file
23
app/src/pages/Project.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import React from "react";
|
||||
import ModuleToggle from "../components/ui/ModuleToggle";
|
||||
import SideBarLeft from "../components/layout/sidebarLeft/SideBarLeft";
|
||||
import SideBarRight from "../components/layout/sidebarRight/SideBarRight";
|
||||
import useModuleStore from "../store/useModuleStore";
|
||||
import RealTimeVisulization from "../components/ui/componets/RealTimeVisulization";
|
||||
import Tools from "../components/ui/Tools";
|
||||
|
||||
const Project: React.FC = () => {
|
||||
const { activeModule } = useModuleStore();
|
||||
|
||||
return (
|
||||
<div className="project-main">
|
||||
<ModuleToggle />
|
||||
<SideBarLeft />
|
||||
<SideBarRight />
|
||||
{activeModule === "visualization" && <RealTimeVisulization />}
|
||||
<Tools />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Project;
|
||||
Reference in New Issue
Block a user