first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
import {ReactNode} from 'react';
interface Props {
id: string;
title: ReactNode;
titleSuffix?: ReactNode;
children: ReactNode;
actions?: ReactNode;
}
export function AccountSettingsPanel({
id,
title,
titleSuffix,
children,
actions,
}: Props) {
return (
<section
id={id}
className="mb-24 w-full rounded-panel border bg px-24 py-20"
>
<div className="flex items-center gap-14 border-b pb-10">
<div className="text-lg font-light">{title}</div>
{titleSuffix && <div className="ml-auto">{titleSuffix}</div>}
</div>
<div className="pt-24">{children}</div>
{actions && (
<div className="mt-36 flex justify-end border-t pt-10">{actions}</div>
)}
</section>
);
}