fix(knowledge): improve upload workflow and seed manufacturers

This commit is contained in:
Schubert Ferenc 2026-07-03 18:40:05 +02:00
parent 964b545bc5
commit 612e1ad8ed
13 changed files with 429 additions and 20 deletions

View file

@ -0,0 +1,19 @@
"use client";
import type { ReactNode } from "react";
type Props = {
title: string;
description: string;
action?: ReactNode;
};
export default function EmptyState({ title, description, action }: Props) {
return (
<div className="rounded-lg border bg-white p-8 text-center">
<h2 className="text-lg font-semibold text-slate-950">{title}</h2>
<p className="mx-auto mt-2 max-w-xl text-sm text-slate-500">{description}</p>
{action && <div className="mt-5 flex justify-center">{action}</div>}
</div>
);
}