Add initial Portal version

This commit is contained in:
2026-04-09 22:16:22 +02:00
commit d526c1ff4a
51 changed files with 10752 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
export function Card({
children,
className = "",
interactive = false,
}: {
children: React.ReactNode;
className?: string;
interactive?: boolean;
}) {
return (
<div
className={`
rounded-xl border border-border bg-surface-1 p-6
${interactive ? "card-interactive cursor-pointer" : ""}
${className}
`}
>
{children}
</div>
);
}
export function CardHeader({
children,
className = "",
}: {
children: React.ReactNode;
className?: string;
}) {
return (
<h3
className={`text-xs font-semibold uppercase tracking-wider text-text-muted mb-3 ${className}`}
>
{children}
</h3>
);
}