Responsive title

This commit is contained in:
Rihan 2022-05-17 01:15:23 +00:00
parent 1b2cc93d68
commit dff07a6f38

View File

@ -3,5 +3,5 @@ export interface TitleProps {
}
export function Title(props: TitleProps) {
return <h1 className="text-4xl font-bold text-white">{props.children}</h1>;
return <h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-white">{props.children}</h1>;
}