diff --git a/frontend/app/projects/[projectId]/folders/[folderId]/cases/[caseId]/case-attachments-editor.tsx b/frontend/app/projects/[projectId]/folders/[folderId]/cases/[caseId]/case-attachments-editor.tsx index 808b659..13d7d55 100644 --- a/frontend/app/projects/[projectId]/folders/[folderId]/cases/[caseId]/case-attachments-editor.tsx +++ b/frontend/app/projects/[projectId]/folders/[folderId]/cases/[caseId]/case-attachments-editor.tsx @@ -1,6 +1,6 @@ -import { Image, Button, Tooltip } from "@nextui-org/react"; +import { Image, Button, Tooltip, Card, CardBody } from "@nextui-org/react"; import { AttachmentType } from "./caseTypes"; -import { Trash } from "lucide-react"; +import { Trash, ArrowDownToLine } from "lucide-react"; type Props = { attachments: AttachmentType[]; @@ -32,45 +32,63 @@ export default function CaseAttachmentsEditor({ }); return ( <> - {images.map((image, index) => ( -
- {image.title} -
- - - -
-
- ))} +
+ {images.map((image, index) => ( + + + {image.title} +
+

{image.title}

+ + + +
+
+
+ ))} +
{others.map((file, index) => ( -
-
{file.title}
-
{file.path}
-
- - - -
-
+ + +
+

{file.title}

+
+ + + + + + +
+
+
+
))} );