22 lines
677 B
TypeScript
22 lines
677 B
TypeScript
import DraggablePanel from "@/components/DraggablePanel";
|
|
import DraggableWidget from "@/components/DraggableWidget";
|
|
import Logo from "@/components/Logo";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className="w-screen h-screen p-4">
|
|
<DraggablePanel draggable={true}>
|
|
<DraggableWidget draggable={false} x={0} y={0} w={10} h={10}>
|
|
<Logo />
|
|
</DraggableWidget>
|
|
<DraggableWidget draggable={false} x={10} y={0} w={10} h={10}>
|
|
<Logo />
|
|
</DraggableWidget>
|
|
<DraggableWidget draggable={false} x={0} y={10} w={10} h={10}>
|
|
<Logo />
|
|
</DraggableWidget>
|
|
</DraggablePanel>
|
|
</div>
|
|
);
|
|
}
|