UI for workflow templates (#1715)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Shuchang Zheng
2025-02-04 21:40:55 +08:00
committed by GitHub
parent e2d3d7fec5
commit d34a403c8f
27 changed files with 673 additions and 330 deletions

View File

@@ -0,0 +1,17 @@
type Props = {
index: number;
description: string;
};
function NarrativeCard({ index, description }: Props) {
return (
<div className="flex h-32 w-52 flex-col gap-3 rounded-xl bg-slate-elevation1 p-4">
<div className="flex size-6 items-center justify-center rounded-full bg-slate-400 text-slate-950">
{index}
</div>
<div className="text-sm text-slate-300">{description}</div>
</div>
);
}
export { NarrativeCard };