Skip to content

Commit

Permalink
feat(#19): add a dashboard component containing the table and sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
mari1912 committed Jun 28, 2024
1 parent d6c269d commit f224830
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 134 deletions.
6 changes: 2 additions & 4 deletions dashboard/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import "./App.css";
import LateralMenu from "./components/SideMenu/SideMenu";
import Dashboard from "./components/Dashboard/Dashboard";

function App(): JSX.Element {
return (
<>
<div className="w-screen h-screen">
<LateralMenu />
<Dashboard />
</div>
</>
);
}

Expand Down
47 changes: 0 additions & 47 deletions dashboard/src/components/Button/Button.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions dashboard/src/components/Button/button.css

This file was deleted.

17 changes: 17 additions & 0 deletions dashboard/src/components/Dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import LateralMenu from "../LateralMenu/LateralMenu";
import TreeTable from "../Table/TreeTable";

const Dashboard = () : JSX.Element => {
return (
<div className="w-full h-full">
<div className="flex flex-row w-full">
<LateralMenu />
<div className="w-full px-16 pt-64">
<TreeTable />
</div>
</div>
</div>
);
};

export default Dashboard;
53 changes: 0 additions & 53 deletions dashboard/src/stories/Button.stories.ts

This file was deleted.

0 comments on commit f224830

Please sign in to comment.