@@ -36,16 +36,21 @@ export function PageTitle({
|
||||
);
|
||||
}
|
||||
export function Panel({
|
||||
id,
|
||||
title,
|
||||
description,
|
||||
children,
|
||||
}: {
|
||||
id?: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
children: ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<section className="rounded-xl border bg-card p-5 shadow-xs">
|
||||
<section
|
||||
id={id}
|
||||
className="scroll-mt-24 rounded-xl border bg-card p-5 shadow-xs"
|
||||
>
|
||||
<h2 className="font-semibold">{title}</h2>
|
||||
{description && (
|
||||
<p className="mt-1 text-sm text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user