mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
Padronização de peso tipográfico em títulos, rótulos de seção, nomes de entidades e valores monetários em toda a interface. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
484 B
TypeScript
22 lines
484 B
TypeScript
import { cn } from "@/shared/utils/ui";
|
|
|
|
interface AuthHeaderProps {
|
|
title: string;
|
|
description?: string;
|
|
}
|
|
|
|
export function AuthHeader({ title, description }: AuthHeaderProps) {
|
|
return (
|
|
<div className={cn("flex flex-col gap-2.5")}>
|
|
<h1 className="text-2xl font-semibold tracking-tight text-card-foreground">
|
|
{title}
|
|
</h1>
|
|
{description ? (
|
|
<p className="max-w-md text-sm leading-6 text-muted-foreground">
|
|
{description}
|
|
</p>
|
|
) : null}
|
|
</div>
|
|
);
|
|
}
|