standardize header, save all button for targets, fix update site on resource

This commit is contained in:
Milo Schwartz 2024-11-13 20:08:05 -05:00
parent cf3cf4d827
commit 44b932937f
No known key found for this signature in database
33 changed files with 577 additions and 397 deletions

View file

@ -1,15 +1,23 @@
type SettingsSectionTitleProps = {
title: string | React.ReactNode;
description: string | React.ReactNode;
size?: "2xl" | "1xl";
};
export default function SettingsSectionTitle({
title,
description,
size,
}: SettingsSectionTitleProps) {
return (
<div className="space-y-0.5 select-none mb-6">
<h2 className="text-2xl font-bold tracking-tight">{title}</h2>
<h2
className={`text-${
size ? size : "2xl"
} font-bold tracking-tight`}
>
{title}
</h2>
<p className="text-muted-foreground">{description}</p>
</div>
);