Refina tema global e experiencia visual de auth

This commit is contained in:
Felipe Coutinho
2026-03-14 18:35:39 +00:00
parent 9fb3cc5ecd
commit 1e8e6e0d3d
14 changed files with 419 additions and 334 deletions

View File

@@ -2,14 +2,20 @@ import { cn } from "@/shared/utils/ui";
interface AuthHeaderProps {
title: string;
description?: string;
}
export function AuthHeader({ title }: AuthHeaderProps) {
export function AuthHeader({ title, description }: AuthHeaderProps) {
return (
<div className={cn("flex flex-col gap-1.5")}>
<h1 className="text-xl font-semibold tracking-tight text-card-foreground">
<div className={cn("flex flex-col gap-2")}>
<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>
);
}