25 lines
521 B
TypeScript
25 lines
521 B
TypeScript
import { Poppins } from "next/font/google";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
|
const font = Poppins({
|
|
subsets: ["latin"],
|
|
weight: ["600"]
|
|
})
|
|
|
|
interface HeaderProps {
|
|
label: string
|
|
}
|
|
|
|
export const Header = ({ label }: HeaderProps) => {
|
|
return (
|
|
<div className="w-full flex flex-col gap-y-4 items-center justify-center">
|
|
<h1 className={cn(
|
|
"text-3xl font-semibold", font.className
|
|
)}>Login</h1>
|
|
<p className="text-muted-foreground text-sm">
|
|
{label}
|
|
</p>
|
|
</div>
|
|
)
|
|
} |