feat(customers): add dashboard and customer management

This commit is contained in:
Schubert Ferenc 2026-07-02 23:37:46 +02:00
parent 694b7bd09a
commit 92cb8d1286
28 changed files with 2521 additions and 13 deletions

View file

@ -0,0 +1,19 @@
import type { ReactNode } from "react";
type Props = {
title: string;
actions?: ReactNode;
children: ReactNode;
};
export default function DetailSection({ title, actions, children }: Props) {
return (
<section className="rounded-lg border bg-white p-6">
<div className="mb-5 flex items-center justify-between gap-4">
<h2 className="text-lg font-semibold text-slate-950">{title}</h2>
{actions}
</div>
{children}
</section>
);
}