diff --git a/src/app/(dashboard)/flows/page.tsx b/src/app/(dashboard)/flows/page.tsx index 3cdc495..aff327a 100644 --- a/src/app/(dashboard)/flows/page.tsx +++ b/src/app/(dashboard)/flows/page.tsx @@ -245,7 +245,7 @@ export default function FlowsPage() { )} - + Create a new flow @@ -254,11 +254,11 @@ export default function FlowsPage() { {templates.length > 0 && ( -
+

Start from a template

-
+
{templates.map((t) => { const Icon = TEMPLATE_ICONS[t.icon] ?? FileText; return ( @@ -267,17 +267,17 @@ export default function FlowsPage() { type="button" onClick={() => handleUseTemplate(t.slug)} disabled={creating} - className="flex flex-col gap-2 rounded-lg border border-slate-800 bg-slate-950 p-3 text-left transition-colors hover:border-violet-500/40 hover:bg-slate-800 disabled:opacity-50" + className="flex flex-col gap-2.5 rounded-lg border border-slate-800 bg-slate-950 p-4 text-left transition-colors hover:border-violet-500/40 hover:bg-slate-800 disabled:opacity-50" > - - + + {t.name} - + {t.description} - - {t.node_count} nodes + + {t.node_count} {t.node_count === 1 ? "node" : "nodes"} ); @@ -286,7 +286,7 @@ export default function FlowsPage() {
)} -
+

Or start blank