Initial pannel layout

This commit is contained in:
PxlLoewe
2025-03-25 23:38:44 -07:00
parent 6b09e3380e
commit 2b1fd83a97
7 changed files with 85 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
import { OpenButton } from "(dispatch)/_components/pannel/OpenButton";
import { Pannel } from "(dispatch)/_components/pannel/Pannel";
import MapToastCard2 from "(dispatch)/_components/toast/ToastCard";
import { usePannelStore } from "_store/pannelStore";
import { cn } from "helpers/cn";
import dynamic from "next/dynamic";
@@ -13,14 +14,15 @@ export default () => {
<div
className={cn(
"relative flex-1 flex transition-all duration-500 ease",
!isOpen && "w-[calc(100%+200px)]",
!isOpen && "w-[calc(100%+400px)]",
isOpen && "w-[100%]",
)}
>
{/* <MapToastCard2 /> */}
<Map>
<div className="flex-1 relative flex">
<OpenButton />
</Map>
<Map />
</div>
<Pannel />
</div>
);