2024-06-10 09:43:10 +00:00
|
|
|
"use client";
|
|
|
|
|
2024-05-03 17:42:44 +00:00
|
|
|
// ui
|
|
|
|
import { Loader } from "@plane/ui";
|
|
|
|
|
|
|
|
export const PageContentLoader = () => (
|
2024-05-26 11:07:10 +00:00
|
|
|
<div className="relative w-full h-full flex flex-col">
|
|
|
|
{/* header */}
|
2024-06-11 12:33:02 +00:00
|
|
|
<div className="px-16 flex-shrink-0 relative flex items-center justify-between h-12 border-b border-custom-border-100">
|
2024-05-26 11:07:10 +00:00
|
|
|
{/* left options */}
|
|
|
|
<Loader className="flex-shrink-0 w-[280px]">
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
|
|
|
|
{/* editor options */}
|
|
|
|
<div className="w-full relative flex items-center divide-x divide-custom-border-100">
|
|
|
|
<Loader className="relative flex items-center gap-1 pr-2">
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
<Loader className="relative flex items-center gap-1 px-2">
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
<Loader className="relative flex items-center gap-1 px-2">
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
<Loader className="relative flex items-center gap-1 pl-2">
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/* right options */}
|
|
|
|
<Loader className="w-full relative flex justify-end items-center gap-1">
|
|
|
|
<Loader.Item width="60px" height="26px" />
|
|
|
|
<Loader.Item width="40px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
<Loader.Item width="26px" height="26px" />
|
|
|
|
</Loader>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/* content */}
|
2024-06-11 12:33:02 +00:00
|
|
|
<div className="px-16 w-full h-full overflow-hidden relative flex">
|
2024-05-26 11:07:10 +00:00
|
|
|
{/* editor loader */}
|
|
|
|
<div className="w-full h-full py-5">
|
|
|
|
<Loader className="relative space-y-4">
|
|
|
|
<Loader.Item width="50%" height="36px" />
|
|
|
|
<div className="space-y-2">
|
|
|
|
<div className="py-2">
|
|
|
|
<Loader.Item width="100%" height="36px" />
|
|
|
|
</div>
|
|
|
|
<Loader.Item width="80%" height="22px" />
|
|
|
|
<div className="relative flex items-center gap-2">
|
|
|
|
<Loader.Item width="30px" height="30px" />
|
|
|
|
<Loader.Item width="30%" height="22px" />
|
|
|
|
</div>
|
|
|
|
<div className="py-2">
|
|
|
|
<Loader.Item width="60%" height="36px" />
|
|
|
|
</div>
|
|
|
|
<Loader.Item width="70%" height="22px" />
|
|
|
|
<Loader.Item width="30%" height="22px" />
|
|
|
|
<div className="relative flex items-center gap-2">
|
|
|
|
<Loader.Item width="30px" height="30px" />
|
|
|
|
<Loader.Item width="30%" height="22px" />
|
|
|
|
</div>
|
|
|
|
<div className="py-2">
|
|
|
|
<Loader.Item width="50%" height="30px" />
|
|
|
|
</div>
|
|
|
|
<Loader.Item width="100%" height="22px" />
|
|
|
|
<div className="py-2">
|
|
|
|
<Loader.Item width="30%" height="30px" />
|
|
|
|
</div>
|
|
|
|
<Loader.Item width="30%" height="22px" />
|
|
|
|
<div className="relative flex items-center gap-2">
|
|
|
|
<div className="py-2">
|
|
|
|
<Loader.Item width="30px" height="30px" />
|
|
|
|
</div>
|
|
|
|
<Loader.Item width="30%" height="22px" />
|
2024-05-03 17:42:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-26 11:07:10 +00:00
|
|
|
</Loader>
|
2024-05-03 17:42:44 +00:00
|
|
|
</div>
|
2024-05-26 11:07:10 +00:00
|
|
|
</div>
|
2024-05-03 17:42:44 +00:00
|
|
|
</div>
|
|
|
|
);
|