feat: loading ui 적용

This commit is contained in:
2025-04-03 09:37:25 +09:00
parent 483e0b319a
commit 6df605a184
4 changed files with 17 additions and 3 deletions
+2 -2
View File
@@ -215,8 +215,8 @@ function ImageForm({ form, imgSn, handleSave, handleDelete }: ImageFormProps) {
customPreview={
<>
<Label htmlFor="atflCd">
<div className="relative h-[27rem] w-[48rem] rounded-sm border border-border">
<p className="absolute left-0 top-0 p-2 text-base leading-none">
<div className="relative h-[27rem] w-[48rem] overflow-hidden rounded-sm border border-border bg-accent">
<p className="absolute bottom-3 left-0 p-2 text-base leading-none">
{(upload?.file as File)?.name}
</p>
<div></div>
+12
View File
@@ -0,0 +1,12 @@
import { Skeleton } from "@common/components/ui/skeleton";
function SkeletonPage() {
return (
<div className="flex flex-col gap-4 p-6">
<Skeleton className="h-[6rem] rounded-xl" />
<Skeleton className="h-[60rem] rounded-xl" />
</div>
);
}
export { SkeletonPage };