Make data dynamic in workflow view. Add requester and startDate to workflows.

This commit is contained in:
Joao Correia
2025-01-24 14:14:07 +00:00
parent f6b0c96b3b
commit 41d09eaad8
10 changed files with 207 additions and 107 deletions

View File

@@ -0,0 +1,22 @@
import Image from "next/image";
interface Props {
prefix: string;
name: string;
profileImage: string;
}
export default function UserWithProfilePic({ prefix, name, profileImage }: Props) {
return (
<div className="flex items-center space-x-2">
<p className="text-xs font-medium text-gray-800">{prefix} {name}</p>
<Image
src={profileImage}
alt={name}
width={24}
height={24}
className="w-6 h-6 rounded-full"
/>
</div>
);
};